diff --git a/ShopifyNet/Generated.cs b/ShopifyNet/Generated.cs index 2e82b6d..389df9b 100644 --- a/ShopifyNet/Generated.cs +++ b/ShopifyNet/Generated.cs @@ -1390,6 +1390,13 @@ public class App : GraphQLObject, INode [NonNull] public Image? banner { get; set; } + /// + ///The sales channels associated with this app. + /// + [Description("The sales channels associated with this app.")] + [NonNull] + public ChannelConnection? channels { get; set; } + /// ///Description of the app. /// @@ -1613,6 +1620,13 @@ public class AppCatalog : GraphQLObject, ICatalog, INode [NonNull] public AppConnection? apps { get; set; } + /// + ///The channels associated with the catalog. + /// + [Description("The channels associated with the catalog.")] + [NonNull] + public ChannelConnection? channels { get; set; } + /// ///A globally-unique ID. /// @@ -1999,6 +2013,12 @@ public class AppFeedback : GraphQLObject [NonNull] public App? app { get; set; } + /// + ///The channel this feedback is for. + /// + [Description("The channel this feedback is for.")] + public Channel? channel { get; set; } + /// ///The date and time when the app feedback was generated. /// @@ -2068,7 +2088,7 @@ public class AppInstallation : GraphQLObject, IHasMetafields, I ///Channel associated with the installed application. /// [Description("Channel associated with the installed application.")] - [Obsolete("Use `publication` instead.")] + [Obsolete("Use the root-level `channels` query instead.")] public Channel? channel { get; set; } /// @@ -2119,6 +2139,7 @@ public class AppInstallation : GraphQLObject, IHasMetafields, I ///The publication associated with the installed application. /// [Description("The publication associated with the installed application.")] + [Obsolete("Use the root-level `publications` query instead.")] public Publication? publication { get; set; } /// @@ -5544,9 +5565,9 @@ public enum BillingAttemptUserErrorCode [Description("Billing cycle must not be skipped.")] BILLING_CYCLE_SKIPPED, /// - ///Subscription contract is under review. + ///Subscription contract is under review, origin order is high risk and unfulfilled. /// - [Description("Subscription contract is under review.")] + [Description("Subscription contract is under review, origin order is high risk and unfulfilled.")] CONTRACT_UNDER_REVIEW, /// ///Subscription contract cannot be billed once terminated. @@ -6513,9 +6534,9 @@ public enum BulkOperationStatus [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. + ///The bulk operation is running. /// - [Description("The bulk operation is runnning.")] + [Description("The bulk operation is running.")] RUNNING, } @@ -6704,6 +6725,11 @@ public enum BulkProductResourceFeedbackCreateUserErrorCode [Description("The product wasn't found or isn't available to the channel.")] PRODUCT_NOT_FOUND, /// + ///The channel was not found or does not belong to this app. + /// + [Description("The channel was not found or does not belong to this app.")] + NOT_FOUND, + /// ///The input value is invalid. /// [Description("The input value is invalid.")] @@ -6730,6 +6756,7 @@ 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 NOT_FOUND = @"NOT_FOUND"; public const string INVALID = @"INVALID"; public const string BLANK = @"BLANK"; public const string PRESENT = @"PRESENT"; @@ -9297,6 +9324,1156 @@ public class CartTransformFeature : GraphQLObject public CartTransformEligibleOperations? eligibleOperations { get; set; } } + /// + ///The set of valid sort keys for the CashActivities query. + /// + [Description("The set of valid sort keys for the CashActivities query.")] + public enum CashActivitiesSortKeys + { + /// + ///Sort by the `id` value. + /// + [Description("Sort by the `id` value.")] + ID, + /// + ///Sort by the `time` value. + /// + [Description("Sort by the `time` value.")] + TIME, + } + + public static class CashActivitiesSortKeysStringValues + { + public const string ID = @"ID"; + public const string TIME = @"TIME"; + } + + /// + ///An activity on a cash drawer. + /// + [Description("An activity on a cash drawer.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CashAdjustmentActivity), typeDiscriminator: "CashAdjustmentActivity")] + [JsonDerivedType(typeof(CashCountActivity), typeDiscriminator: "CashCountActivity")] + [JsonDerivedType(typeof(CashTransactionActivity), typeDiscriminator: "CashTransactionActivity")] + public interface ICashActivity : IGraphQLObject + { + public CashAdjustmentActivity? AsCashAdjustmentActivity() => this as CashAdjustmentActivity; + public CashCountActivity? AsCashCountActivity() => this as CashCountActivity; + public CashTransactionActivity? AsCashTransactionActivity() => this as CashTransactionActivity; + /// + ///The amount of cash added or removed as part of the activity. + /// + [Description("The amount of cash added or removed as part of the activity.")] + [NonNull] + public MoneyV2? cash { get; } + + /// + ///The point of sale device payment session associated with the activity. + /// + [Description("The point of sale device payment session associated with the activity.")] + [NonNull] + public PointOfSaleDevicePaymentSession? paymentSession { get; } + + /// + ///The staff member who performed the activity. + /// + [Description("The staff member who performed the activity.")] + [NonNull] + public StaffMember? staffMember { get; } + + /// + ///The time at which the activity occurred. + /// + [Description("The time at which the activity occurred.")] + [NonNull] + public DateTime? time { get; } + } + + /// + ///An auto-generated type for paginating through multiple CashActivities. + /// + [Description("An auto-generated type for paginating through multiple CashActivities.")] + public class CashActivityConnection : 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; } + + /// + ///A list of nodes that are contained in CashActivityEdge. You can fetch data about an individual node, or you can 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 CashActivityEdge. You can fetch data about an individual node, or you can follow the edges to fetch data 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; } + } + + /// + ///An auto-generated type which holds one CashActivity and a cursor during pagination. + /// + [Description("An auto-generated type which holds one CashActivity and a cursor during pagination.")] + public class CashActivityEdge : 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; } + + /// + ///The item at the end of CashActivityEdge. + /// + [Description("The item at the end of CashActivityEdge.")] + [NonNull] + public ICashActivity? node { get; set; } + } + + /// + ///A cash adjustment activity. + /// + [Description("A cash adjustment activity.")] + public class CashAdjustmentActivity : GraphQLObject, ICashActivity + { + /// + ///The amount of cash added or removed as part of the activity. + /// + [Description("The amount of cash added or removed as part of the activity.")] + [NonNull] + public MoneyV2? cash { get; set; } + + /// + ///The gift card associated with the activity. + /// + [Description("The gift card associated with the activity.")] + public GiftCard? giftCard { get; set; } + + /// + ///A note associated with the activity. + /// + [Description("A note associated with the activity.")] + public string? note { get; set; } + + /// + ///The point of sale device payment session associated with the activity. + /// + [Description("The point of sale device payment session associated with the activity.")] + [NonNull] + public PointOfSaleDevicePaymentSession? paymentSession { get; set; } + + /// + ///The reason code for the activity. + /// + [Description("The reason code for the activity.")] + public ICashManagementReasonCode? reasonCode { get; set; } + + /// + ///The staff member who performed the activity. + /// + [Description("The staff member who performed the activity.")] + [NonNull] + public StaffMember? staffMember { get; set; } + + /// + ///The time at which the activity occurred. + /// + [Description("The time at which the activity occurred.")] + [NonNull] + public DateTime? time { get; set; } + + /// + ///The type of adjustment activity. + /// + [Description("The type of adjustment activity.")] + [NonNull] + [EnumType(typeof(CashAdjustmentActivityType))] + public string? type { get; set; } + } + + /// + ///The type of adjustment activity. + /// + [Description("The type of adjustment activity.")] + public enum CashAdjustmentActivityType + { + /// + ///A manual cash adjustment. + /// + [Description("A manual cash adjustment.")] + ADJUSTMENT, + /// + ///A cash payout, such as a gift card cash out. + /// + [Description("A cash payout, such as a gift card cash out.")] + CASH_PAYOUT, + /// + ///A closing adjustment. + /// + [Description("A closing adjustment.")] + CLOSING_ADJUSTMENT, + } + + public static class CashAdjustmentActivityTypeStringValues + { + public const string ADJUSTMENT = @"ADJUSTMENT"; + public const string CASH_PAYOUT = @"CASH_PAYOUT"; + public const string CLOSING_ADJUSTMENT = @"CLOSING_ADJUSTMENT"; + } + + /// + ///A cash count activity. + /// + [Description("A cash count activity.")] + public class CashCountActivity : GraphQLObject, ICashActivity + { + /// + ///The amount of cash added or removed as part of the activity. + /// + [Description("The amount of cash added or removed as part of the activity.")] + [NonNull] + public MoneyV2? cash { get; set; } + + /// + ///The amount of cash counted during the activity. + /// + [Description("The amount of cash counted during the activity.")] + [NonNull] + public MoneyV2? cashCounted { get; set; } + + /// + ///The discrepancy between the counted and expected cash amounts. + /// + [Description("The discrepancy between the counted and expected cash amounts.")] + [NonNull] + public MoneyV2? cashDiscrepancy { get; set; } + + /// + ///The expected amount of cash in the drawer at the time of the activity. + /// + [Description("The expected amount of cash in the drawer at the time of the activity.")] + [NonNull] + public MoneyV2? cashExpected { get; set; } + + /// + ///The point of sale device payment session associated with the activity. + /// + [Description("The point of sale device payment session associated with the activity.")] + [NonNull] + public PointOfSaleDevicePaymentSession? paymentSession { get; set; } + + /// + ///The staff member who performed the activity. + /// + [Description("The staff member who performed the activity.")] + [NonNull] + public StaffMember? staffMember { get; set; } + + /// + ///The time at which the activity occurred. + /// + [Description("The time at which the activity occurred.")] + [NonNull] + public DateTime? time { get; set; } + + /// + ///The type of count activity. + /// + [Description("The type of count activity.")] + [NonNull] + [EnumType(typeof(CashCountActivityType))] + public string? type { get; set; } + } + + /// + ///The type of count activity. + /// + [Description("The type of count activity.")] + public enum CashCountActivityType + { + /// + ///A count performed at the opening of a session. + /// + [Description("A count performed at the opening of a session.")] + OPENING, + /// + ///A count performed at the closing of a session. + /// + [Description("A count performed at the closing of a session.")] + CLOSING, + /// + ///A count performed during a session. + /// + [Description("A count performed during a session.")] + MID_SESSION, + } + + public static class CashCountActivityTypeStringValues + { + public const string OPENING = @"OPENING"; + public const string CLOSING = @"CLOSING"; + public const string MID_SESSION = @"MID_SESSION"; + } + + /// + ///A cash drawer for cash management. + /// + [Description("A cash drawer for cash management.")] + public class CashDrawer : GraphQLObject, INode + { + /// + ///The activities on the cash drawer. + /// + [Description("The activities on the cash drawer.")] + [NonNull] + public CashActivityConnection? cashActivities { get; set; } + + /// + ///A unique ID for the cash drawer. + /// + [Description("A unique ID for the cash drawer.")] + [NonNull] + public string? id { get; set; } + + /// + ///The location of the cash drawer. + /// + [Description("The location of the cash drawer.")] + [NonNull] + public Location? location { get; set; } + + /// + ///The name of the cash drawer. + /// + [Description("The name of the cash drawer.")] + [NonNull] + public string? name { get; set; } + + /// + ///The net sales for this cash drawer. + /// + [Description("The net sales for this cash drawer.")] + [NonNull] + public MoneyV2? netSales { get; set; } + + /// + ///The Point of Sale devices assigned to this cash drawer. + /// + [Description("The Point of Sale devices assigned to this cash drawer.")] + public PointOfSaleDeviceConnection? pointOfSaleDevices { get; set; } + + /// + ///The total adjustments for this cash drawer. + /// + [Description("The total adjustments for this cash drawer.")] + [NonNull] + public MoneyV2? totalAdjustments { get; set; } + + /// + ///The total discrepancies for this cash drawer. + /// + [Description("The total discrepancies for this cash drawer.")] + [NonNull] + public MoneyV2? totalDiscrepancies { get; set; } + + /// + ///The total refunds for this cash drawer. + /// + [Description("The total refunds for this cash drawer.")] + [NonNull] + public MoneyV2? totalRefunds { get; set; } + + /// + ///The total sales for this cash drawer. + /// + [Description("The total sales for this cash drawer.")] + [NonNull] + public MoneyV2? totalSales { get; set; } + } + + /// + ///An auto-generated type for paginating through multiple CashDrawers. + /// + [Description("An auto-generated type for paginating through multiple CashDrawers.")] + public class CashDrawerConnection : 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; } + + /// + ///A list of nodes that are contained in CashDrawerEdge. You can fetch data about an individual node, or you can 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 CashDrawerEdge. You can fetch data about an individual node, or you can follow the edges to fetch data 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; } + } + + /// + ///Return type for `cashDrawerCreate` mutation. + /// + [Description("Return type for `cashDrawerCreate` mutation.")] + public class CashDrawerCreatePayload : GraphQLObject + { + /// + ///The created cash drawer. + /// + [Description("The created cash drawer.")] + public CashDrawer? cashDrawer { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `CashDrawerCreate`. + /// + [Description("An error that occurs during the execution of `CashDrawerCreate`.")] + public class CashDrawerCreateUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(CashDrawerCreateUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `CashDrawerCreateUserError`. + /// + [Description("Possible error codes that can be returned by `CashDrawerCreateUserError`.")] + public enum CashDrawerCreateUserErrorCode + { + /// + ///Unexpected internal error happened. + /// + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, + /// + ///Failed to create cash drawer. + /// + [Description("Failed to create cash drawer.")] + NOT_SAVED, + /// + ///A cash drawer with this name already exists at the specified location. + /// + [Description("A cash drawer with this name already exists at the specified location.")] + CASH_DRAWER_ALREADY_EXISTS, + /// + ///The location was not found. + /// + [Description("The location was not found.")] + LOCATION_NOT_FOUND, + /// + ///The name provided is invalid. + /// + [Description("The name provided is invalid.")] + INVALID_NAME, + } + + public static class CashDrawerCreateUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string NOT_SAVED = @"NOT_SAVED"; + public const string CASH_DRAWER_ALREADY_EXISTS = @"CASH_DRAWER_ALREADY_EXISTS"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string INVALID_NAME = @"INVALID_NAME"; + } + + /// + ///The input fields for date and time range filter. + /// + [Description("The input fields for date and time range filter.")] + public class CashDrawerDateRangeInput : GraphQLObject + { + /// + ///The start of the date and time range. + /// + [Description("The start of the date and time range.")] + [NonNull] + public DateTime? from { get; set; } + + /// + ///The end of the date and time range. + /// + [Description("The end of the date and time range.")] + [NonNull] + public DateTime? to { get; set; } + } + + /// + ///An auto-generated type which holds one CashDrawer and a cursor during pagination. + /// + [Description("An auto-generated type which holds one CashDrawer and a cursor during pagination.")] + public class CashDrawerEdge : 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; } + + /// + ///The item at the end of CashDrawerEdge. + /// + [Description("The item at the end of CashDrawerEdge.")] + [NonNull] + public CashDrawer? node { get; set; } + } + + /// + ///Return type for `cashDrawerFindOrCreate` mutation. + /// + [Description("Return type for `cashDrawerFindOrCreate` mutation.")] + public class CashDrawerFindOrCreatePayload : GraphQLObject + { + /// + ///The cash drawer. + /// + [Description("The cash drawer.")] + public CashDrawer? cashDrawer { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `CashDrawerFindOrCreate`. + /// + [Description("An error that occurs during the execution of `CashDrawerFindOrCreate`.")] + public class CashDrawerFindOrCreateUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(CashDrawerFindOrCreateUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `CashDrawerFindOrCreateUserError`. + /// + [Description("Possible error codes that can be returned by `CashDrawerFindOrCreateUserError`.")] + public enum CashDrawerFindOrCreateUserErrorCode + { + /// + ///Unexpected internal error happened. + /// + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, + /// + ///Failed to find or create cash drawer. + /// + [Description("Failed to find or create cash drawer.")] + NOT_SAVED, + /// + ///The cash drawer assignment already exists. + /// + [Description("The cash drawer assignment already exists.")] + CASH_DRAWER_ASSIGNMENT_ALREADY_EXISTS, + /// + ///The location was not found. + /// + [Description("The location was not found.")] + LOCATION_NOT_FOUND, + /// + ///The point of sale device was not found. + /// + [Description("The point of sale device was not found.")] + POINT_OF_SALE_DEVICE_NOT_FOUND, + } + + public static class CashDrawerFindOrCreateUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string NOT_SAVED = @"NOT_SAVED"; + public const string CASH_DRAWER_ASSIGNMENT_ALREADY_EXISTS = @"CASH_DRAWER_ASSIGNMENT_ALREADY_EXISTS"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string POINT_OF_SALE_DEVICE_NOT_FOUND = @"POINT_OF_SALE_DEVICE_NOT_FOUND"; + } + + /// + ///The input fields for updating a cash drawer. + /// + [Description("The input fields for updating a cash drawer.")] + public class CashDrawerUpdateInput : GraphQLObject + { + /// + ///The new name for the cash drawer. + /// + [Description("The new name for the cash drawer.")] + [NonNull] + public string? name { get; set; } + } + + /// + ///Return type for `cashDrawerUpdate` mutation. + /// + [Description("Return type for `cashDrawerUpdate` mutation.")] + public class CashDrawerUpdatePayload : GraphQLObject + { + /// + ///The updated cash drawer. + /// + [Description("The updated cash drawer.")] + public CashDrawer? cashDrawer { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `CashDrawerUpdate`. + /// + [Description("An error that occurs during the execution of `CashDrawerUpdate`.")] + public class CashDrawerUpdateUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(CashDrawerUpdateUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `CashDrawerUpdateUserError`. + /// + [Description("Possible error codes that can be returned by `CashDrawerUpdateUserError`.")] + public enum CashDrawerUpdateUserErrorCode + { + /// + ///Unexpected internal error happened. + /// + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, + /// + ///Failed to update cash drawer. + /// + [Description("Failed to update cash drawer.")] + NOT_SAVED, + /// + ///The cash drawer was not found. + /// + [Description("The cash drawer was not found.")] + CASH_DRAWER_NOT_FOUND, + /// + ///A cash drawer with this name already exists at the specified location. + /// + [Description("A cash drawer with this name already exists at the specified location.")] + CASH_DRAWER_ALREADY_EXISTS, + /// + ///The name provided is invalid. + /// + [Description("The name provided is invalid.")] + INVALID_NAME, + } + + public static class CashDrawerUpdateUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string NOT_SAVED = @"NOT_SAVED"; + public const string CASH_DRAWER_NOT_FOUND = @"CASH_DRAWER_NOT_FOUND"; + public const string CASH_DRAWER_ALREADY_EXISTS = @"CASH_DRAWER_ALREADY_EXISTS"; + public const string INVALID_NAME = @"INVALID_NAME"; + } + + /// + ///Custom reason code. + /// + [Description("Custom reason code.")] + public class CashManagementCustomReasonCode : GraphQLObject, INode, ICashManagementReasonCode + { + /// + ///The code for the custom reason code. + /// + [Description("The code for the custom reason code.")] + [NonNull] + public string? code { get; set; } + + /// + ///A globally-unique ID. + /// + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + + /// + ///Default reason code. + /// + [Description("Default reason code.")] + public class CashManagementDefaultReasonCode : GraphQLObject, INode, ICashManagementReasonCode + { + /// + ///The code for the default reason code. + /// + [Description("The code for the default reason code.")] + [NonNull] + [EnumType(typeof(CashManagementDefaultReasonCodeEnum))] + public string? code { get; set; } + + /// + ///A globally-unique ID. + /// + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + + /// + ///Default reason codes for cash management. + /// + [Description("Default reason codes for cash management.")] + public enum CashManagementDefaultReasonCodeEnum + { + /// + ///Cash pickup. + /// + [Description("Cash pickup.")] + CASH_PICKUP, + /// + ///Cash count. + /// + [Description("Cash count.")] + CASH_COUNT, + /// + ///Change correction. + /// + [Description("Change correction.")] + CHANGE_CORRECTION, + /// + ///Petty cash. + /// + [Description("Petty cash.")] + PETTY_CASH, + /// + ///Tip payout. + /// + [Description("Tip payout.")] + TIP_PAYOUT, + /// + ///Cash payout. + /// + [Description("Cash payout.")] + CASH_PAYOUT, + } + + public static class CashManagementDefaultReasonCodeEnumStringValues + { + public const string CASH_PICKUP = @"CASH_PICKUP"; + public const string CASH_COUNT = @"CASH_COUNT"; + public const string CHANGE_CORRECTION = @"CHANGE_CORRECTION"; + public const string PETTY_CASH = @"PETTY_CASH"; + public const string TIP_PAYOUT = @"TIP_PAYOUT"; + public const string CASH_PAYOUT = @"CASH_PAYOUT"; + } + + /// + ///Reason code for cash management. + /// + [Description("Reason code for cash management.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CashManagementCustomReasonCode), typeDiscriminator: "CashManagementCustomReasonCode")] + [JsonDerivedType(typeof(CashManagementDefaultReasonCode), typeDiscriminator: "CashManagementDefaultReasonCode")] + [JsonDerivedType(typeof(CashManagementSystemReasonCode), typeDiscriminator: "CashManagementSystemReasonCode")] + public interface ICashManagementReasonCode : IGraphQLObject + { + public CashManagementCustomReasonCode? AsCashManagementCustomReasonCode() => this as CashManagementCustomReasonCode; + public CashManagementDefaultReasonCode? AsCashManagementDefaultReasonCode() => this as CashManagementDefaultReasonCode; + public CashManagementSystemReasonCode? AsCashManagementSystemReasonCode() => this as CashManagementSystemReasonCode; + /// + ///The code for the custom reason code. + /// + [Description("The code for the custom reason code.")] + [NonNull] + public string? code { get; set; } + + /// + ///A globally-unique ID. + /// + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + + /// + ///An auto-generated type for paginating through multiple CashManagementReasonCodes. + /// + [Description("An auto-generated type for paginating through multiple CashManagementReasonCodes.")] + public class CashManagementReasonCodeConnection : 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; } + + /// + ///A list of nodes that are contained in CashManagementReasonCodeEdge. You can fetch data about an individual node, or you can 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 CashManagementReasonCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data 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; } + } + + /// + ///Return type for `cashManagementReasonCodeCreate` mutation. + /// + [Description("Return type for `cashManagementReasonCodeCreate` mutation.")] + public class CashManagementReasonCodeCreatePayload : GraphQLObject + { + /// + ///The created cash management reason code. + /// + [Description("The created cash management reason code.")] + public CashManagementCustomReasonCode? reasonCode { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `CashManagementReasonCodeCreate`. + /// + [Description("An error that occurs during the execution of `CashManagementReasonCodeCreate`.")] + public class CashManagementReasonCodeCreateUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(CashManagementReasonCodeCreateUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `CashManagementReasonCodeCreateUserError`. + /// + [Description("Possible error codes that can be returned by `CashManagementReasonCodeCreateUserError`.")] + public enum CashManagementReasonCodeCreateUserErrorCode + { + /// + ///The reason code already exists. + /// + [Description("The reason code already exists.")] + CODE_ALREADY_EXISTS, + /// + ///Failed to create cash management reason code. + /// + [Description("Failed to create cash management reason code.")] + NOT_SAVED, + /// + ///The input value is blank. + /// + [Description("The input value is blank.")] + BLANK, + } + + public static class CashManagementReasonCodeCreateUserErrorCodeStringValues + { + public const string CODE_ALREADY_EXISTS = @"CODE_ALREADY_EXISTS"; + public const string NOT_SAVED = @"NOT_SAVED"; + public const string BLANK = @"BLANK"; + } + + /// + ///Return type for `cashManagementReasonCodeDelete` mutation. + /// + [Description("Return type for `cashManagementReasonCodeDelete` mutation.")] + public class CashManagementReasonCodeDeletePayload : GraphQLObject + { + /// + ///The deleted cash management reason code gid. + /// + [Description("The deleted cash management reason code gid.")] + 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; } + } + + /// + ///An error that occurs during the execution of `CashManagementReasonCodeDelete`. + /// + [Description("An error that occurs during the execution of `CashManagementReasonCodeDelete`.")] + public class CashManagementReasonCodeDeleteUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(CashManagementReasonCodeDeleteUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `CashManagementReasonCodeDeleteUserError`. + /// + [Description("Possible error codes that can be returned by `CashManagementReasonCodeDeleteUserError`.")] + public enum CashManagementReasonCodeDeleteUserErrorCode + { + /// + ///Reason code not found. + /// + [Description("Reason code not found.")] + NOT_FOUND, + /// + ///Database error occurred. + /// + [Description("Database error occurred.")] + DATABASE_ERROR, + /// + ///SYSTEM type reason codes are not deletable. + /// + [Description("SYSTEM type reason codes are not deletable.")] + NOT_DELETABLE, + } + + public static class CashManagementReasonCodeDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string DATABASE_ERROR = @"DATABASE_ERROR"; + public const string NOT_DELETABLE = @"NOT_DELETABLE"; + } + + /// + ///An auto-generated type which holds one CashManagementReasonCode and a cursor during pagination. + /// + [Description("An auto-generated type which holds one CashManagementReasonCode and a cursor during pagination.")] + public class CashManagementReasonCodeEdge : 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; } + + /// + ///The item at the end of CashManagementReasonCodeEdge. + /// + [Description("The item at the end of CashManagementReasonCodeEdge.")] + [NonNull] + public ICashManagementReasonCode? node { get; set; } + } + + /// + ///A summary of cash management data. + /// + [Description("A summary of cash management data.")] + public class CashManagementSummary : GraphQLObject + { + /// + ///The cumulative cash balance of all cash drawers at the provided end date. + /// + [Description("The cumulative cash balance of all cash drawers at the provided end date.")] + [NonNull] + public MoneyV2? cashBalanceAtEnd { get; set; } + + /// + ///The cumulative cash balance of all cash drawers at the provided start date. + /// + [Description("The cumulative cash balance of all cash drawers at the provided start date.")] + [NonNull] + public MoneyV2? cashBalanceAtStart { get; set; } + + /// + ///The net cash flow during the specified period (start date to end date). Calculated as net sales plus adjustments. + /// + [Description("The net cash flow during the specified period (start date to end date). Calculated as net sales plus adjustments.")] + [NonNull] + public MoneyV2? netCash { get; set; } + + /// + ///The number of sessions that were closed during the specified period (start date to end date). + /// + [Description("The number of sessions that were closed during the specified period (start date to end date).")] + [NonNull] + public int? sessionsClosed { get; set; } + + /// + ///The number of sessions that were opened during the specified period (start date to end date). + /// + [Description("The number of sessions that were opened during the specified period (start date to end date).")] + [NonNull] + public int? sessionsOpened { get; set; } + + /// + ///The total cash discrepancies during the specified period (start date to end date). + /// + [Description("The total cash discrepancies during the specified period (start date to end date).")] + [NonNull] + public MoneyV2? totalDiscrepancies { get; set; } + } + + /// + ///System reason code. + /// + [Description("System reason code.")] + public class CashManagementSystemReasonCode : GraphQLObject, INode, ICashManagementReasonCode + { + /// + ///The code for the system reason code. + /// + [Description("The code for the system reason code.")] + [NonNull] + [EnumType(typeof(CashManagementSystemReasonCodeEnum))] + public string? code { get; set; } + + /// + ///A globally-unique ID. + /// + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + + /// + ///System reason codes for cash management. + /// + [Description("System reason codes for cash management.")] + public enum CashManagementSystemReasonCodeEnum + { + /// + ///Float setup. + /// + [Description("Float setup.")] + FLOAT_SETUP, + /// + ///Cash payout. + /// + [Description("Cash payout.")] + CASH_PAYOUT, + /// + ///Other. + /// + [Description("Other.")] + OTHER, + } + + public static class CashManagementSystemReasonCodeEnumStringValues + { + public const string FLOAT_SETUP = @"FLOAT_SETUP"; + public const string CASH_PAYOUT = @"CASH_PAYOUT"; + public const string OTHER = @"OTHER"; + } + /// ///The rounding adjustment applied to total payment or refund received for an Order involving cash payments. /// @@ -9685,11 +10862,93 @@ public static class CashTrackingSessionsSortKeysStringValues public const string TOTAL_DISCREPANCY_DESC = @"TOTAL_DISCREPANCY_DESC"; } + /// + ///A cash transaction activity. + /// + [Description("A cash transaction activity.")] + public class CashTransactionActivity : GraphQLObject, ICashActivity + { + /// + ///The amount of cash added or removed as part of the activity. + /// + [Description("The amount of cash added or removed as part of the activity.")] + [NonNull] + public MoneyV2? cash { get; set; } + + /// + ///The order transaction associated with the activity. + /// + [Description("The order transaction associated with the activity.")] + [NonNull] + public OrderTransaction? orderTransaction { get; set; } + + /// + ///The point of sale device payment session associated with the activity. + /// + [Description("The point of sale device payment session associated with the activity.")] + [NonNull] + public PointOfSaleDevicePaymentSession? paymentSession { get; set; } + + /// + ///The staff member who performed the activity. + /// + [Description("The staff member who performed the activity.")] + [NonNull] + public StaffMember? staffMember { get; set; } + + /// + ///The time at which the activity occurred. + /// + [Description("The time at which the activity occurred.")] + [NonNull] + public DateTime? time { get; set; } + + /// + ///The type of transaction activity. + /// + [Description("The type of transaction activity.")] + [NonNull] + [EnumType(typeof(CashTransactionActivityType))] + public string? type { get; set; } + } + + /// + ///The type of transaction activity. + /// + [Description("The type of transaction activity.")] + public enum CashTransactionActivityType + { + /// + ///A cash sale. + /// + [Description("A cash sale.")] + SALE, + /// + ///A cash refund. + /// + [Description("A cash refund.")] + REFUND, + /// + ///Change given to a customer. + /// + [Description("Change given to a customer.")] + CHANGE, + } + + public static class CashTransactionActivityTypeStringValues + { + public const string SALE = @"SALE"; + public const string REFUND = @"REFUND"; + public const string CHANGE = @"CHANGE"; + } + /// ///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). + /// + ///Catalogs can optionally include a publication to control product visibility and a price list to customize pricing. When a publication isn't associated with a catalog, product availability is determined by the sales channel. /// - [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).")] + [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).\n\nCatalogs can optionally include a publication to control product visibility and a price list to customize pricing. When a publication isn't associated with a catalog, product availability is determined by the sales channel.")] [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] [JsonDerivedType(typeof(AppCatalog), typeDiscriminator: "AppCatalog")] [JsonDerivedType(typeof(CompanyLocationCatalog), typeDiscriminator: "CompanyLocationCatalog")] @@ -9833,9 +11092,9 @@ public class CatalogCreateInput : GraphQLObject public string? priceListId { get; set; } /// - ///The ID of the publication to associate to the catalog. + ///The ID of the publication to associate to the catalog. Only include this if you need to control which products are visible in the catalog. When omitted, product availability is determined by the sales channel. /// - [Description("The ID of the publication to associate to the catalog.")] + [Description("The ID of the publication to associate to the catalog. Only include this if you need to control which products are visible in the catalog. When omitted, product availability is determined by the sales channel.")] public string? publicationId { get; set; } } @@ -10249,6 +11508,11 @@ public enum CatalogUserErrorCode [Description("The price list is currently being modified. Please try again later.")] PRICE_LIST_LOCKED, /// + ///The catalog context is currently being modified. Please try again later. + /// + [Description("The catalog context is currently being modified. Please try again later.")] + CATALOG_CONTEXT_LOCKED, + /// ///Publication not found. /// [Description("Publication not found.")] @@ -10356,6 +11620,7 @@ public static class CatalogUserErrorCodeStringValues 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 CATALOG_CONTEXT_LOCKED = @"CATALOG_CONTEXT_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"; @@ -10375,13 +11640,27 @@ public static class CatalogUserErrorCodeStringValues } /// - ///An authenticated link to an external platform that supports syndication and optionally order ingestion, such as Facebook, Pinterest, an online store, or Point of Sale (POS). + ///A connection between a Shopify shop and an external selling platform that supports product syndication and optionally order ingestion. Each channel binds a merchant's account on a specific platform — such as Amazon, eBay, Google, or a point-of-sale system — to the shop, establishing the publishing destination for product feeds. /// - ///Each channel provides access to its underlying [`App`](https://shopify.dev/docs/api/admin-graphql/latest/objects/App), published products and collections, and [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) settings, as well as what features of the platform it supports such as [scheduled publishing](https://shopify.dev/docs/apps/build/sales-channels/scheduled-product-publishing). Use channels to manage where catalog items appear, track publication status across platforms, and control [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) visibility for different customer touchpoints. + ///Sales Channel applications use [`channelCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelCreate) to establish channels after merchant authentication, and can manage multiple channel connections per app. Each channel is bound to a channel specification that declares the platform's regional coverage, capabilities, and requirements. + /// + ///Use channels to manage where catalog items are syndicated, track publication status across platforms, and control [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) visibility for different selling destinations. /// - [Description("An authenticated link to an external platform that supports syndication and optionally order ingestion, such as Facebook, Pinterest, an online store, or Point of Sale (POS).\n\nEach channel provides access to its underlying [`App`](https://shopify.dev/docs/api/admin-graphql/latest/objects/App), published products and collections, and [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) settings, as well as what features of the platform it supports such as [scheduled publishing](https://shopify.dev/docs/apps/build/sales-channels/scheduled-product-publishing). Use channels to manage where catalog items appear, track publication status across platforms, and control [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) visibility for different customer touchpoints.")] + [Description("A connection between a Shopify shop and an external selling platform that supports product syndication and optionally order ingestion. Each channel binds a merchant's account on a specific platform — such as Amazon, eBay, Google, or a point-of-sale system — to the shop, establishing the publishing destination for product feeds.\n\nSales Channel applications use [`channelCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelCreate) to establish channels after merchant authentication, and can manage multiple channel connections per app. Each channel is bound to a channel specification that declares the platform's regional coverage, capabilities, and requirements.\n\nUse channels to manage where catalog items are syndicated, track publication status across platforms, and control [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) visibility for different selling destinations.")] public class Channel : GraphQLObject, INode { + /// + ///The unique account ID for the merchant on the external platform. This value is opaque to Shopify — its format is determined by the channel, such as an Amazon Seller ID or Google Merchant Center ID. + /// + [Description("The unique account ID for the merchant on the external platform. This value is opaque to Shopify — its format is determined by the channel, such as an Amazon Seller ID or Google Merchant Center ID.")] + public string? accountId { get; set; } + + /// + ///The merchant-facing name for the external account. Displayed in Shopify Admin wherever the channel connection is referenced, such as in Markets and order attribution. + /// + [Description("The merchant-facing name for the external account. Displayed in Shopify Admin wherever the channel connection is referenced, such as in Markets and order attribution.")] + public string? accountName { get; set; } + /// ///The underlying app used by the channel. /// @@ -10404,9 +11683,9 @@ public class Channel : GraphQLObject, INode public CollectionConnection? collections { get; set; } /// - ///The unique identifier for the channel. + ///A unique, human-readable identifier for the channel within the shop. Set during [`channelCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelCreate) or auto-generated from the specification handle and account ID. Use with [`channelByHandle`](https://shopify.dev/docs/api/admin-graphql/latest/queries/channelByHandle) for lookups. /// - [Description("The unique identifier for the channel.")] + [Description("A unique, human-readable identifier for the channel within the shop. Set during [`channelCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelCreate) or auto-generated from the specification handle and account ID. Use with [`channelByHandle`](https://shopify.dev/docs/api/admin-graphql/latest/queries/channelByHandle) for lookups.")] [NonNull] public string? handle { get; set; } @@ -10474,6 +11753,18 @@ public class Channel : GraphQLObject, INode [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; } + /// + ///The resource feedback for the channel. Returns `null` when no active feedback exists—for example, after `shopResourceFeedbackCreate` is called with `state: ACCEPTED`, which clears the feedback signal. A `null` result is expected and means the channel has no outstanding feedback. + /// + [Description("The resource feedback for the channel. Returns `null` when no active feedback exists—for example, after `shopResourceFeedbackCreate` is called with `state: ACCEPTED`, which clears the feedback signal. A `null` result is expected and means the channel has no outstanding feedback.")] + public AppFeedback? resourceFeedback { get; set; } + + /// + ///The handle of the [channel specification](https://shopify.dev/docs/apps/build/sales-channels/channel-config-extension) bound to this channel. The specification declares the channel's regional coverage, capabilities, and requirements, and is deployed by the Sales Channel application via `shopify app deploy`. + /// + [Description("The handle of the [channel specification](https://shopify.dev/docs/apps/build/sales-channels/channel-config-extension) bound to this channel. The specification declares the channel's regional coverage, capabilities, and requirements, and is deployed by the Sales Channel application via `shopify app deploy`.")] + public string? specificationHandle { get; set; } + /// ///Whether the channel supports future publishing. /// @@ -10510,6 +11801,111 @@ public class ChannelConnection : GraphQLObject, IConnectionWi public PageInfo? pageInfo { get; set; } } + /// + ///The input fields for creating a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). + /// + [Description("The input fields for creating a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel).")] + public class ChannelCreateInput : GraphQLObject + { + /// + ///A unique, human-readable identifier for the channel within the shop. For example, `amazon-us-A1B2C3D4E5F6G7`. Used for lookups via [`channelByHandle`](https://shopify.dev/docs/api/admin-graphql/latest/queries/channelByHandle). If not provided, auto-generated from the specification handle and account ID. Must be unique across all channels on the shop. + /// + [Description("A unique, human-readable identifier for the channel within the shop. For example, `amazon-us-A1B2C3D4E5F6G7`. Used for lookups via [`channelByHandle`](https://shopify.dev/docs/api/admin-graphql/latest/queries/channelByHandle). If not provided, auto-generated from the specification handle and account ID. Must be unique across all channels on the shop.")] + public string? handle { get; set; } + + /// + ///The handle of the [channel specification](https://shopify.dev/docs/apps/build/sales-channels/channel-config-extension) to bind to this channel. The specification must have been deployed by the calling application via `shopify app deploy`. Determines the channel's regional coverage, capabilities, and requirements. + /// + [Description("The handle of the [channel specification](https://shopify.dev/docs/apps/build/sales-channels/channel-config-extension) to bind to this channel. The specification must have been deployed by the calling application via `shopify app deploy`. Determines the channel's regional coverage, capabilities, and requirements.")] + [NonNull] + public string? specificationHandle { get; set; } + + /// + ///A unique identifier for the merchant's account on the external platform, such as an Amazon Seller ID or Google Merchant Center ID. Used together with `specificationHandle` to uniquely identify the channel connection. + /// + [Description("A unique identifier for the merchant's account on the external platform, such as an Amazon Seller ID or Google Merchant Center ID. Used together with `specificationHandle` to uniquely identify the channel connection.")] + [NonNull] + public string? accountId { get; set; } + + /// + ///The merchant-facing name for the external account. Displayed in Shopify Admin wherever the channel connection is referenced, such as in Markets and order attribution. Should match how the merchant recognises the account on the external platform. + /// + [Description("The merchant-facing name for the external account. Displayed in Shopify Admin wherever the channel connection is referenced, such as in Markets and order attribution. Should match how the merchant recognises the account on the external platform.")] + [NonNull] + public string? accountName { get; set; } + } + + /// + ///Return type for `channelCreate` mutation. + /// + [Description("Return type for `channelCreate` mutation.")] + public class ChannelCreatePayload : GraphQLObject + { + /// + ///The channel that was created. + /// + [Description("The channel that was created.")] + public Channel? channel { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `ChannelCreate`. + /// + [Description("An error that occurs during the execution of `ChannelCreate`.")] + public class ChannelCreateUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(ChannelCreateUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `ChannelCreateUserError`. + /// + [Description("Possible error codes that can be returned by `ChannelCreateUserError`.")] + public enum ChannelCreateUserErrorCode + { + /// + ///The input value is 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 ChannelCreateUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///A specific selling surface within a [sales channel](https://shopify.dev/docs/apps/build/sales-channels) platform. A channel definition identifies where products can be sold. Definitions can represent entire platforms (like Facebook or TikTok) or specific sales channels within those platforms, such as Instagram Shops, Instagram Shopping, or TikTok Live. /// @@ -10561,6 +11957,77 @@ public class ChannelDefinition : GraphQLObject, INode public string? svgIcon { get; set; } } + /// + ///Return type for `channelDelete` mutation. + /// + [Description("Return type for `channelDelete` mutation.")] + public class ChannelDeletePayload : GraphQLObject + { + /// + ///The ID of the deleted channel. + /// + [Description("The ID of the deleted channel.")] + 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; } + } + + /// + ///An error that occurs during the execution of `ChannelDelete`. + /// + [Description("An error that occurs during the execution of `ChannelDelete`.")] + public class ChannelDeleteUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(ChannelDeleteUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `ChannelDeleteUserError`. + /// + [Description("Possible error codes that can be returned by `ChannelDeleteUserError`.")] + public enum ChannelDeleteUserErrorCode + { + /// + ///The input value is 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 ChannelDeleteUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///An auto-generated type which holds one Channel and a cursor during pagination. /// @@ -10582,6 +12049,77 @@ public class ChannelEdge : GraphQLObject, IEdge public Channel? node { get; set; } } + /// + ///Return type for `channelFullSync` mutation. + /// + [Description("Return type for `channelFullSync` mutation.")] + public class ChannelFullSyncPayload : GraphQLObject + { + /// + ///Trace information for each country-language product feed that was triggered. Returns one entry per feed. + /// + [Description("Trace information for each country-language product feed that was triggered. Returns one entry per feed.")] + public IEnumerable? fullSyncTraceInfo { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `ChannelFullSync`. + /// + [Description("An error that occurs during the execution of `ChannelFullSync`.")] + public class ChannelFullSyncUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(ChannelFullSyncUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `ChannelFullSyncUserError`. + /// + [Description("Possible error codes that can be returned by `ChannelFullSyncUserError`.")] + public enum ChannelFullSyncUserErrorCode + { + /// + ///The input value is 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 ChannelFullSyncUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///Identifies the [sales channel](https://shopify.dev/docs/apps/build/sales-channels) and [`App`](https://shopify.dev/docs/api/admin-graphql/latest/objects/App) from which an [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order) originated. Provides attribution details such as the specific platform (Facebook Marketplace, Instagram Shopping) or marketplace where the order was placed. /// @@ -10624,6 +12162,5470 @@ public class ChannelInformation : GraphQLObject, INode public string? id { get; set; } } + /// + ///The input fields for updating a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). + /// + [Description("The input fields for updating a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel).")] + public class ChannelUpdateInput : GraphQLObject + { + /// + ///A new unique identifier for the channel within the shop. Must be unique across all channels on the shop. Handles are typically set at creation and rarely changed — use when correcting a handle or migrating legacy channel records. + /// + [Description("A new unique identifier for the channel within the shop. Must be unique across all channels on the shop. Handles are typically set at creation and rarely changed — use when correcting a handle or migrating legacy channel records.")] + public string? handle { get; set; } + + /// + ///The handle of the [channel specification](https://shopify.dev/docs/apps/build/sales-channels/channel-config-extension) to bind to this channel. When changed, the platform re-evaluates the specification's country coverage against the shop's region markets and reconciles product feeds accordingly. + /// + [Description("The handle of the [channel specification](https://shopify.dev/docs/apps/build/sales-channels/channel-config-extension) to bind to this channel. When changed, the platform re-evaluates the specification's country coverage against the shop's region markets and reconciles product feeds accordingly.")] + public string? specificationHandle { get; set; } + + /// + ///An updated identifier for the merchant's account on the external platform. Changing this value signals that the channel connection now represents a different external account. + /// + [Description("An updated identifier for the merchant's account on the external platform. Changing this value signals that the channel connection now represents a different external account.")] + public string? accountId { get; set; } + + /// + ///An updated merchant-facing name for the external account. Displayed in Shopify Admin when multiple channels exist for the same app, to help merchants distinguish between connections. + /// + [Description("An updated merchant-facing name for the external account. Displayed in Shopify Admin when multiple channels exist for the same app, to help merchants distinguish between connections.")] + public string? accountName { get; set; } + } + + /// + ///Return type for `channelUpdate` mutation. + /// + [Description("Return type for `channelUpdate` mutation.")] + public class ChannelUpdatePayload : GraphQLObject + { + /// + ///The channel that was updated. + /// + [Description("The channel that was updated.")] + public Channel? channel { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `ChannelUpdate`. + /// + [Description("An error that occurs during the execution of `ChannelUpdate`.")] + public class ChannelUpdateUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(ChannelUpdateUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `ChannelUpdateUserError`. + /// + [Description("Possible error codes that can be returned by `ChannelUpdateUserError`.")] + public enum ChannelUpdateUserErrorCode + { + /// + ///The input value is 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 ChannelUpdateUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string NOT_FOUND = @"NOT_FOUND"; + } + + /// + ///A checkout and account configuration packages branding settings, UI extensions, and overrides for a shop's checkout. + /// + [Description("A checkout and account configuration packages branding settings, UI extensions, and overrides for a shop's checkout.")] + public class CheckoutAndAccountsConfiguration : GraphQLObject, ICheckoutAndAccountsConfigurationInterface, INode + { + /// + ///The branding configuration. + /// + [Description("The branding configuration.")] + public CheckoutAndAccountsConfigurationBranding? branding { 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; } + + /// + ///The date and time when the configuration was last edited. + /// + [Description("The date and time when the configuration was last edited.")] + [NonNull] + public DateTime? editedAt { get; set; } + + /// + ///A globally-unique ID. + /// + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + + /// + ///Whether the configuration is published or not. + /// + [Description("Whether the configuration is published or not.")] + [NonNull] + public bool? isPublished { get; set; } + + /// + ///The configuration name. + /// + [Description("The configuration name.")] + [NonNull] + public string? name { get; set; } + + /// + ///The list of overrides for the configuration. + /// + [Description("The list of overrides for the configuration.")] + [NonNull] + public IEnumerable? overrides { 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; } + } + + /// + ///The branding configuration for checkout and customer accounts. + /// + [Description("The branding configuration for checkout and customer accounts.")] + public class CheckoutAndAccountsConfigurationBranding : GraphQLObject + { + /// + ///The components that apply to all surfaces. + /// + [Description("The components that apply to all surfaces.")] + public CheckoutAndAccountsConfigurationBrandingComponents? components { get; set; } + + /// + ///The design tokens allow 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 tokens allow 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.")] + public CheckoutAndAccountsConfigurationBrandingDesignTokens? designTokens { get; set; } + + /// + ///The surface-specific customizations. + /// + [Description("The surface-specific customizations.")] + public CheckoutAndAccountsConfigurationBrandingSurfaces? surfaces { get; set; } + } + + /// + ///The container background style. + /// + [Description("The container background style.")] + public enum CheckoutAndAccountsConfigurationBrandingBackground + { + /// + ///The Base background style. + /// + [Description("The Base background style.")] + BASE, + /// + ///The Subdued background style. + /// + [Description("The Subdued background style.")] + SUBDUED, + } + + public static class CheckoutAndAccountsConfigurationBrandingBackgroundStringValues + { + public const string BASE = @"BASE"; + public const string SUBDUED = @"SUBDUED"; + } + + /// + ///The base color role customizations for a surface. + /// + [Description("The base color role customizations for a surface.")] + public class CheckoutAndAccountsConfigurationBrandingBaseColorRoles : 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; } + + /// + ///The color of the background. + /// + [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; } + + /// + ///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; } + + /// + ///The color of icons. + /// + [Description("The color of icons.")] + public string? icon { get; set; } + + /// + ///The color of text. + /// + [Description("The color of text.")] + public string? text { get; set; } + } + + /// + ///The input fields for customizing a base group of colors. + /// + [Description("The input fields for customizing a base group of colors.")] + public class CheckoutAndAccountsConfigurationBrandingBaseColorRolesInput : GraphQLObject + { + /// + ///The color of the background. + /// + [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; } + + /// + ///The color of borders. + /// + [Description("The color of borders.")] + public string? border { get; set; } + + /// + ///The color of icons. + /// + [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; } + + /// + ///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; } + } + + /// + ///Possible values for the border. + /// + [Description("Possible values for the border.")] + public enum CheckoutAndAccountsConfigurationBrandingBorder + { + /// + ///The None border. + /// + [Description("The None border.")] + NONE, + /// + ///The Block End border. + /// + [Description("The Block End border.")] + BLOCK_END, + /// + ///The Full border. + /// + [Description("The Full border.")] + FULL, + } + + public static class CheckoutAndAccountsConfigurationBrandingBorderStringValues + { + 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 CheckoutAndAccountsConfigurationBrandingBorderStyle + { + /// + ///The Base border style. + /// + [Description("The Base border style.")] + BASE, + /// + ///The Dashed border style. + /// + [Description("The Dashed border style.")] + DASHED, + /// + ///The Dotted border style. + /// + [Description("The Dotted border style.")] + DOTTED, + } + + public static class CheckoutAndAccountsConfigurationBrandingBorderStyleStringValues + { + 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 CheckoutAndAccountsConfigurationBrandingBorderWidth + { + /// + ///The Base border width. + /// + [Description("The Base border width.")] + BASE, + /// + ///The Large border width. + /// + [Description("The Large border width.")] + LARGE, + /// + ///The Large 100 border width. + /// + [Description("The Large 100 border width.")] + LARGE_100, + /// + ///The Large 200 border width. + /// + [Description("The Large 200 border width.")] + LARGE_200, + } + + public static class CheckoutAndAccountsConfigurationBrandingBorderWidthStringValues + { + public const string BASE = @"BASE"; + public const string LARGE = @"LARGE"; + public const string LARGE_100 = @"LARGE_100"; + public const string LARGE_200 = @"LARGE_200"; + } + + /// + ///The buttons customizations. + /// + [Description("The buttons customizations.")] + public class CheckoutAndAccountsConfigurationBrandingButton : GraphQLObject + { + /// + ///The block padding. + /// + [Description("The block padding.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacing))] + public string? blockPadding { get; set; } + + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The inline padding. + /// + [Description("The inline padding.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacing))] + public string? inlinePadding { get; set; } + + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypographyStyle? typography { get; set; } + } + + /// + ///The input fields for customizing the buttons. + /// + [Description("The input fields for customizing the buttons.")] + public class CheckoutAndAccountsConfigurationBrandingButtonInput : GraphQLObject + { + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The block padding. + /// + [Description("The block padding.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacing))] + public string? blockPadding { get; set; } + + /// + ///The inline padding. + /// + [Description("The inline padding.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacing))] + public string? inlinePadding { get; set; } + + /// + ///The typography style. + /// + [Description("The typography style.")] + public CheckoutAndAccountsConfigurationBrandingTypographyStyleInput? typography { 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 class CheckoutAndAccountsConfigurationBrandingBuyerJourney : 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(CheckoutAndAccountsConfigurationBrandingVisibility))] + 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 CheckoutAndAccountsConfigurationBrandingBuyerJourneyInput : 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(CheckoutAndAccountsConfigurationBrandingVisibility))] + public string? visibility { get; set; } + } + + /// + ///The customizations that you can make to cart links at checkout. + /// + [Description("The customizations that you can make to cart links at checkout.")] + public class CheckoutAndAccountsConfigurationBrandingCartLink : GraphQLObject + { + /// + ///Whether the cart link is visible at checkout. + /// + [Description("Whether the cart link is visible at checkout.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingVisibility))] + 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 CheckoutAndAccountsConfigurationBrandingCartLinkContentType + { + /// + ///The checkout header content type icon value. + /// + [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, + /// + ///The checkout header content type text value. + /// + [Description("The checkout header content type text value.")] + TEXT, + } + + public static class CheckoutAndAccountsConfigurationBrandingCartLinkContentTypeStringValues + { + public const string ICON = @"ICON"; + public const string IMAGE = @"IMAGE"; + public const string TEXT = @"TEXT"; + } + + /// + ///The input fields for customizing the cart link at Checkout. + /// + [Description("The input fields for customizing the cart link at Checkout.")] + public class CheckoutAndAccountsConfigurationBrandingCartLinkInput : 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(CheckoutAndAccountsConfigurationBrandingVisibility))] + public string? visibility { get; set; } + } + + /// + ///The checkboxes customizations. + /// + [Description("The checkboxes customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCheckbox : GraphQLObject + { + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + } + + /// + ///The input fields for customizing the checkboxes. + /// + [Description("The input fields for customizing the checkboxes.")] + public class CheckoutAndAccountsConfigurationBrandingCheckboxInput : GraphQLObject + { + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + } + + /// + ///The checkout-specific component customizations. + /// + [Description("The checkout-specific component customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCheckoutComponents : 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 CheckoutAndAccountsConfigurationBrandingBuyerJourney? 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 CheckoutAndAccountsConfigurationBrandingCartLink? cartLink { get; set; } + + /// + ///The content container customizations. + /// + [Description("The content container customizations.")] + public CheckoutAndAccountsConfigurationBrandingContent? content { get; set; } + + /// + ///The express checkout customizations. + /// + [Description("The express checkout customizations.")] + public CheckoutAndAccountsConfigurationBrandingExpressCheckout? expressCheckout { get; set; } + + /// + ///The checkout footer customizations. + /// + [Description("The checkout footer customizations.")] + public CheckoutAndAccountsConfigurationBrandingCheckoutFooter? footer { get; set; } + + /// + ///The checkout header customizations. + /// + [Description("The checkout header customizations.")] + public CheckoutAndAccountsConfigurationBrandingCheckoutHeader? header { get; set; } + + /// + ///The main checkout customizations. + /// + [Description("The main checkout customizations.")] + public CheckoutAndAccountsConfigurationBrandingMain? main { get; set; } + + /// + ///The order summary customizations. + /// + [Description("The order summary customizations.")] + public CheckoutAndAccountsConfigurationBrandingOrderSummary? orderSummary { get; set; } + } + + /// + ///The input fields for customizing the Checkout components. + /// + [Description("The input fields for customizing the Checkout components.")] + public class CheckoutAndAccountsConfigurationBrandingCheckoutComponentsInput : GraphQLObject + { + /// + ///The footer. + /// + [Description("The footer.")] + public CheckoutAndAccountsConfigurationBrandingCheckoutFooterInput? footer { get; set; } + + /// + ///The header. + /// + [Description("The header.")] + public CheckoutAndAccountsConfigurationBrandingCheckoutHeaderInput? header { 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 CheckoutAndAccountsConfigurationBrandingCartLinkInput? cartLink { get; set; } + + /// + ///The breadcrumbs that represent a buyer's journey to the checkout. + /// + [Description("The breadcrumbs that represent a buyer's journey to the checkout.")] + public CheckoutAndAccountsConfigurationBrandingBuyerJourneyInput? buyerJourney { get; set; } + + /// + ///The content container. + /// + [Description("The content container.")] + public CheckoutAndAccountsConfigurationBrandingContentInput? content { get; set; } + + /// + ///The express checkout. + /// + [Description("The express checkout.")] + public CheckoutAndAccountsConfigurationBrandingExpressCheckoutInput? expressCheckout { get; set; } + + /// + ///The order summary. + /// + [Description("The order summary.")] + public CheckoutAndAccountsConfigurationBrandingOrderSummaryInput? orderSummary { get; set; } + + /// + ///The main area. + /// + [Description("The main area.")] + public CheckoutAndAccountsConfigurationBrandingMainInput? main { get; set; } + } + + /// + ///A container for the checkout footer section customizations. + /// + [Description("A container for the checkout footer section customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCheckoutFooter : GraphQLObject + { + /// + ///The footer alignment. + /// + [Description("The footer alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFooterAlignment))] + public string? alignment { get; set; } + + /// + ///The background style of the footer container. + /// + [Description("The background style of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The footer content settings. + /// + [Description("The footer content settings.")] + public CheckoutAndAccountsConfigurationBrandingFooterContent? content { get; set; } + + /// + ///The divided setting. + /// + [Description("The divided setting.")] + public bool? divided { get; set; } + + /// + ///The padding of the footer container. + /// + [Description("The padding of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + + /// + ///The footer position. + /// + [Description("The footer position.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFooterPosition))] + public string? position { get; set; } + } + + /// + ///The input fields for customizing the checkout footer. + /// + [Description("The input fields for customizing the checkout footer.")] + public class CheckoutAndAccountsConfigurationBrandingCheckoutFooterInput : GraphQLObject + { + /// + ///The divided setting. + /// + [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(CheckoutAndAccountsConfigurationBrandingFooterAlignment))] + 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 CheckoutAndAccountsConfigurationBrandingFooterContentInput? content { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The background style of the footer container. + /// + [Description("The background style of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The padding of the footer container. + /// + [Description("The padding of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + + /// + ///The footer position. + /// + [Description("The footer position.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFooterPosition))] + public string? position { get; set; } + } + + /// + ///The checkout header customizations. + /// + [Description("The checkout header customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCheckoutHeader : GraphQLObject + { + /// + ///The header alignment. + /// + [Description("The header alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingHeaderAlignment))] + public string? alignment { get; set; } + + /// + ///The background style of the header container. + /// + [Description("The background style of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { 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 CheckoutAndAccountsConfigurationBrandingHeaderCartLink? cartLink { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The divided setting. + /// + [Description("The divided setting.")] + public bool? divided { get; set; } + + /// + ///The store logo. + /// + [Description("The store logo.")] + public CheckoutAndAccountsConfigurationBrandingLogo? logo { get; set; } + + /// + ///The padding of the header container. + /// + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + + /// + ///The header position. + /// + [Description("The header position.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingHeaderPosition))] + public string? position { get; set; } + } + + /// + ///The input fields for customizing the checkout header. + /// + [Description("The input fields for customizing the checkout header.")] + public class CheckoutAndAccountsConfigurationBrandingCheckoutHeaderInput : GraphQLObject + { + /// + ///The header alignment. + /// + [Description("The header alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingHeaderAlignment))] + public string? alignment { get; set; } + + /// + ///The store logo. + /// + [Description("The store logo.")] + public CheckoutAndAccountsConfigurationBrandingLogoInput? logo { get; set; } + + /// + ///The divided setting. + /// + [Description("The divided setting.")] + public bool? divided { get; set; } + + /// + ///The colors customizations for the header container. + /// + [Description("The colors customizations for the header container.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The background style of the header container. + /// + [Description("The background style of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The padding of the header container. + /// + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + + /// + ///The header position. + /// + [Description("The header position.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingHeaderPosition))] + public string? position { 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 CheckoutAndAccountsConfigurationBrandingHeaderCartLinkInput? cartLink { get; set; } + } + + /// + ///The checkout-specific component customizations. + /// + [Description("The checkout-specific component customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCheckoutSurface : GraphQLObject + { + /// + ///The checkout components. + /// + [Description("The checkout components.")] + public CheckoutAndAccountsConfigurationBrandingCheckoutComponents? components { get; set; } + } + + /// + ///The input fields for customizing the Checkout surface. + /// + [Description("The input fields for customizing the Checkout surface.")] + public class CheckoutAndAccountsConfigurationBrandingCheckoutSurfaceInput : GraphQLObject + { + /// + ///The Checkout components. + /// + [Description("The Checkout components.")] + public CheckoutAndAccountsConfigurationBrandingCheckoutComponentsInput? components { get; set; } + } + + /// + ///The choice list customizations. + /// + [Description("The choice list customizations.")] + public class CheckoutAndAccountsConfigurationBrandingChoiceList : GraphQLObject + { + /// + ///The 'group' variant of ChoiceList. + /// + [Description("The 'group' variant of ChoiceList.")] + public CheckoutAndAccountsConfigurationBrandingChoiceListGroup? group { get; set; } + } + + /// + ///The customizations that apply to the 'group' variant of ChoiceList. + /// + [Description("The customizations that apply to the 'group' variant of ChoiceList.")] + public class CheckoutAndAccountsConfigurationBrandingChoiceListGroup : GraphQLObject + { + /// + ///The spacing between UI elements in the list. + /// + [Description("The spacing between UI elements in the list.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? spacing { get; set; } + } + + /// + ///The input fields for customizing the 'group' variant of ChoiceList. + /// + [Description("The input fields for customizing the 'group' variant of ChoiceList.")] + public class CheckoutAndAccountsConfigurationBrandingChoiceListGroupInput : GraphQLObject + { + /// + ///The spacing between UI elements in the list. + /// + [Description("The spacing between UI elements in the list.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? spacing { get; set; } + } + + /// + ///The input fields for customizing the choice list. + /// + [Description("The input fields for customizing the choice list.")] + public class CheckoutAndAccountsConfigurationBrandingChoiceListInput : GraphQLObject + { + /// + ///The 'group' variant of ChoiceList. + /// + [Description("The 'group' variant of ChoiceList.")] + public CheckoutAndAccountsConfigurationBrandingChoiceListGroupInput? group { get; set; } + } + + /// + ///The color role customizations for a surface. + /// + [Description("The color role customizations for a surface.")] + public class CheckoutAndAccountsConfigurationBrandingColorRoles : 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; } + + /// + ///The color of the background. + /// + [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; } + + /// + ///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; } + + /// + ///The color of icons. + /// + [Description("The color of icons.")] + public string? icon { get; set; } + + /// + ///The color of text. + /// + [Description("The color of text.")] + public string? text { get; set; } + } + + /// + ///The input fields for customizing a group of colors used together on a surface. + /// + [Description("The input fields for customizing a group of colors used together on a surface.")] + public class CheckoutAndAccountsConfigurationBrandingColorRolesInput : GraphQLObject + { + /// + ///The color of the background. + /// + [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; } + + /// + ///The color of borders. + /// + [Description("The color of borders.")] + public string? border { get; set; } + + /// + ///The color of icons. + /// + [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; } + + /// + ///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; } + } + + /// + ///The color settings used to customize the user interface. + /// + [Description("The color settings used to customize the user interface.")] + public class CheckoutAndAccountsConfigurationBrandingColors : GraphQLObject + { + /// + ///The main colors, used for the surface background, text, links, and more. + /// + [Description("The main colors, used for the surface background, text, links, and more.")] + public CheckoutAndAccountsConfigurationBrandingBaseColorRoles? @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 CheckoutAndAccountsConfigurationBrandingControlColorRoles? 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 CheckoutAndAccountsConfigurationBrandingPrimaryButtonColorRoles? 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 CheckoutAndAccountsConfigurationBrandingSecondaryButtonColorRoles? secondaryButton { get; set; } + } + + /// + ///The input fields for customizing a base set of colors, from which every component pulls its colors. + /// + [Description("The input fields for customizing a base set of colors, from which every component pulls its colors.")] + public class CheckoutAndAccountsConfigurationBrandingColorsInput : GraphQLObject + { + /// + ///The main colors, used for the surface background, text, links, and more. + /// + [Description("The main colors, used for the surface background, text, links, and more.")] + public CheckoutAndAccountsConfigurationBrandingBaseColorRolesInput? @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 CheckoutAndAccountsConfigurationBrandingControlColorRolesInput? 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 CheckoutAndAccountsConfigurationBrandingPrimaryButtonColorRolesInput? 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 CheckoutAndAccountsConfigurationBrandingSecondaryButtonColorRolesInput? secondaryButton { get; set; } + } + + /// + ///The base component customizations that apply to all surfaces. + /// + [Description("The base component customizations that apply to all surfaces.")] + public class CheckoutAndAccountsConfigurationBrandingComponents : GraphQLObject + { + /// + ///The checkboxes. + /// + [Description("The checkboxes.")] + public CheckoutAndAccountsConfigurationBrandingCheckbox? checkbox { get; set; } + + /// + ///The choice list. + /// + [Description("The choice list.")] + public CheckoutAndAccountsConfigurationBrandingChoiceList? choiceList { get; set; } + + /// + ///The form controls. + /// + [Description("The form controls.")] + public CheckoutAndAccountsConfigurationBrandingControl? 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 CheckoutAndAccountsConfigurationBrandingDividerStyle? divider { get; set; } + + /// + ///The favicon. + /// + [Description("The favicon.")] + public ICheckoutAndAccountsConfigurationBrandingImageValue? favicon { get; set; } + + /// + ///The footer. + /// + [Description("The footer.")] + public CheckoutAndAccountsConfigurationBrandingFooter? footer { get; set; } + + /// + ///The header. + /// + [Description("The header.")] + public CheckoutAndAccountsConfigurationBrandingHeader? header { get; set; } + + /// + ///The Heading Level 1. + /// + [Description("The Heading Level 1.")] + public CheckoutAndAccountsConfigurationBrandingHeadingLevel? headingLevel1 { get; set; } + + /// + ///The Heading Level 2. + /// + [Description("The Heading Level 2.")] + public CheckoutAndAccountsConfigurationBrandingHeadingLevel? headingLevel2 { get; set; } + + /// + ///The Heading Level 3. + /// + [Description("The Heading Level 3.")] + public CheckoutAndAccountsConfigurationBrandingHeadingLevel? headingLevel3 { get; set; } + + /// + ///The main area. + /// + [Description("The main area.")] + public CheckoutAndAccountsConfigurationBrandingMain? main { get; set; } + + /// + ///The merchandise thumbnails. + /// + [Description("The merchandise thumbnails.")] + public CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnail? merchandiseThumbnail { get; set; } + + /// + ///The primary buttons. + /// + [Description("The primary buttons.")] + public CheckoutAndAccountsConfigurationBrandingButton? primaryButton { get; set; } + + /// + ///The secondary buttons. + /// + [Description("The secondary buttons.")] + public CheckoutAndAccountsConfigurationBrandingButton? secondaryButton { get; set; } + + /// + ///The selects. + /// + [Description("The selects.")] + public CheckoutAndAccountsConfigurationBrandingSelect? select { get; set; } + + /// + ///The shared settings. + /// + [Description("The shared settings.")] + public CheckoutAndAccountsConfigurationBrandingShared? shared { get; set; } + + /// + ///The text fields. + /// + [Description("The text fields.")] + public CheckoutAndAccountsConfigurationBrandingTextField? textField { get; set; } + } + + /// + ///The input fields for customizing the components. + /// + [Description("The input fields for customizing the components.")] + public class CheckoutAndAccountsConfigurationBrandingComponentsInput : GraphQLObject + { + /// + ///The checkboxes customizations. + /// + [Description("The checkboxes customizations.")] + public CheckoutAndAccountsConfigurationBrandingCheckboxInput? checkbox { get; set; } + + /// + ///The choice list customizations. + /// + [Description("The choice list customizations.")] + public CheckoutAndAccountsConfigurationBrandingChoiceListInput? choiceList { get; set; } + + /// + ///The form controls customizations. + /// + [Description("The form controls customizations.")] + public CheckoutAndAccountsConfigurationBrandingControlInput? control { get; set; } + + /// + ///The divider customizations. + /// + [Description("The divider customizations.")] + public CheckoutAndAccountsConfigurationBrandingDividerStyleInput? divider { get; set; } + + /// + ///The favicon. + /// + [Description("The favicon.")] + public CheckoutAndAccountsConfigurationBrandingImageInput? favicon { get; set; } + + /// + ///The shared customizations. + /// + [Description("The shared customizations.")] + public CheckoutAndAccountsConfigurationBrandingSharedInput? shared { get; set; } + + /// + ///The Heading Level 1 customizations. + /// + [Description("The Heading Level 1 customizations.")] + public CheckoutAndAccountsConfigurationBrandingHeadingLevelInput? headingLevel1 { get; set; } + + /// + ///The Heading Level 2 customizations. + /// + [Description("The Heading Level 2 customizations.")] + public CheckoutAndAccountsConfigurationBrandingHeadingLevelInput? headingLevel2 { get; set; } + + /// + ///The Heading Level 3 customizations. + /// + [Description("The Heading Level 3 customizations.")] + public CheckoutAndAccountsConfigurationBrandingHeadingLevelInput? headingLevel3 { get; set; } + + /// + ///The merchandise thumbnails customizations. + /// + [Description("The merchandise thumbnails customizations.")] + public CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailInput? merchandiseThumbnail { get; set; } + + /// + ///The primary buttons customizations. + /// + [Description("The primary buttons customizations.")] + public CheckoutAndAccountsConfigurationBrandingButtonInput? primaryButton { get; set; } + + /// + ///The secondary buttons customizations. + /// + [Description("The secondary buttons customizations.")] + public CheckoutAndAccountsConfigurationBrandingButtonInput? secondaryButton { get; set; } + + /// + ///The selects customizations. + /// + [Description("The selects customizations.")] + public CheckoutAndAccountsConfigurationBrandingSelectInput? select { get; set; } + + /// + ///The text fields customizations. + /// + [Description("The text fields customizations.")] + public CheckoutAndAccountsConfigurationBrandingTextFieldInput? textField { get; set; } + + /// + ///The main area customizations. + /// + [Description("The main area customizations.")] + public CheckoutAndAccountsConfigurationBrandingMainInput? main { get; set; } + + /// + ///The footer customizations. + /// + [Description("The footer customizations.")] + public CheckoutAndAccountsConfigurationBrandingFooterInput? footer { get; set; } + + /// + ///The header customizations. + /// + [Description("The header customizations.")] + public CheckoutAndAccountsConfigurationBrandingHeaderInput? header { get; set; } + } + + /// + ///The container's divider customizations. + /// + [Description("The container's divider customizations.")] + public class CheckoutAndAccountsConfigurationBrandingContainerDivider : GraphQLObject + { + /// + ///The divider style. + /// + [Description("The divider style.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The divider width. + /// + [Description("The divider width.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + + /// + ///The divider visibility. + /// + [Description("The divider visibility.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingVisibility))] + public string? visibility { get; set; } + } + + /// + ///The input fields for customizing a container's divider. + /// + [Description("The input fields for customizing a container's divider.")] + public class CheckoutAndAccountsConfigurationBrandingContainerDividerInput : GraphQLObject + { + /// + ///The divider style. + /// + [Description("The divider style.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The divider width. + /// + [Description("The divider width.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + + /// + ///The divider visibility. + /// + [Description("The divider visibility.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingVisibility))] + public string? visibility { get; set; } + } + + /// + ///The content customizations. + /// + [Description("The content customizations.")] + public class CheckoutAndAccountsConfigurationBrandingContent : GraphQLObject + { + /// + ///The divider style and visibility. + /// + [Description("The divider style and visibility.")] + public CheckoutAndAccountsConfigurationBrandingContainerDivider? divider { get; set; } + } + + /// + ///The input fields for customizing the content container. + /// + [Description("The input fields for customizing the content container.")] + public class CheckoutAndAccountsConfigurationBrandingContentInput : GraphQLObject + { + /// + ///Divider style and visibility on the content container. + /// + [Description("Divider style and visibility on the content container.")] + public CheckoutAndAccountsConfigurationBrandingContainerDividerInput? divider { get; set; } + } + + /// + ///The form controls customizations. + /// + [Description("The form controls customizations.")] + public class CheckoutAndAccountsConfigurationBrandingControl : GraphQLObject + { + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The label position. + /// + [Description("The label position.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingLabelPosition))] + public string? labelPosition { get; set; } + } + + /// + ///The form control color customizations. + /// + [Description("The form control color customizations.")] + public class CheckoutAndAccountsConfigurationBrandingControlColorRoles : 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; } + + /// + ///The color of the background. + /// + [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; } + + /// + ///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; } + + /// + ///The color of icons. + /// + [Description("The color of icons.")] + public string? icon { get; set; } + + /// + ///The colors of selected controls. + /// + [Description("The colors of selected controls.")] + public CheckoutAndAccountsConfigurationBrandingColorRoles? selected { get; set; } + + /// + ///The color of text. + /// + [Description("The color of text.")] + public string? text { get; set; } + } + + /// + ///The input fields for customizing colors for form controls. + /// + [Description("The input fields for customizing colors for form controls.")] + public class CheckoutAndAccountsConfigurationBrandingControlColorRolesInput : GraphQLObject + { + /// + ///The color of the background. + /// + [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; } + + /// + ///The color of borders. + /// + [Description("The color of borders.")] + public string? border { get; set; } + + /// + ///The color of icons. + /// + [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; } + + /// + ///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; } + + /// + ///The colors of selected controls. + /// + [Description("The colors of selected controls.")] + public CheckoutAndAccountsConfigurationBrandingColorRolesInput? selected { get; set; } + } + + /// + ///The input fields for customizing the form controls. + /// + [Description("The input fields for customizing the form controls.")] + public class CheckoutAndAccountsConfigurationBrandingControlInput : GraphQLObject + { + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The label position. + /// + [Description("The label position.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingLabelPosition))] + 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). + /// + [Description("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).")] + public enum CheckoutAndAccountsConfigurationBrandingCornerRadius + { + /// + ///The 0px corner radius (square corners). + /// + [Description("The 0px corner radius (square corners).")] + NONE, + /// + ///The corner radius with a pixel value defined by designTokens.cornerRadius.small. + /// + [Description("The corner radius with a pixel value defined by designTokens.cornerRadius.small.")] + SMALL, + /// + ///The corner radius with a pixel value defined by designTokens.cornerRadius.base. + /// + [Description("The corner radius with a pixel value defined by designTokens.cornerRadius.base.")] + BASE, + /// + ///The corner radius with a pixel value defined by designTokens.cornerRadius.large. + /// + [Description("The corner radius with a pixel value defined by designTokens.cornerRadius.large.")] + LARGE, + } + + public static class CheckoutAndAccountsConfigurationBrandingCornerRadiusStringValues + { + public const string NONE = @"NONE"; + public const string SMALL = @"SMALL"; + public const string BASE = @"BASE"; + public const string LARGE = @"LARGE"; + } + + /// + ///The corner radius variable customizations that define the pixel size of corner radius options. + /// + [Description("The corner radius variable customizations that define the pixel size of corner radius options.")] + public class CheckoutAndAccountsConfigurationBrandingCornerRadiusVariables : 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; } + + /// + ///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; } + + /// + ///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; } + } + + /// + ///The input fields for customizing the corner radius variables. + /// + [Description("The input fields for customizing the corner radius variables.")] + public class CheckoutAndAccountsConfigurationBrandingCornerRadiusVariablesInput : 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; } + + /// + ///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; } + + /// + ///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; } + } + + /// + ///The custom font customizations. + /// + [Description("The custom font customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomFont : GraphQLObject + { + /// + ///Globally unique ID reference to the custom font file. + /// + [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; } + + /// + ///The font weight. + /// + [Description("The font weight.")] + public int? weight { get; set; } + } + + /// + ///The custom font group customizations. + /// + [Description("The custom font group customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomFontGroup : GraphQLObject, ICheckoutAndAccountsConfigurationBrandingFontGroup + { + /// + ///The base custom font. + /// + [Description("The base custom font.")] + public CheckoutAndAccountsConfigurationBrandingCustomFont? @base { get; set; } + + /// + ///The bold custom font. + /// + [Description("The bold custom font.")] + public CheckoutAndAccountsConfigurationBrandingCustomFont? bold { get; set; } + + /// + ///The font loading strategy. + /// + [Description("The font loading strategy.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFontLoadingStrategy))] + public string? loadingStrategy { get; set; } + + /// + ///The font group name. + /// + [Description("The font group name.")] + public string? name { get; set; } + } + + /// + ///The input fields for customizing a custom font group. + /// + [Description("The input fields for customizing a custom font group.")] + public class CheckoutAndAccountsConfigurationBrandingCustomFontGroupInput : GraphQLObject + { + /// + ///The base font. + /// + [Description("The base font.")] + [NonNull] + public CheckoutAndAccountsConfigurationBrandingCustomFontInput? @base { get; set; } + + /// + ///The bold font. + /// + [Description("The bold font.")] + [NonNull] + public CheckoutAndAccountsConfigurationBrandingCustomFontInput? bold { get; set; } + + /// + ///The font loading strategy. + /// + [Description("The font loading strategy.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFontLoadingStrategy))] + public string? loadingStrategy { get; set; } + } + + /// + ///The input fields for customizing a custom font. + /// + [Description("The input fields for customizing a custom font.")] + public class CheckoutAndAccountsConfigurationBrandingCustomFontInput : 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; } + + /// + ///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. Allowed font types are .woff and .woff2.")] + [NonNull] + public string? genericFileId { get; set; } + } + + /// + ///The customer accounts-specific component customizations. + /// + [Description("The customer accounts-specific component customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsComponents : GraphQLObject + { + /// + ///The footer customizations. + /// + [Description("The footer customizations.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsFooter? footer { get; set; } + + /// + ///The header customizations. + /// + [Description("The header customizations.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsHeader? header { get; set; } + + /// + ///The main customer accounts customizations. + /// + [Description("The main customer accounts customizations.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsMain? main { get; set; } + } + + /// + ///The input fields for customizing the Customer Accounts components. + /// + [Description("The input fields for customizing the Customer Accounts components.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsComponentsInput : GraphQLObject + { + /// + ///The footer customizations. + /// + [Description("The footer customizations.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsFooterInput? footer { get; set; } + + /// + ///The header customizations. + /// + [Description("The header customizations.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsHeaderInput? header { get; set; } + + /// + ///The main area customizations. + /// + [Description("The main area customizations.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsMainInput? main { get; set; } + } + + /// + ///A container for the customer accounts footer section customizations. + /// + [Description("A container for the customer accounts footer section customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsFooter : GraphQLObject + { + /// + ///The footer alignment. + /// + [Description("The footer alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFooterAlignment))] + public string? alignment { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The padding of the footer container. + /// + [Description("The padding of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The input fields for customizing the customer accounts footer. + /// + [Description("The input fields for customizing the customer accounts footer.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsFooterInput : GraphQLObject + { + /// + ///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(CheckoutAndAccountsConfigurationBrandingFooterAlignment))] + public string? alignment { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The padding of the footer container. + /// + [Description("The padding of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The checkout header customizations. + /// + [Description("The checkout header customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsHeader : GraphQLObject + { + /// + ///The header alignment. + /// + [Description("The header alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingHeaderAlignment))] + public string? alignment { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The store logo. + /// + [Description("The store logo.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsLogo? logo { get; set; } + + /// + ///The padding of the header container. + /// + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The input fields for customizing the customer accounts header. + /// + [Description("The input fields for customizing the customer accounts header.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsHeaderInput : GraphQLObject + { + /// + ///The header alignment. + /// + [Description("The header alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingHeaderAlignment))] + public string? alignment { get; set; } + + /// + ///The colors customizations for the header container. + /// + [Description("The colors customizations for the header container.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The store logo. + /// + [Description("The store logo.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsLogoInput? logo { get; set; } + + /// + ///The padding of the header container. + /// + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The customer accounts store logo customizations. + /// + [Description("The customer accounts store logo customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsLogo : GraphQLObject + { + /// + ///The logo image. + /// + [Description("The logo image.")] + public ICheckoutAndAccountsConfigurationBrandingImageValue? image { get; set; } + + /// + ///The maximum width of the logo. + /// + [Description("The maximum width of the logo.")] + public int? maxWidth { get; set; } + } + + /// + ///The input fields for customizing the logo. + /// + [Description("The input fields for customizing the logo.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsLogoInput : GraphQLObject + { + /// + ///The logo image. + /// + [Description("The logo image.")] + public CheckoutAndAccountsConfigurationBrandingImageInput? image { get; set; } + + /// + ///The maximum width of the logo. + /// + [Description("The maximum width of the logo.")] + public int? maxWidth { get; set; } + } + + /// + ///The customer accounts-specific main customizations. + /// + [Description("The customer accounts-specific main customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsMain : GraphQLObject + { + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The customer accounts main section. + /// + [Description("The customer accounts main section.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsMainSection? section { get; set; } + } + + /// + ///The input fields for customizing the main container. + /// + [Description("The input fields for customizing the main container.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsMainInput : GraphQLObject + { + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The customizations for the main sections. + /// + [Description("The customizations for the main sections.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsMainSectionInput? section { get; set; } + } + + /// + ///The customer accounts branding section customizations. + /// + [Description("The customer accounts branding section customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsMainSection : GraphQLObject + { + /// + ///The background style of the main sections. + /// + [Description("The background style of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The border for the main sections. + /// + [Description("The border for the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The border style of the main sections. + /// + [Description("The border style of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The border width of the main sections. + /// + [Description("The border width of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The corner radius of the main sections. + /// + [Description("The corner radius of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The padding of the main sections. + /// + [Description("The padding of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + + /// + ///The shadow of the main sections. + /// + [Description("The shadow of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingShadow))] + public string? shadow { get; set; } + } + + /// + ///The input fields for customizing the customer accounts branding section. + /// + [Description("The input fields for customizing the customer accounts branding section.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsMainSectionInput : GraphQLObject + { + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The background style of the main sections. + /// + [Description("The background style of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The corner radius of the main sections. + /// + [Description("The corner radius of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The border for the main sections. + /// + [Description("The border for the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The border style of the main sections. + /// + [Description("The border style of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The border width of the main sections. + /// + [Description("The border width of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + + /// + ///The shadow of the main sections. + /// + [Description("The shadow of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingShadow))] + public string? shadow { get; set; } + + /// + ///The padding of the main sections. + /// + [Description("The padding of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The customer accounts-specific component customizations. + /// + [Description("The customer accounts-specific component customizations.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsSurface : GraphQLObject + { + /// + ///The customer accounts components. + /// + [Description("The customer accounts components.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsComponents? components { get; set; } + } + + /// + ///The input fields for customizing the Customer Accounts surface. + /// + [Description("The input fields for customizing the Customer Accounts surface.")] + public class CheckoutAndAccountsConfigurationBrandingCustomerAccountsSurfaceInput : GraphQLObject + { + /// + ///The Customer Accounts components. + /// + [Description("The Customer Accounts components.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsComponentsInput? components { get; set; } + } + + /// + ///The color customizations. + /// + [Description("The color customizations.")] + public class CheckoutAndAccountsConfigurationBrandingDesignTokenColors : GraphQLObject + { + /// + ///A set of colors used together on a surface. + /// + [Description("A set of colors used together on a surface.")] + public CheckoutAndAccountsConfigurationBrandingPalette? palette { get; set; } + } + + /// + ///The design token customizations allow 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 token customizations allow 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.")] + public class CheckoutAndAccountsConfigurationBrandingDesignTokens : GraphQLObject + { + /// + ///The colors for global colors. + /// + [Description("The colors for global colors.")] + public CheckoutAndAccountsConfigurationBrandingDesignTokenColors? colors { get; set; } + + /// + ///The corner radius variables. + /// + [Description("The corner radius variables.")] + public CheckoutAndAccountsConfigurationBrandingCornerRadiusVariables? cornerRadius { get; set; } + + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypography? typography { get; set; } + } + + /// + ///The input fields for customizing the colors. + /// + [Description("The input fields for customizing the colors.")] + public class CheckoutAndAccountsConfigurationBrandingDesignTokensColorsInput : GraphQLObject + { + /// + ///The input to update the color palette. + /// + [Description("The input to update the color palette.")] + public CheckoutAndAccountsConfigurationBrandingPaletteInput? palette { get; set; } + } + + /// + ///The input fields for customizing the design tokens. + /// + [Description("The input fields for customizing the design tokens.")] + public class CheckoutAndAccountsConfigurationBrandingDesignTokensInput : GraphQLObject + { + /// + ///The color customizations for global colors. + /// + [Description("The color customizations for global colors.")] + public CheckoutAndAccountsConfigurationBrandingDesignTokensColorsInput? colors { get; set; } + + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypographyInput? typography { get; set; } + + /// + ///The corner radius variables. + /// + [Description("The corner radius variables.")] + public CheckoutAndAccountsConfigurationBrandingCornerRadiusVariablesInput? 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 CheckoutAndAccountsConfigurationBrandingDividerStyle : GraphQLObject + { + /// + ///The border style for the divider. + /// + [Description("The border style for the divider.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The border width for the divider. + /// + [Description("The border width for the divider.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + } + + /// + ///The input fields for customizing the global divider. + /// + [Description("The input fields for customizing the global divider.")] + public class CheckoutAndAccountsConfigurationBrandingDividerStyleInput : GraphQLObject + { + /// + ///The border style for the divider. + /// + [Description("The border style for the divider.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The border width for the divider. + /// + [Description("The border width for the divider.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + } + + /// + ///The Express Checkout customizations. + /// + [Description("The Express Checkout customizations.")] + public class CheckoutAndAccountsConfigurationBrandingExpressCheckout : GraphQLObject + { + /// + ///The Express Checkout buttons customizations. + /// + [Description("The Express Checkout buttons customizations.")] + public CheckoutAndAccountsConfigurationBrandingExpressCheckoutButton? button { get; set; } + } + + /// + ///The Express Checkout button customizations. + /// + [Description("The Express Checkout button customizations.")] + public class CheckoutAndAccountsConfigurationBrandingExpressCheckoutButton : GraphQLObject + { + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + } + + /// + ///The input fields for customizing the express checkout button. + /// + [Description("The input fields for customizing the express checkout button.")] + public class CheckoutAndAccountsConfigurationBrandingExpressCheckoutButtonInput : GraphQLObject + { + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + } + + /// + ///The input fields for customizing the Express Checkout. + /// + [Description("The input fields for customizing the Express Checkout.")] + public class CheckoutAndAccountsConfigurationBrandingExpressCheckoutInput : GraphQLObject + { + /// + ///The Express Checkout buttons customizations. + /// + [Description("The Express Checkout buttons customizations.")] + public CheckoutAndAccountsConfigurationBrandingExpressCheckoutButtonInput? button { get; set; } + } + + /// + ///A group of fonts. + /// + [Description("A group of fonts.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CheckoutAndAccountsConfigurationBrandingCustomFontGroup), typeDiscriminator: "CheckoutAndAccountsConfigurationBrandingCustomFontGroup")] + [JsonDerivedType(typeof(CheckoutAndAccountsConfigurationBrandingShopifyFontGroup), typeDiscriminator: "CheckoutAndAccountsConfigurationBrandingShopifyFontGroup")] + public interface ICheckoutAndAccountsConfigurationBrandingFontGroup : IGraphQLObject + { + public CheckoutAndAccountsConfigurationBrandingCustomFontGroup? AsCheckoutAndAccountsConfigurationBrandingCustomFontGroup() => this as CheckoutAndAccountsConfigurationBrandingCustomFontGroup; + public CheckoutAndAccountsConfigurationBrandingShopifyFontGroup? AsCheckoutAndAccountsConfigurationBrandingShopifyFontGroup() => this as CheckoutAndAccountsConfigurationBrandingShopifyFontGroup; + /// + ///The font loading strategy. + /// + [Description("The font loading strategy.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFontLoadingStrategy))] + public string? loadingStrategy { get; set; } + + /// + ///The font group name. + /// + [Description("The font group name.")] + public string? name { get; set; } + } + + /// + ///The input fields used to update a font group. + /// + [Description("The input fields used to update a font group.")] + public class CheckoutAndAccountsConfigurationBrandingFontGroupInput : GraphQLObject + { + /// + ///A Shopify font group. + /// + [Description("A Shopify font group.")] + public CheckoutAndAccountsConfigurationBrandingShopifyFontGroupInput? shopifyFontGroup { get; set; } + + /// + ///A custom font group. + /// + [Description("A custom font group.")] + public CheckoutAndAccountsConfigurationBrandingCustomFontGroupInput? 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. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display.")] + public enum CheckoutAndAccountsConfigurationBrandingFontLoadingStrategy + { + /// + ///The font display strategy is defined by the browser user agent. + /// + [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, + /// + ///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, + /// + ///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, + /// + ///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 CheckoutAndAccountsConfigurationBrandingFontLoadingStrategyStringValues + { + 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 customizations. + /// + [Description("The font size customizations.")] + public class CheckoutAndAccountsConfigurationBrandingFontSize : GraphQLObject + { + /// + ///The base font size. + /// + [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; } + } + + /// + ///The input fields for customizing the font size. + /// + [Description("The input fields for customizing the font size.")] + public class CheckoutAndAccountsConfigurationBrandingFontSizeInput : 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; } + + /// + ///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; } + } + + /// + ///A container for the footer section customizations. + /// + [Description("A container for the footer section customizations.")] + public class CheckoutAndAccountsConfigurationBrandingFooter : GraphQLObject + { + /// + ///The footer alignment. + /// + [Description("The footer alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFooterAlignment))] + public string? alignment { get; set; } + + /// + ///The background style of the footer container. + /// + [Description("The background style of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The footer content settings. + /// + [Description("The footer content settings.")] + public CheckoutAndAccountsConfigurationBrandingFooterContent? content { get; set; } + + /// + ///The divided setting. + /// + [Description("The divided setting.")] + public bool? divided { get; set; } + + /// + ///The padding of the footer container. + /// + [Description("The padding of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///Possible values for the footer alignment. + /// + [Description("Possible values for the footer alignment.")] + public enum CheckoutAndAccountsConfigurationBrandingFooterAlignment + { + /// + ///The checkout footer alignment Start value. + /// + [Description("The checkout footer alignment Start value.")] + START, + /// + ///The checkout footer alignment Center value. + /// + [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 CheckoutAndAccountsConfigurationBrandingFooterAlignmentStringValues + { + 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 CheckoutAndAccountsConfigurationBrandingFooterContent : GraphQLObject + { + /// + ///The visibility for footer content. + /// + [Description("The visibility for footer content.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingVisibility))] + public string? visibility { get; set; } + } + + /// + ///The input fields for customizing the footer content. + /// + [Description("The input fields for customizing the footer content.")] + public class CheckoutAndAccountsConfigurationBrandingFooterContentInput : GraphQLObject + { + /// + ///The visibility customizations for footer content. + /// + [Description("The visibility customizations for footer content.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingVisibility))] + public string? visibility { get; set; } + } + + /// + ///The input fields for customizing the checkout footer. + /// + [Description("The input fields for customizing the checkout footer.")] + public class CheckoutAndAccountsConfigurationBrandingFooterInput : GraphQLObject + { + /// + ///The divided setting. + /// + [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(CheckoutAndAccountsConfigurationBrandingFooterAlignment))] + 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 CheckoutAndAccountsConfigurationBrandingFooterContentInput? content { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The background style of the footer container. + /// + [Description("The background style of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The padding of the footer container. + /// + [Description("The padding of the footer container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///Possible values for the footer position. + /// + [Description("Possible values for the footer position.")] + public enum CheckoutAndAccountsConfigurationBrandingFooterPosition + { + /// + ///The End footer position. + /// + [Description("The End footer position.")] + END, + /// + ///The Inline footer position. + /// + [Description("The Inline footer position.")] + INLINE, + } + + public static class CheckoutAndAccountsConfigurationBrandingFooterPositionStringValues + { + public const string END = @"END"; + public const string INLINE = @"INLINE"; + } + + /// + ///The header customizations. + /// + [Description("The header customizations.")] + public class CheckoutAndAccountsConfigurationBrandingHeader : GraphQLObject + { + /// + ///The header alignment. + /// + [Description("The header alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingHeaderAlignment))] + public string? alignment { get; set; } + + /// + ///The background style of the header container. + /// + [Description("The background style of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The divided setting. + /// + [Description("The divided setting.")] + public bool? divided { get; set; } + + /// + ///The store logo. + /// + [Description("The store logo.")] + public CheckoutAndAccountsConfigurationBrandingLogo? logo { get; set; } + + /// + ///The padding of the header container. + /// + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The possible header alignments. + /// + [Description("The possible header alignments.")] + public enum CheckoutAndAccountsConfigurationBrandingHeaderAlignment + { + /// + ///Start alignment. + /// + [Description("Start alignment.")] + START, + /// + ///Center alignment. + /// + [Description("Center alignment.")] + CENTER, + /// + ///End alignment. + /// + [Description("End alignment.")] + END, + } + + public static class CheckoutAndAccountsConfigurationBrandingHeaderAlignmentStringValues + { + 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 CheckoutAndAccountsConfigurationBrandingHeaderCartLink : 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(CheckoutAndAccountsConfigurationBrandingCartLinkContentType))] + 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 ICheckoutAndAccountsConfigurationBrandingImageValue? image { get; set; } + } + + /// + ///The input fields for customizing the cart link for 1-page checkout. This field allows to customize the cart icon that renders by default on 1-page checkout. + /// + [Description("The input fields for customizing the cart link for 1-page checkout. This field allows to customize the cart icon that renders by default on 1-page checkout.")] + public class CheckoutAndAccountsConfigurationBrandingHeaderCartLinkInput : 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(CheckoutAndAccountsConfigurationBrandingCartLinkContentType))] + 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 CheckoutAndAccountsConfigurationBrandingImageInput? image { get; set; } + } + + /// + ///The input fields for customizing the header. + /// + [Description("The input fields for customizing the header.")] + public class CheckoutAndAccountsConfigurationBrandingHeaderInput : GraphQLObject + { + /// + ///The header alignment. + /// + [Description("The header alignment.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingHeaderAlignment))] + public string? alignment { get; set; } + + /// + ///The store logo. + /// + [Description("The store logo.")] + public CheckoutAndAccountsConfigurationBrandingLogoInput? logo { get; set; } + + /// + ///The divided setting. + /// + [Description("The divided setting.")] + public bool? divided { get; set; } + + /// + ///The colors customizations for the header container. + /// + [Description("The colors customizations for the header container.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The background style of the header container. + /// + [Description("The background style of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The padding of the header container. + /// + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The possible header positions. + /// + [Description("The possible header positions.")] + public enum CheckoutAndAccountsConfigurationBrandingHeaderPosition + { + /// + ///Inline position. + /// + [Description("Inline position.")] + INLINE, + /// + ///Secondary inline position. + /// + [Description("Secondary inline position.")] + INLINE_SECONDARY, + /// + ///Start position. + /// + [Description("Start position.")] + START, + } + + public static class CheckoutAndAccountsConfigurationBrandingHeaderPositionStringValues + { + 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 CheckoutAndAccountsConfigurationBrandingHeadingLevel : GraphQLObject + { + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypographyStyle? typography { get; set; } + } + + /// + ///The input fields for customizing the heading level. + /// + [Description("The input fields for customizing the heading level.")] + public class CheckoutAndAccountsConfigurationBrandingHeadingLevelInput : GraphQLObject + { + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypographyStyleInput? typography { get; set; } + } + + /// + ///The image. + /// + [Description("The image.")] + public class CheckoutAndAccountsConfigurationBrandingImage : GraphQLObject, ICheckoutAndAccountsConfigurationBrandingImageValue + { + /// + ///The image details. + /// + [Description("The image details.")] + public Image? image { get; set; } + } + + /// + ///The input fields for customizing the image. + /// + [Description("The input fields for customizing the image.")] + public class CheckoutAndAccountsConfigurationBrandingImageInput : GraphQLObject + { + /// + ///A globally-unique ID. + /// + [Description("A globally-unique ID.")] + public string? mediaImageId { get; set; } + } + + /// + ///The image value. + /// + [Description("The image value.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CheckoutAndAccountsConfigurationBrandingImage), typeDiscriminator: "CheckoutAndAccountsConfigurationBrandingImage")] + public interface ICheckoutAndAccountsConfigurationBrandingImageValue : IGraphQLObject + { + public CheckoutAndAccountsConfigurationBrandingImage? AsCheckoutAndAccountsConfigurationBrandingImage() => this as CheckoutAndAccountsConfigurationBrandingImage; + /// + ///The image details. + /// + [Description("The image details.")] + public Image? image { get; set; } + } + + /// + ///The input fields for customizing Checkout and Customer Accounts branding. + /// + [Description("The input fields for customizing Checkout and Customer Accounts branding.")] + public class CheckoutAndAccountsConfigurationBrandingInput : GraphQLObject + { + /// + ///The design tokens 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 tokens 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.")] + public CheckoutAndAccountsConfigurationBrandingDesignTokensInput? designTokens { 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 CheckoutAndAccountsConfigurationBrandingComponentsInput? components { get; set; } + + /// + ///The surface-level customizations. + /// + [Description("The surface-level customizations.")] + public CheckoutAndAccountsConfigurationBrandingSurfacesInput? surfaces { get; set; } + } + + /// + ///The label position options. + /// + [Description("The label position options.")] + public enum CheckoutAndAccountsConfigurationBrandingLabelPosition + { + /// + ///The Inside label position. + /// + [Description("The Inside label position.")] + INSIDE, + /// + ///The Outside label position. + /// + [Description("The Outside label position.")] + OUTSIDE, + } + + public static class CheckoutAndAccountsConfigurationBrandingLabelPositionStringValues + { + public const string INSIDE = @"INSIDE"; + public const string OUTSIDE = @"OUTSIDE"; + } + + /// + ///The store logo customizations. + /// + [Description("The store logo customizations.")] + public class CheckoutAndAccountsConfigurationBrandingLogo : GraphQLObject + { + /// + ///The logo image. + /// + [Description("The logo image.")] + public ICheckoutAndAccountsConfigurationBrandingImageValue? image { get; set; } + + /// + ///The maximum width of the logo. + /// + [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(CheckoutAndAccountsConfigurationBrandingVisibility))] + public string? visibility { get; set; } + } + + /// + ///The input fields for customizing the logo. + /// + [Description("The input fields for customizing the logo.")] + public class CheckoutAndAccountsConfigurationBrandingLogoInput : GraphQLObject + { + /// + ///The logo image. + /// + [Description("The logo image.")] + public CheckoutAndAccountsConfigurationBrandingImageInput? image { get; set; } + + /// + ///The maximum width of the logo. + /// + [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(CheckoutAndAccountsConfigurationBrandingVisibility))] + public string? visibility { get; set; } + } + + /// + ///The main container customizations. + /// + [Description("The main container customizations.")] + public class CheckoutAndAccountsConfigurationBrandingMain : GraphQLObject + { + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The main container's divider style and visibility. + /// + [Description("The main container's divider style and visibility.")] + public CheckoutAndAccountsConfigurationBrandingContainerDivider? divider { get; set; } + + /// + ///The main sections. + /// + [Description("The main sections.")] + public CheckoutAndAccountsConfigurationBrandingMainSection? section { get; set; } + } + + /// + ///The input fields for customizing the main container. + /// + [Description("The input fields for customizing the main container.")] + public class CheckoutAndAccountsConfigurationBrandingMainInput : GraphQLObject + { + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///Divider style and visibility on the main container. + /// + [Description("Divider style and visibility on the main container.")] + public CheckoutAndAccountsConfigurationBrandingContainerDividerInput? divider { get; set; } + + /// + ///The customizations for the main sections. + /// + [Description("The customizations for the main sections.")] + public CheckoutAndAccountsConfigurationBrandingMainSectionInput? section { get; set; } + } + + /// + ///The main sections customizations. + /// + [Description("The main sections customizations.")] + public class CheckoutAndAccountsConfigurationBrandingMainSection : GraphQLObject + { + /// + ///The background style of the main sections. + /// + [Description("The background style of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The border for the main sections. + /// + [Description("The border for the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The border style of the main sections. + /// + [Description("The border style of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The border width of the main sections. + /// + [Description("The border width of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The corner radius of the main sections. + /// + [Description("The corner radius of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The padding of the main sections. + /// + [Description("The padding of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + + /// + ///The shadow of the main sections. + /// + [Description("The shadow of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingShadow))] + public string? shadow { get; set; } + } + + /// + ///The input fields for customizing the main sections. + /// + [Description("The input fields for customizing the main sections.")] + public class CheckoutAndAccountsConfigurationBrandingMainSectionInput : GraphQLObject + { + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The background style of the main sections. + /// + [Description("The background style of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The corner radius of the main sections. + /// + [Description("The corner radius of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The border for the main sections. + /// + [Description("The border for the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The border style of the main sections. + /// + [Description("The border style of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The border width of the main sections. + /// + [Description("The border width of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + + /// + ///The shadow of the main sections. + /// + [Description("The shadow of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingShadow))] + public string? shadow { get; set; } + + /// + ///The padding of the main sections. + /// + [Description("The padding of the main sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The merchandise thumbnails customizations. + /// + [Description("The merchandise thumbnails customizations.")] + public class CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnail : GraphQLObject + { + /// + ///The merchandise thumbnail badge. + /// + [Description("The merchandise thumbnail badge.")] + public CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailBadge? badge { get; set; } + + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + 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(CheckoutAndAccountsConfigurationBrandingObjectFit))] + public string? fit { get; set; } + } + + /// + ///The merchandise thumbnail badges customizations. + /// + [Description("The merchandise thumbnail badges customizations.")] + public class CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailBadge : GraphQLObject + { + /// + ///The background. + /// + [Description("The background.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailBadgeBackground))] + public string? background { get; set; } + } + + /// + ///The merchandise thumbnail badge background. + /// + [Description("The merchandise thumbnail badge background.")] + public enum CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailBadgeBackground + { + /// + ///The Accent background. + /// + [Description("The Accent background.")] + ACCENT, + /// + ///The Base background. + /// + [Description("The Base background.")] + BASE, + } + + public static class CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailBadgeBackgroundStringValues + { + public const string ACCENT = @"ACCENT"; + public const string BASE = @"BASE"; + } + + /// + ///The input fields for customizing the merchandise thumbnail badges. + /// + [Description("The input fields for customizing the merchandise thumbnail badges.")] + public class CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailBadgeInput : GraphQLObject + { + /// + ///The background. + /// + [Description("The background.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailBadgeBackground))] + public string? background { get; set; } + } + + /// + ///The input fields for customizing the merchandise thumbnails. + /// + [Description("The input fields for customizing the merchandise thumbnails.")] + public class CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailInput : GraphQLObject + { + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The corner radius. + /// + [Description("The corner radius.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The aspect ratio. + /// + [Description("The aspect ratio.")] + public decimal? aspectRatio { 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(CheckoutAndAccountsConfigurationBrandingObjectFit))] + public string? fit { get; set; } + + /// + ///The merchandise thumbnail badge. + /// + [Description("The merchandise thumbnail badge.")] + public CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailBadgeInput? badge { get; set; } + } + + /// + ///Possible values for object fit. + /// + [Description("Possible values for object fit.")] + public enum CheckoutAndAccountsConfigurationBrandingObjectFit + { + /// + ///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, + /// + ///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 CheckoutAndAccountsConfigurationBrandingObjectFitStringValues + { + public const string CONTAIN = @"CONTAIN"; + public const string COVER = @"COVER"; + } + + /// + ///The order summary customizations. + /// + [Description("The order summary customizations.")] + public class CheckoutAndAccountsConfigurationBrandingOrderSummary : GraphQLObject + { + /// + ///The background image of the order summary container. + /// + [Description("The background image of the order summary container.")] + public ICheckoutAndAccountsConfigurationBrandingImageValue? backgroundImage { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The order summary container's divider style and visibility. + /// + [Description("The order summary container's divider style and visibility.")] + public CheckoutAndAccountsConfigurationBrandingContainerDivider? divider { get; set; } + + /// + ///The order summary sections. + /// + [Description("The order summary sections.")] + public CheckoutAndAccountsConfigurationBrandingOrderSummarySection? section { get; set; } + } + + /// + ///The input fields for customizing the order summary container. + /// + [Description("The input fields for customizing the order summary container.")] + public class CheckoutAndAccountsConfigurationBrandingOrderSummaryInput : GraphQLObject + { + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { 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 CheckoutAndAccountsConfigurationBrandingImageInput? backgroundImage { get; set; } + + /// + ///Divider style and visibility on the order summary container. + /// + [Description("Divider style and visibility on the order summary container.")] + public CheckoutAndAccountsConfigurationBrandingContainerDividerInput? divider { get; set; } + + /// + ///The customizations for the order summary sections. + /// + [Description("The customizations for the order summary sections.")] + public CheckoutAndAccountsConfigurationBrandingOrderSummarySectionInput? section { get; set; } + } + + /// + ///The order summary sections customizations. + /// + [Description("The order summary sections customizations.")] + public class CheckoutAndAccountsConfigurationBrandingOrderSummarySection : GraphQLObject + { + /// + ///The background style of the order summary sections. + /// + [Description("The background style of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The border for the order summary sections. + /// + [Description("The border for the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The border style of the order summary sections. + /// + [Description("The border style of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The border width of the order summary sections. + /// + [Description("The border width of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The corner radius of the order summary sections. + /// + [Description("The corner radius of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The padding of the order summary sections. + /// + [Description("The padding of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + + /// + ///The shadow of the order summary sections. + /// + [Description("The shadow of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingShadow))] + public string? shadow { get; set; } + } + + /// + ///The input fields for customizing the order summary sections. + /// + [Description("The input fields for customizing the order summary sections.")] + public class CheckoutAndAccountsConfigurationBrandingOrderSummarySectionInput : GraphQLObject + { + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The background style of the order summary sections. + /// + [Description("The background style of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBackground))] + public string? background { get; set; } + + /// + ///The corner radius of the order summary sections. + /// + [Description("The corner radius of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The border for the order summary sections. + /// + [Description("The border for the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSimpleBorder))] + public string? border { get; set; } + + /// + ///The border style of the order summary sections. + /// + [Description("The border style of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderStyle))] + public string? borderStyle { get; set; } + + /// + ///The border width of the order summary sections. + /// + [Description("The border width of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorderWidth))] + public string? borderWidth { get; set; } + + /// + ///The shadow of the order summary sections. + /// + [Description("The shadow of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingShadow))] + public string? shadow { get; set; } + + /// + ///The padding of the order summary sections. + /// + [Description("The padding of the order summary sections.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///A set of colors used together on a surface. + /// + [Description("A set of colors used together on a surface.")] + public class CheckoutAndAccountsConfigurationBrandingPalette : GraphQLObject + { + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color1 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color10 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color11 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color12 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color13 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color14 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color15 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color16 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color17 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color18 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color19 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color2 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color20 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color3 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color4 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color5 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color6 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color7 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color8 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color9 { get; set; } + } + + /// + ///The input fields to update the color palette. + /// + [Description("The input fields to update the color palette.")] + public class CheckoutAndAccountsConfigurationBrandingPaletteInput : GraphQLObject + { + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color1 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color2 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color3 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color4 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color5 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color6 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color7 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color8 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color9 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color10 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color11 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color12 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color13 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color14 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color15 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color16 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color17 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color18 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color19 { get; set; } + + /// + ///A color in the palette (hex value). + /// + [Description("A color in the palette (hex value).")] + public string? color20 { get; set; } + } + + /// + ///The primary button color customizations. + /// + [Description("The primary button color customizations.")] + public class CheckoutAndAccountsConfigurationBrandingPrimaryButtonColorRoles : 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; } + + /// + ///The color of the background. + /// + [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; } + + /// + ///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; } + + /// + ///The colors of the button on hover. + /// + [Description("The colors of the button on hover.")] + public CheckoutAndAccountsConfigurationBrandingColorRoles? hover { get; set; } + + /// + ///The color of icons. + /// + [Description("The color of icons.")] + public string? icon { get; set; } + + /// + ///The color of text. + /// + [Description("The color of text.")] + public string? text { get; set; } + } + + /// + ///The input fields for customizing colors for primary buttons. + /// + [Description("The input fields for customizing colors for primary buttons.")] + public class CheckoutAndAccountsConfigurationBrandingPrimaryButtonColorRolesInput : GraphQLObject + { + /// + ///The color of the background. + /// + [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; } + + /// + ///The color of borders. + /// + [Description("The color of borders.")] + public string? border { get; set; } + + /// + ///The color of icons. + /// + [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; } + + /// + ///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; } + + /// + ///The colors of the button on hover. + /// + [Description("The colors of the button on hover.")] + public CheckoutAndAccountsConfigurationBrandingColorRolesInput? hover { get; set; } + } + + /// + ///The secondary button color customizations. + /// + [Description("The secondary button color customizations.")] + public class CheckoutAndAccountsConfigurationBrandingSecondaryButtonColorRoles : 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; } + + /// + ///The color of the background. + /// + [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; } + + /// + ///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; } + + /// + ///The colors of the button on hover. + /// + [Description("The colors of the button on hover.")] + public CheckoutAndAccountsConfigurationBrandingColorRoles? hover { get; set; } + + /// + ///The color of icons. + /// + [Description("The color of icons.")] + public string? icon { get; set; } + + /// + ///The color of text. + /// + [Description("The color of text.")] + public string? text { get; set; } + } + + /// + ///The input fields for customizing colors for secondary buttons. + /// + [Description("The input fields for customizing colors for secondary buttons.")] + public class CheckoutAndAccountsConfigurationBrandingSecondaryButtonColorRolesInput : GraphQLObject + { + /// + ///The color of the background. + /// + [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; } + + /// + ///The color of borders. + /// + [Description("The color of borders.")] + public string? border { get; set; } + + /// + ///The color of icons. + /// + [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; } + + /// + ///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; } + + /// + ///The colors of the button on hover. + /// + [Description("The colors of the button on hover.")] + public CheckoutAndAccountsConfigurationBrandingColorRolesInput? hover { get; set; } + } + + /// + ///The selects customizations. + /// + [Description("The selects customizations.")] + public class CheckoutAndAccountsConfigurationBrandingSelect : GraphQLObject + { + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorder))] + public string? border { get; set; } + + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypographyStyle? typography { get; set; } + } + + /// + ///The input fields for customizing the selects. + /// + [Description("The input fields for customizing the selects.")] + public class CheckoutAndAccountsConfigurationBrandingSelectInput : GraphQLObject + { + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorder))] + public string? border { get; set; } + + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypographyStyleInput? typography { get; set; } + } + + /// + ///The container shadow. + /// + [Description("The container shadow.")] + public enum CheckoutAndAccountsConfigurationBrandingShadow + { + /// + ///The Small 200 shadow. + /// + [Description("The Small 200 shadow.")] + SMALL_200, + /// + ///The Small 100 shadow. + /// + [Description("The Small 100 shadow.")] + SMALL_100, + /// + ///The Base shadow. + /// + [Description("The Base shadow.")] + BASE, + /// + ///The Large 100 shadow. + /// + [Description("The Large 100 shadow.")] + LARGE_100, + /// + ///The Large 200 shadow. + /// + [Description("The Large 200 shadow.")] + LARGE_200, + } + + public static class CheckoutAndAccountsConfigurationBrandingShadowStringValues + { + 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"; + } + + /// + ///The shared customizations. + /// + [Description("The shared customizations.")] + public class CheckoutAndAccountsConfigurationBrandingShared : GraphQLObject + { + /// + ///The shared color customizations for semantic and functional colors. + /// + [Description("The shared color customizations for semantic and functional colors.")] + public CheckoutAndAccountsConfigurationBrandingSharedColors? colors { get; set; } + + /// + ///The shared corner radius setting that overrides all other [corner radius](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutAndAccountsConfigurationBrandingCornerRadius) customizations. + /// + [Description("The shared corner radius setting that overrides all other [corner radius](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutAndAccountsConfigurationBrandingCornerRadius) customizations.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSharedCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The shared typography customizations. + /// + [Description("The shared typography customizations.")] + public CheckoutAndAccountsConfigurationBrandingSharedTypographyStyle? typography { get; set; } + } + + /// + ///Shared color customizations for semantic and functional colors. + /// + [Description("Shared color customizations for semantic and functional colors.")] + public class CheckoutAndAccountsConfigurationBrandingSharedColors : GraphQLObject + { + /// + ///The accent color for interactive elements. + /// + [Description("The accent color for interactive elements.")] + public string? accent { get; set; } + + /// + ///The button color. + /// + [Description("The button color.")] + public string? button { get; set; } + + /// + ///The form control color. + /// + [Description("The form control color.")] + public string? control { get; set; } + + /// + ///The critical/error color. + /// + [Description("The critical/error color.")] + public string? critical { get; set; } + + /// + ///The decorative color. + /// + [Description("The decorative color.")] + public string? decorative { get; set; } + + /// + ///The informational color. + /// + [Description("The informational color.")] + public string? info { get; set; } + + /// + ///The success color. + /// + [Description("The success color.")] + public string? success { get; set; } + + /// + ///The warning color. + /// + [Description("The warning color.")] + public string? warning { get; set; } + } + + /// + ///The input fields for customizing shared colors. + /// + [Description("The input fields for customizing shared colors.")] + public class CheckoutAndAccountsConfigurationBrandingSharedColorsInput : GraphQLObject + { + /// + ///The accent color for interactive elements. + /// + [Description("The accent color for interactive elements.")] + public string? accent { get; set; } + + /// + ///The button color. + /// + [Description("The button color.")] + public string? button { get; set; } + + /// + ///The form control color. + /// + [Description("The form control color.")] + public string? control { get; set; } + + /// + ///The decorative color. + /// + [Description("The decorative color.")] + public string? decorative { get; set; } + + /// + ///The critical/error color. + /// + [Description("The critical/error color.")] + public string? critical { get; set; } + + /// + ///The success color. + /// + [Description("The success color.")] + public string? success { get; set; } + + /// + ///The warning color. + /// + [Description("The warning color.")] + public string? warning { get; set; } + + /// + ///The informational color. + /// + [Description("The informational color.")] + public string? info { 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). + /// + [Description("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).")] + public enum CheckoutAndAccountsConfigurationBrandingSharedCornerRadius + { + /// + ///Set the shared corner radius override to 0px (square corners). + /// + [Description("Set the shared corner radius override to 0px (square corners).")] + NONE, + } + + public static class CheckoutAndAccountsConfigurationBrandingSharedCornerRadiusStringValues + { + public const string NONE = @"NONE"; + } + + /// + ///The input fields for customizing the shared settings. + /// + [Description("The input fields for customizing the shared settings.")] + public class CheckoutAndAccountsConfigurationBrandingSharedInput : GraphQLObject + { + /// + ///Select a shared corner radius setting that overrides all other corner radii customizations. + /// + [Description("Select a shared corner radius setting that overrides all other corner radii customizations.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSharedCornerRadius))] + public string? cornerRadius { get; set; } + + /// + ///The shared typography customizations. + /// + [Description("The shared typography customizations.")] + public CheckoutAndAccountsConfigurationBrandingSharedTypographyStyleInput? typography { get; set; } + + /// + ///The shared color customizations. + /// + [Description("The shared color customizations.")] + public CheckoutAndAccountsConfigurationBrandingSharedColorsInput? colors { get; set; } + } + + /// + ///The shared typography customizations. + /// + [Description("The shared typography customizations.")] + public class CheckoutAndAccountsConfigurationBrandingSharedTypographyStyle : GraphQLObject + { + /// + ///The kerning. + /// + [Description("The kerning.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyKerning))] + public string? kerning { get; set; } + + /// + ///The letter case. + /// + [Description("The letter case.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyLetterCase))] + public string? letterCase { get; set; } + } + + /// + ///The input fields for customizing the shared typography. + /// + [Description("The input fields for customizing the shared typography.")] + public class CheckoutAndAccountsConfigurationBrandingSharedTypographyStyleInput : GraphQLObject + { + /// + ///The letter case. + /// + [Description("The letter case.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyLetterCase))] + public string? letterCase { get; set; } + + /// + ///The kerning. + /// + [Description("The kerning.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyKerning))] + public string? kerning { get; set; } + } + + /// + ///The Shopify font customizations. + /// + [Description("The Shopify font customizations.")] + public class CheckoutAndAccountsConfigurationBrandingShopifyFont : GraphQLObject + { + /// + ///The font sources. + /// + [Description("The font sources.")] + public string? sources { get; set; } + + /// + ///The font weight. + /// + [Description("The font weight.")] + public int? weight { get; set; } + } + + /// + ///The Shopify font group customizations. + /// + [Description("The Shopify font group customizations.")] + public class CheckoutAndAccountsConfigurationBrandingShopifyFontGroup : GraphQLObject, ICheckoutAndAccountsConfigurationBrandingFontGroup + { + /// + ///The base Shopify font. + /// + [Description("The base Shopify font.")] + public CheckoutAndAccountsConfigurationBrandingShopifyFont? @base { get; set; } + + /// + ///The bold Shopify font. + /// + [Description("The bold Shopify font.")] + public CheckoutAndAccountsConfigurationBrandingShopifyFont? bold { get; set; } + + /// + ///The font loading strategy. + /// + [Description("The font loading strategy.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFontLoadingStrategy))] + public string? loadingStrategy { get; set; } + + /// + ///The font group name. + /// + [Description("The font group name.")] + public string? name { get; set; } + } + + /// + ///The input fields for customizing a Shopify font group. + /// + [Description("The input fields for customizing a Shopify font group.")] + public class CheckoutAndAccountsConfigurationBrandingShopifyFontGroupInput : GraphQLObject + { + /// + ///The Shopify base font handle. + /// + [Description("The Shopify base font handle.")] + [NonNull] + public string? baseFontHandle { get; set; } + + /// + ///The Shopify bold font handle. + /// + [Description("The Shopify bold font handle.")] + [NonNull] + public string? boldFontHandle { get; set; } + + /// + ///The font loading strategy. + /// + [Description("The font loading strategy.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingFontLoadingStrategy))] + public string? loadingStrategy { get; set; } + } + + /// + ///The sign-in-specific component customizations. + /// + [Description("The sign-in-specific component customizations.")] + public class CheckoutAndAccountsConfigurationBrandingSignInComponents : GraphQLObject + { + /// + ///The header customizations. + /// + [Description("The header customizations.")] + public CheckoutAndAccountsConfigurationBrandingSignInHeader? header { get; set; } + + /// + ///The main customizations. + /// + [Description("The main customizations.")] + public CheckoutAndAccountsConfigurationBrandingSignInMain? main { get; set; } + } + + /// + ///The input fields for customizing the sign-in components. + /// + [Description("The input fields for customizing the sign-in components.")] + public class CheckoutAndAccountsConfigurationBrandingSignInComponentsInput : GraphQLObject + { + /// + ///The main customizations. + /// + [Description("The main customizations.")] + public CheckoutAndAccountsConfigurationBrandingSignInMainInput? main { get; set; } + + /// + ///The header customizations. + /// + [Description("The header customizations.")] + public CheckoutAndAccountsConfigurationBrandingSignInHeaderInput? header { get; set; } + } + + /// + ///The sign-in header customizations. + /// + [Description("The sign-in header customizations.")] + public class CheckoutAndAccountsConfigurationBrandingSignInHeader : GraphQLObject + { + /// + ///The store logo. + /// + [Description("The store logo.")] + public CheckoutAndAccountsConfigurationBrandingSignInLogo? logo { get; set; } + + /// + ///The padding of the header container. + /// + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The input fields for customizing the sign-in header. + /// + [Description("The input fields for customizing the sign-in header.")] + public class CheckoutAndAccountsConfigurationBrandingSignInHeaderInput : GraphQLObject + { + /// + ///The store logo. + /// + [Description("The store logo.")] + public CheckoutAndAccountsConfigurationBrandingSignInLogoInput? logo { get; set; } + + /// + ///The padding of the header container. + /// + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingSpacingKeyword))] + public string? padding { get; set; } + } + + /// + ///The sign-in store logo customizations. + /// + [Description("The sign-in store logo customizations.")] + public class CheckoutAndAccountsConfigurationBrandingSignInLogo : GraphQLObject + { + /// + ///The logo image. + /// + [Description("The logo image.")] + public ICheckoutAndAccountsConfigurationBrandingImageValue? image { get; set; } + + /// + ///The maximum width of the logo. + /// + [Description("The maximum width of the logo.")] + public int? maxWidth { get; set; } + } + + /// + ///The input fields for customizing the sign-in logo. + /// + [Description("The input fields for customizing the sign-in logo.")] + public class CheckoutAndAccountsConfigurationBrandingSignInLogoInput : GraphQLObject + { + /// + ///The logo image. + /// + [Description("The logo image.")] + public CheckoutAndAccountsConfigurationBrandingImageInput? image { get; set; } + + /// + ///The maximum width of the logo. + /// + [Description("The maximum width of the logo.")] + public int? maxWidth { get; set; } + } + + /// + ///The sign-in-specific main customizations. + /// + [Description("The sign-in-specific main customizations.")] + public class CheckoutAndAccountsConfigurationBrandingSignInMain : GraphQLObject + { + /// + ///The background image of the main container. + /// + [Description("The background image of the main container.")] + public ICheckoutAndAccountsConfigurationBrandingImageValue? backgroundImage { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColors? colors { get; set; } + + /// + ///The main sections. + /// + [Description("The main sections.")] + public CheckoutAndAccountsConfigurationBrandingMainSection? section { get; set; } + } + + /// + ///The input fields for customizing the sign-in main container. + /// + [Description("The input fields for customizing the sign-in main container.")] + public class CheckoutAndAccountsConfigurationBrandingSignInMainInput : GraphQLObject + { + /// + ///The background image of the main container. + /// + [Description("The background image of the main container.")] + public CheckoutAndAccountsConfigurationBrandingImageInput? backgroundImage { get; set; } + + /// + ///The colors customizations. + /// + [Description("The colors customizations.")] + public CheckoutAndAccountsConfigurationBrandingColorsInput? colors { get; set; } + + /// + ///The customizations for the main sections. + /// + [Description("The customizations for the main sections.")] + public CheckoutAndAccountsConfigurationBrandingMainSectionInput? section { get; set; } + } + + /// + ///The sign-in-specific component customizations. + /// + [Description("The sign-in-specific component customizations.")] + public class CheckoutAndAccountsConfigurationBrandingSignInSurface : GraphQLObject + { + /// + ///The sign-in components. + /// + [Description("The sign-in components.")] + public CheckoutAndAccountsConfigurationBrandingSignInComponents? components { get; set; } + } + + /// + ///The input fields for customizing the sign-in surface. + /// + [Description("The input fields for customizing the sign-in surface.")] + public class CheckoutAndAccountsConfigurationBrandingSignInSurfaceInput : GraphQLObject + { + /// + ///The sign-in components. + /// + [Description("The sign-in components.")] + public CheckoutAndAccountsConfigurationBrandingSignInComponentsInput? components { get; set; } + } + + /// + ///Possible values for the simple border. + /// + [Description("Possible values for the simple border.")] + public enum CheckoutAndAccountsConfigurationBrandingSimpleBorder + { + /// + ///The None simple border. + /// + [Description("The None simple border.")] + NONE, + /// + ///The Full simple border. + /// + [Description("The Full simple border.")] + FULL, + } + + public static class CheckoutAndAccountsConfigurationBrandingSimpleBorderStringValues + { + public const string NONE = @"NONE"; + public const string FULL = @"FULL"; + } + + /// + ///Possible values for the spacing. + /// + [Description("Possible values for the spacing.")] + public enum CheckoutAndAccountsConfigurationBrandingSpacing + { + /// + ///The None spacing. + /// + [Description("The None spacing.")] + NONE, + /// + ///The Extra Tight spacing. + /// + [Description("The Extra Tight spacing.")] + EXTRA_TIGHT, + /// + ///The Tight spacing. + /// + [Description("The Tight spacing.")] + TIGHT, + /// + ///The Base spacing. + /// + [Description("The Base spacing.")] + BASE, + /// + ///The Loose spacing. + /// + [Description("The Loose spacing.")] + LOOSE, + /// + ///The Extra Loose spacing. + /// + [Description("The Extra Loose spacing.")] + EXTRA_LOOSE, + } + + public static class CheckoutAndAccountsConfigurationBrandingSpacingStringValues + { + 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 CheckoutAndAccountsConfigurationBrandingSpacingKeyword + { + /// + ///The None spacing. + /// + [Description("The None spacing.")] + NONE, + /// + ///The Base spacing. + /// + [Description("The Base spacing.")] + BASE, + /// + ///The Small spacing. + /// + [Description("The Small spacing.")] + SMALL, + /// + ///The Small 100 spacing. + /// + [Description("The Small 100 spacing.")] + SMALL_100, + /// + ///The Small 200 spacing. + /// + [Description("The Small 200 spacing.")] + SMALL_200, + /// + ///The Small 300 spacing. + /// + [Description("The Small 300 spacing.")] + SMALL_300, + /// + ///The Small 400 spacing. + /// + [Description("The Small 400 spacing.")] + SMALL_400, + /// + ///The Small 500 spacing. + /// + [Description("The Small 500 spacing.")] + SMALL_500, + /// + ///The Large spacing. + /// + [Description("The Large spacing.")] + LARGE, + /// + ///The Large 100 spacing. + /// + [Description("The Large 100 spacing.")] + LARGE_100, + /// + ///The Large 200 spacing. + /// + [Description("The Large 200 spacing.")] + LARGE_200, + /// + ///The Large 300 spacing. + /// + [Description("The Large 300 spacing.")] + LARGE_300, + /// + ///The Large 400 spacing. + /// + [Description("The Large 400 spacing.")] + LARGE_400, + /// + ///The Large 500 spacing. + /// + [Description("The Large 500 spacing.")] + LARGE_500, + } + + public static class CheckoutAndAccountsConfigurationBrandingSpacingKeywordStringValues + { + 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 surface-specific component customizations for checkout and customer accounts. + /// + [Description("The surface-specific component customizations for checkout and customer accounts.")] + public class CheckoutAndAccountsConfigurationBrandingSurfaces : GraphQLObject + { + /// + ///The checkout-specific component overrides. + /// + [Description("The checkout-specific component overrides.")] + public CheckoutAndAccountsConfigurationBrandingCheckoutSurface? checkout { get; set; } + + /// + ///The customer accounts-specific component overrides. + /// + [Description("The customer accounts-specific component overrides.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsSurface? customerAccounts { get; set; } + + /// + ///The sign-in-specific component overrides. + /// + [Description("The sign-in-specific component overrides.")] + public CheckoutAndAccountsConfigurationBrandingSignInSurface? signIn { get; set; } + } + + /// + ///The input fields for customizing surfaces branding. + /// + [Description("The input fields for customizing surfaces branding.")] + public class CheckoutAndAccountsConfigurationBrandingSurfacesInput : GraphQLObject + { + /// + ///The checkout surface customizations. + /// + [Description("The checkout surface customizations.")] + public CheckoutAndAccountsConfigurationBrandingCheckoutSurfaceInput? checkout { get; set; } + + /// + ///The customer accounts surface customizations. + /// + [Description("The customer accounts surface customizations.")] + public CheckoutAndAccountsConfigurationBrandingCustomerAccountsSurfaceInput? customerAccounts { get; set; } + + /// + ///The sign-in surface customizations. + /// + [Description("The sign-in surface customizations.")] + public CheckoutAndAccountsConfigurationBrandingSignInSurfaceInput? signIn { get; set; } + } + + /// + ///The text fields customizations. + /// + [Description("The text fields customizations.")] + public class CheckoutAndAccountsConfigurationBrandingTextField : GraphQLObject + { + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorder))] + public string? border { get; set; } + + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypographyStyle? typography { get; set; } + } + + /// + ///The input fields for customizing the text fields. + /// + [Description("The input fields for customizing the text fields.")] + public class CheckoutAndAccountsConfigurationBrandingTextFieldInput : GraphQLObject + { + /// + ///The border. + /// + [Description("The border.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingBorder))] + public string? border { get; set; } + + /// + ///The typography. + /// + [Description("The typography.")] + public CheckoutAndAccountsConfigurationBrandingTypographyStyleInput? typography { get; set; } + } + + /// + ///The typography customizations. + /// + [Description("The typography customizations.")] + public class CheckoutAndAccountsConfigurationBrandingTypography : GraphQLObject + { + /// + ///The font group used for most components such as text, buttons and form controls. + /// + [Description("The font group used for most components such as text, buttons and form controls.")] + public ICheckoutAndAccountsConfigurationBrandingFontGroup? primary { get; set; } + + /// + ///The font group used for heading components by default. + /// + [Description("The font group used for heading components by default.")] + public ICheckoutAndAccountsConfigurationBrandingFontGroup? secondary { get; set; } + + /// + ///The font size (base size in pixels and scaling between different sizes). + /// + [Description("The font size (base size in pixels and scaling between different sizes).")] + public CheckoutAndAccountsConfigurationBrandingFontSize? size { get; set; } + } + + /// + ///The font selection. + /// + [Description("The font selection.")] + public enum CheckoutAndAccountsConfigurationBrandingTypographyFont + { + /// + ///The primary font. + /// + [Description("The primary font.")] + PRIMARY, + /// + ///The secondary font. + /// + [Description("The secondary font.")] + SECONDARY, + } + + public static class CheckoutAndAccountsConfigurationBrandingTypographyFontStringValues + { + public const string PRIMARY = @"PRIMARY"; + public const string SECONDARY = @"SECONDARY"; + } + + /// + ///The input fields for customizing the typography. + /// + [Description("The input fields for customizing the typography.")] + public class CheckoutAndAccountsConfigurationBrandingTypographyInput : GraphQLObject + { + /// + ///The font size. + /// + [Description("The font size.")] + public CheckoutAndAccountsConfigurationBrandingFontSizeInput? size { get; set; } + + /// + ///The font group used for most components such as text, buttons and form controls. + /// + [Description("The font group used for most components such as text, buttons and form controls.")] + public CheckoutAndAccountsConfigurationBrandingFontGroupInput? primary { get; set; } + + /// + ///The font group used for heading components by default. + /// + [Description("The font group used for heading components by default.")] + public CheckoutAndAccountsConfigurationBrandingFontGroupInput? secondary { get; set; } + } + + /// + ///Possible values for the typography kerning. + /// + [Description("Possible values for the typography kerning.")] + public enum CheckoutAndAccountsConfigurationBrandingTypographyKerning + { + /// + ///Base or default kerning. + /// + [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, + /// + ///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 CheckoutAndAccountsConfigurationBrandingTypographyKerningStringValues + { + 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 CheckoutAndAccountsConfigurationBrandingTypographyLetterCase + { + /// + ///All letters are is lower case. + /// + [Description("All letters are is lower case.")] + LOWER, + /// + ///No letter casing applied. + /// + [Description("No letter casing applied.")] + NONE, + /// + ///Capitalize the first letter of each word. + /// + [Description("Capitalize the first letter of each word.")] + TITLE, + /// + ///All letters are uppercase. + /// + [Description("All letters are uppercase.")] + UPPER, + } + + public static class CheckoutAndAccountsConfigurationBrandingTypographyLetterCaseStringValues + { + 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. + /// + [Description("Possible choices for the font size.")] + public enum CheckoutAndAccountsConfigurationBrandingTypographySize + { + /// + ///The Extra small font size. Example: 10px. + /// + [Description("The Extra small font size. Example: 10px.")] + EXTRA_SMALL, + /// + ///The Small font size. Example: 12px. + /// + [Description("The Small font size. Example: 12px.")] + SMALL, + /// + ///The Base font size. Example: 14px. + /// + [Description("The Base font size. Example: 14px.")] + BASE, + /// + ///The Medium font size. Example: 16px. + /// + [Description("The Medium font size. Example: 16px.")] + MEDIUM, + /// + ///The Large font size. Example: 19px. + /// + [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, + /// + ///The Extra extra large font size. Example: 24px. + /// + [Description("The Extra extra large font size. Example: 24px.")] + EXTRA_EXTRA_LARGE, + } + + public static class CheckoutAndAccountsConfigurationBrandingTypographySizeStringValues + { + 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 CheckoutAndAccountsConfigurationBrandingTypographyStyle : GraphQLObject + { + /// + ///The font. + /// + [Description("The font.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyFont))] + public string? font { get; set; } + + /// + ///The kerning. + /// + [Description("The kerning.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyKerning))] + public string? kerning { get; set; } + + /// + ///The letter case. + /// + [Description("The letter case.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyLetterCase))] + public string? letterCase { get; set; } + + /// + ///The font size. + /// + [Description("The font size.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographySize))] + public string? size { get; set; } + + /// + ///The font weight. + /// + [Description("The font weight.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyWeight))] + public string? weight { get; set; } + } + + /// + ///The input fields for customizing the typography. + /// + [Description("The input fields for customizing the typography.")] + public class CheckoutAndAccountsConfigurationBrandingTypographyStyleInput : GraphQLObject + { + /// + ///The font. + /// + [Description("The font.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyFont))] + public string? font { get; set; } + + /// + ///The font size. + /// + [Description("The font size.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographySize))] + public string? size { get; set; } + + /// + ///The font weight. + /// + [Description("The font weight.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyWeight))] + public string? weight { get; set; } + + /// + ///The letter case. + /// + [Description("The letter case.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyLetterCase))] + public string? letterCase { get; set; } + + /// + ///The kerning. + /// + [Description("The kerning.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationBrandingTypographyKerning))] + public string? kerning { get; set; } + } + + /// + ///Possible values for the font weight. + /// + [Description("Possible values for the font weight.")] + public enum CheckoutAndAccountsConfigurationBrandingTypographyWeight + { + /// + ///The base weight. + /// + [Description("The base weight.")] + BASE, + /// + ///The bold weight. + /// + [Description("The bold weight.")] + BOLD, + } + + public static class CheckoutAndAccountsConfigurationBrandingTypographyWeightStringValues + { + public const string BASE = @"BASE"; + public const string BOLD = @"BOLD"; + } + + /// + ///Possible visibility states. + /// + [Description("Possible visibility states.")] + public enum CheckoutAndAccountsConfigurationBrandingVisibility + { + /// + ///The Hidden visibility setting. + /// + [Description("The Hidden visibility setting.")] + HIDDEN, + /// + ///The Visible visibility setting. + /// + [Description("The Visible visibility setting.")] + VISIBLE, + } + + public static class CheckoutAndAccountsConfigurationBrandingVisibilityStringValues + { + public const string HIDDEN = @"HIDDEN"; + public const string VISIBLE = @"VISIBLE"; + } + + /// + ///An auto-generated type for paginating through multiple CheckoutAndAccountsConfigurations. + /// + [Description("An auto-generated type for paginating through multiple CheckoutAndAccountsConfigurations.")] + public class CheckoutAndAccountsConfigurationConnection : 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; } + + /// + ///A list of nodes that are contained in CheckoutAndAccountsConfigurationEdge. You can fetch data about an individual node, or you can 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 CheckoutAndAccountsConfigurationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data 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; } + } + + /// + ///An auto-generated type which holds one CheckoutAndAccountsConfiguration and a cursor during pagination. + /// + [Description("An auto-generated type which holds one CheckoutAndAccountsConfiguration and a cursor during pagination.")] + public class CheckoutAndAccountsConfigurationEdge : 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; } + + /// + ///The item at the end of CheckoutAndAccountsConfigurationEdge. + /// + [Description("The item at the end of CheckoutAndAccountsConfigurationEdge.")] + [NonNull] + public CheckoutAndAccountsConfiguration? node { get; set; } + } + + /// + ///The input fields for checkout and account configurations. + /// + [Description("The input fields for checkout and account configurations.")] + public class CheckoutAndAccountsConfigurationInput : GraphQLObject + { + /// + ///The overrides to create/update in the configuration. + /// + [Description("The overrides to create/update in the configuration.")] + public IEnumerable? overrides { get; set; } + + /// + ///The branding settings of the configuration. + /// + [Description("The branding settings of the configuration.")] + public CheckoutAndAccountsConfigurationBrandingInput? branding { get; set; } + } + + /// + ///Represents a checkout and accounts configuration interface. + /// + [Description("Represents a checkout and accounts configuration interface.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CheckoutAndAccountsConfiguration), typeDiscriminator: "CheckoutAndAccountsConfiguration")] + [JsonDerivedType(typeof(CheckoutAndAccountsConfigurationOverride), typeDiscriminator: "CheckoutAndAccountsConfigurationOverride")] + public interface ICheckoutAndAccountsConfigurationInterface : IGraphQLObject + { + public CheckoutAndAccountsConfiguration? AsCheckoutAndAccountsConfiguration() => this as CheckoutAndAccountsConfiguration; + public CheckoutAndAccountsConfigurationOverride? AsCheckoutAndAccountsConfigurationOverride() => this as CheckoutAndAccountsConfigurationOverride; + /// + ///The branding configuration. + /// + [Description("The branding configuration.")] + public CheckoutAndAccountsConfigurationBranding? branding { get; } + + /// + ///The date and time when the configuration was created. + /// + [Description("The date and time when the configuration was created.")] + [NonNull] + public DateTime? createdAt { get; } + + /// + ///The date and time when the configuration was last edited. + /// + [Description("The date and time when the configuration was last edited.")] + [NonNull] + public DateTime? editedAt { get; } + + /// + ///The configuration name. + /// + [Description("The configuration name.")] + [NonNull] + public string? name { get; } + + /// + ///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; } + } + + /// + ///A checkout and account configuration override modifies a parent configuration for specific markets. + /// + [Description("A checkout and account configuration override modifies a parent configuration for specific markets.")] + public class CheckoutAndAccountsConfigurationOverride : GraphQLObject, ICheckoutAndAccountsConfigurationInterface, INode + { + /// + ///The branding configuration. + /// + [Description("The branding configuration.")] + public CheckoutAndAccountsConfigurationBranding? branding { 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; } + + /// + ///The date and time when the configuration was last edited. + /// + [Description("The date and time when the configuration was last edited.")] + [NonNull] + public DateTime? editedAt { get; set; } + + /// + ///A globally-unique ID. + /// + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + + /// + ///The configuration name. + /// + [Description("The configuration name.")] + [NonNull] + public string? name { 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; } + } + + /// + ///The input fields for checkout and account configuration overrides. + /// + [Description("The input fields for checkout and account configuration overrides.")] + public class CheckoutAndAccountsConfigurationOverrideInput : GraphQLObject + { + /// + ///The ID of the configuration override to update. + /// + [Description("The ID of the configuration override to update.")] + public string? id { get; set; } + + /// + ///The branding settings of the configuration. + /// + [Description("The branding settings of the configuration.")] + public CheckoutAndAccountsConfigurationBrandingInput? branding { get; set; } + } + + /// + ///Return type for `checkoutAndAccountsConfigurationUpdate` mutation. + /// + [Description("Return type for `checkoutAndAccountsConfigurationUpdate` mutation.")] + public class CheckoutAndAccountsConfigurationUpdatePayload : GraphQLObject + { + /// + ///The updated configuration. + /// + [Description("The updated configuration.")] + public CheckoutAndAccountsConfiguration? configuration { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 mutation for managing checkout and accounts configurations. + /// + [Description("An error that occurs during the execution of a mutation for managing checkout and accounts configurations.")] + public class CheckoutAndAccountsConfigurationUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(CheckoutAndAccountsConfigurationUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + + /// + ///The reason for the error. + /// + [Description("The reason for the error.")] + [NonNull] + public string? reason { get; set; } + } + + /// + ///Possible error codes that can be returned by `CheckoutAndAccountsConfigurationUserError`. + /// + [Description("Possible error codes that can be returned by `CheckoutAndAccountsConfigurationUserError`.")] + public enum CheckoutAndAccountsConfigurationUserErrorCode + { + /// + ///The input value is invalid. + /// + [Description("The input value is invalid.")] + INVALID, + /// + ///The input value is blank. + /// + [Description("The input value is blank.")] + BLANK, + /// + ///Internal error. Looks like something went wrong on our end. + /// + [Description("Internal error. Looks like something went wrong on our end.")] + INTERNAL_SERVER_ERROR, + /// + ///One or more required fields are missing in the input. + /// + [Description("One or more required fields are missing in the input.")] + MISSING, + /// + ///One or more requested items couldn't be found. + /// + [Description("One or more requested items couldn't be found.")] + NOT_FOUND, + /// + ///The request could not be completed — please try again later. + /// + [Description("The request could not be completed — please try again later.")] + TRANSIENT, + } + + public static class CheckoutAndAccountsConfigurationUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string INTERNAL_SERVER_ERROR = @"INTERNAL_SERVER_ERROR"; + public const string MISSING = @"MISSING"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string TRANSIENT = @"TRANSIENT"; + } + + /// + ///The set of valid sort keys for the CheckoutAndAccountsConfigurationsGraphQL query. + /// + [Description("The set of valid sort keys for the CheckoutAndAccountsConfigurationsGraphQL query.")] + public enum CheckoutAndAccountsConfigurationsGraphQLSortKeys + { + /// + ///Sort by the `created_at` value. + /// + [Description("Sort by the `created_at` value.")] + CREATED_AT, + /// + ///Sort by the `edited_at` value. + /// + [Description("Sort by the `edited_at` value.")] + EDITED_AT, + /// + ///Sort by the `id` value. + /// + [Description("Sort by the `id` value.")] + ID, + /// + ///Sort by the `is_published` value. + /// + [Description("Sort by the `is_published` value.")] + IS_PUBLISHED, + } + + public static class CheckoutAndAccountsConfigurationsGraphQLSortKeysStringValues + { + 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"; + } + /// ///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. /// @@ -11490,6 +18492,16 @@ public enum CheckoutBrandingColorSchemeSelection /// [Description("The COLOR_SCHEME4 color scheme selection.")] COLOR_SCHEME4, + /// + ///The COLOR_SCHEME5 color scheme selection. + /// + [Description("The COLOR_SCHEME5 color scheme selection.")] + COLOR_SCHEME5, + /// + ///The COLOR_SCHEME6 color scheme selection. + /// + [Description("The COLOR_SCHEME6 color scheme selection.")] + COLOR_SCHEME6, } public static class CheckoutBrandingColorSchemeSelectionStringValues @@ -11499,6 +18511,8 @@ public static class CheckoutBrandingColorSchemeSelectionStringValues public const string COLOR_SCHEME2 = @"COLOR_SCHEME2"; public const string COLOR_SCHEME3 = @"COLOR_SCHEME3"; public const string COLOR_SCHEME4 = @"COLOR_SCHEME4"; + public const string COLOR_SCHEME5 = @"COLOR_SCHEME5"; + public const string COLOR_SCHEME6 = @"COLOR_SCHEME6"; } /// @@ -11530,6 +18544,18 @@ public class CheckoutBrandingColorSchemes : GraphQLObject [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] public CheckoutBrandingColorScheme? scheme4 { 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? scheme5 { 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? scheme6 { get; set; } } /// @@ -11561,6 +18587,18 @@ public class CheckoutBrandingColorSchemesInput : GraphQLObject [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] public CheckoutBrandingColorSchemeInput? scheme4 { 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? scheme5 { 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? scheme6 { get; set; } } /// @@ -14958,6 +21996,7 @@ public class Collection : GraphQLObject, IHasEvents, IHasMetafieldDe ///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.")] + [Obsolete("Use `publishedOnPublication` instead.")] [NonNull] public bool? publishedOnCurrentPublication { get; set; } @@ -16584,6 +23623,21 @@ public enum ColumnDataType /// [Description("Represents a duration in days.")] DAY_DURATION, + /// + ///Represents a hex color value. + /// + [Description("Represents a hex color value.")] + COLOR, + /// + ///Represents a string identity value. + /// + [Description("Represents a string identity value.")] + STRING_IDENTITY, + /// + ///Represents a rating value. + /// + [Description("Represents a rating value.")] + RATING, } public static class ColumnDataTypeStringValues @@ -16616,6 +23670,9 @@ public static class ColumnDataTypeStringValues public const string MINUTE_DURATION = @"MINUTE_DURATION"; public const string HOUR_DURATION = @"HOUR_DURATION"; public const string DAY_DURATION = @"DAY_DURATION"; + public const string COLOR = @"COLOR"; + public const string STRING_IDENTITY = @"STRING_IDENTITY"; + public const string RATING = @"RATING"; } /// @@ -19452,8 +26509,10 @@ public class CompanyLocationAssignTaxExemptionsPayload : GraphQLObject ///A list of products with publishing and pricing information associated with company locations. + /// + ///Company location catalogs can include an optional publication to control product visibility and a price list to customize pricing. When a publication isn't associated with the catalog, product availability is determined by the sales channel. /// - [Description("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.\n\nCompany location catalogs can include an optional publication to control product visibility and a price list to customize pricing. When a publication isn't associated with the catalog, product availability is determined by the sales channel.")] public class CompanyLocationCatalog : GraphQLObject, ICatalog, INode { /// @@ -24665,10 +31724,9 @@ public class CustomerEmailMarketingConsentInput : GraphQLObject - ///The current marketing state associated with the customer's email. - /// If the customer doesn't have an email, then this field is `null`. + ///The marketing state to set. Accepted values: SUBSCRIBED, UNSUBSCRIBED, and PENDING. NOT_SUBSCRIBED, REDACTED, and INVALID are rejected if sent as input. /// - [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`.")] + [Description("The marketing state to set. Accepted values: SUBSCRIBED, UNSUBSCRIBED, and PENDING. NOT_SUBSCRIBED, REDACTED, and INVALID are rejected if sent as input.")] [NonNull] [EnumType(typeof(CustomerEmailMarketingState))] public string? marketingState { get; set; } @@ -24835,9 +31893,11 @@ public static class CustomerEmailMarketingConsentUpdateUserErrorCodeStringValues public enum CustomerEmailMarketingState { /// - ///The customer isn't subscribed to email marketing. + ///Default state for customers who have never subscribed to email marketing. + ///This value cannot be set via the mutation; use UNSUBSCRIBED instead to indicate + ///a customer has opted out. /// - [Description("The customer isn't subscribed to email marketing.")] + [Description("Default state for customers who have never subscribed to email marketing.\nThis value cannot be set via the mutation; use UNSUBSCRIBED instead to indicate\na customer has opted out.")] NOT_SUBSCRIBED, /// ///The customer is in the process of subscribing to email marketing. @@ -24860,9 +31920,9 @@ public enum CustomerEmailMarketingState [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. + ///This value is internally-set and read-only. /// - [Description("The customer’s email address marketing state is invalid.")] + [Description("This value is internally-set and read-only.")] INVALID, } @@ -28408,6 +35468,12 @@ public class DelegateAccessToken : GraphQLObject [Description("The date and time when the delegate access token was created.")] [NonNull] public DateTime? createdAt { get; set; } + + /// + ///The number of seconds until the delegate access token expires. + /// + [Description("The number of seconds until the delegate access token expires.")] + public int? expiresIn { get; set; } } /// @@ -29775,52 +36841,6 @@ public class DeliveryCustomizationUpdatePayload : GraphQLObject? 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 - { - /// - ///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; } - - /// - ///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; } - } - - /// - ///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 - { - /// - ///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, - /// - ///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"; - } - /// ///Local pickup settings associated with a location. /// @@ -30669,14 +37689,6 @@ public class DeliveryProfile : GraphQLObject, INode [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.")] - [Obsolete("Legacy mode profiles are no longer supported. This will be removed in 2026-04.")] - [NonNull] - public bool? legacyMode { get; set; } - /// ///The number of locations without rates defined. /// @@ -31782,52 +38794,12 @@ public interface IDeliveryRateProvider : IGraphQLObject public string? id { get; set; } } - /// - ///The `DeliverySetting` object enables you to manage shop-wide shipping settings. - /// - [Description("The `DeliverySetting` object enables you to manage shop-wide shipping settings.")] - 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. Note: this field is effectively deprecated and will be removed in a future version of the API. - /// - [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. Note: this field is effectively deprecated and will be removed in a future version of the API.")] - [NonNull] - public DeliveryLegacyModeBlocked? legacyModeBlocked { get; set; } - - /// - ///Enables legacy compatability mode for the multi-location delivery profiles feature. Note: this field is effectively deprecated and will be removed in a future version of the API. - /// - [Description("Enables legacy compatability mode for the multi-location delivery profiles feature. Note: this field is effectively deprecated and will be removed in a future version of the API.")] - [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 - { - /// - ///Whether legacy compatability mode is enabled for the multi-location delivery profiles feature. Note: this field is effectively deprecated and will be removed in a future version of the API. - /// - [Description("Whether legacy compatability mode is enabled for the multi-location delivery profiles feature. Note: this field is effectively deprecated and will be removed in a future version of the API.")] - public bool? legacyModeProfiles { get; set; } - } - /// ///Return type for `deliverySettingUpdate` mutation. /// [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; } - /// ///The list of errors that occurred from executing the mutation. /// @@ -32132,6 +39104,15 @@ public interface IDiscount : IGraphQLObject [EnumType(typeof(DiscountStatus))] public string? status { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -32584,6 +39565,15 @@ public interface IDiscountAutomatic : IGraphQLObject [EnumType(typeof(DiscountStatus))] public string? status { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -32774,6 +39764,15 @@ public class DiscountAutomaticApp : GraphQLObject, IDiscou [EnumType(typeof(DiscountStatus))] public string? status { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -32862,6 +39861,20 @@ public class DiscountAutomaticAppInput : GraphQLObject + ///A list of searchable keywords that are associated with the discount. + /// + ///For example, a `loyalty` tag could be applied to discounts + ///that are associated with a loyalty program. + /// + ///Updating `tags` overwrites any existing tags that were previously added to the discount. + ///To add new tags without overwriting existing tags, use the + ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) + ///mutation. + /// + [Description("A list of searchable keywords that are associated with the discount.\n\nFor example, a `loyalty` tag could be applied to discounts\nthat are associated with a loyalty program.\n\nUpdating `tags` overwrites any existing tags that were previously added to the discount.\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 ID of the function providing the discount. /// @@ -33072,6 +40085,15 @@ public class DiscountAutomaticBasic : GraphQLObject, IDi [NonNull] public string? summary { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -33164,6 +40186,20 @@ public class DiscountAutomaticBasicInput : GraphQLObject + ///A list of searchable keywords that are associated with the discount. + /// + ///For example, a `loyalty` tag could be applied to discounts + ///that are associated with a loyalty program. + /// + ///Updating `tags` overwrites any existing tags that were previously added to the discount. + ///To add new tags without overwriting existing tags, use the + ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) + ///mutation. + /// + [Description("A list of searchable keywords that are associated with the discount.\n\nFor example, a `loyalty` tag could be applied to discounts\nthat are associated with a loyalty program.\n\nUpdating `tags` overwrites any existing tags that were previously added to the discount.\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 minimum subtotal or quantity of items that are required for the discount to be applied. /// @@ -33365,6 +40401,15 @@ public class DiscountAutomaticBxgy : GraphQLObject, IHasE [NonNull] public string? summary { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -33464,6 +40509,20 @@ public class DiscountAutomaticBxgyInput : GraphQLObject + ///A list of searchable keywords that are associated with the discount. + /// + ///For example, a `loyalty` tag could be applied to discounts + ///that are associated with a loyalty program. + /// + ///Updating `tags` overwrites any existing tags that were previously added to the discount. + ///To add new tags without overwriting existing tags, use the + ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) + ///mutation. + /// + [Description("A list of searchable keywords that are associated with the discount.\n\nFor example, a `loyalty` tag could be applied to discounts\nthat are associated with a loyalty program.\n\nUpdating `tags` overwrites any existing tags that were previously added to the discount.\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 maximum number of times that the discount can be applied to an order. /// @@ -33773,6 +40832,15 @@ public class DiscountAutomaticFreeShipping : GraphQLObject + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -33861,6 +40929,20 @@ public class DiscountAutomaticFreeShippingInput : GraphQLObject + ///A list of searchable keywords that are associated with the discount. + /// + ///For example, a `loyalty` tag could be applied to discounts + ///that are associated with a loyalty program. + /// + ///Updating `tags` overwrites any existing tags that were previously added to the discount. + ///To add new tags without overwriting existing tags, use the + ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) + ///mutation. + /// + [Description("A list of searchable keywords that are associated with the discount.\n\nFor example, a `loyalty` tag could be applied to discounts\nthat are associated with a loyalty program.\n\nUpdating `tags` overwrites any existing tags that were previously added to the discount.\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 minimum subtotal or quantity of items that are required for the discount to be applied. /// @@ -34028,6 +41110,46 @@ public class DiscountAutomaticNodeEdge : GraphQLObject + ///Return type for `discountBulkTagsAdd` mutation. + /// + [Description("Return type for `discountBulkTagsAdd` mutation.")] + public class DiscountBulkTagsAddPayload : GraphQLObject + { + /// + ///The asynchronous job that adds the tags. + /// + [Description("The asynchronous job that adds the tags.")] + 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; } + } + + /// + ///Return type for `discountBulkTagsRemove` mutation. + /// + [Description("Return type for `discountBulkTagsRemove` mutation.")] + public class DiscountBulkTagsRemovePayload : GraphQLObject + { + /// + ///The asynchronous job that removes the tags. + /// + [Description("The asynchronous job that removes the tags.")] + 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; } + } + /// ///All buyers are eligible for the discount. /// @@ -34239,6 +41361,15 @@ public interface IDiscountCode : IGraphQLObject [EnumType(typeof(DiscountStatus))] public string? status { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -34260,10 +41391,10 @@ public interface IDiscountCode : IGraphQLObject public DateTime? updatedAt { get; set; } /// - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } } @@ -34480,6 +41611,15 @@ public class DiscountCodeApp : GraphQLObject, IDiscount, IDisco [EnumType(typeof(DiscountStatus))] public string? status { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -34501,10 +41641,10 @@ public class DiscountCodeApp : GraphQLObject, IDiscount, IDisco public DateTime? updatedAt { get; set; } /// - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } } @@ -34590,10 +41730,10 @@ public class DiscountCodeAppInput : GraphQLObject public DiscountCustomerSelectionInput? customerSelection { get; set; } /// - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } /// @@ -34603,6 +41743,20 @@ public class DiscountCodeAppInput : GraphQLObject [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; } + /// + ///A list of searchable keywords that are associated with the discount. + /// + ///For example, a `loyalty` tag could be applied to discounts + ///that are associated with a loyalty program. + /// + ///Updating `tags` overwrites any existing tags that were previously added to the discount. + ///To add new tags without overwriting existing tags, use the + ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) + ///mutation. + /// + [Description("A list of searchable keywords that are associated with the discount.\n\nFor example, a `loyalty` tag could be applied to discounts\nthat are associated with a loyalty program.\n\nUpdating `tags` overwrites any existing tags that were previously added to the discount.\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 ID of the function providing the discount. /// @@ -34900,6 +42054,15 @@ public class DiscountCodeBasic : GraphQLObject, IDiscount, ID [NonNull] public string? summary { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -34921,10 +42084,10 @@ public class DiscountCodeBasic : GraphQLObject, IDiscount, ID public DateTime? updatedAt { get; set; } /// - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } } @@ -35009,10 +42172,10 @@ public class DiscountCodeBasicInput : GraphQLObject public DiscountCustomerSelectionInput? customerSelection { get; set; } /// - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } /// @@ -35022,6 +42185,20 @@ public class DiscountCodeBasicInput : GraphQLObject [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; } + /// + ///A list of searchable keywords that are associated with the discount. + /// + ///For example, a `loyalty` tag could be applied to discounts + ///that are associated with a loyalty program. + /// + ///Updating `tags` overwrites any existing tags that were previously added to the discount. + ///To add new tags without overwriting existing tags, use the + ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) + ///mutation. + /// + [Description("A list of searchable keywords that are associated with the discount.\n\nFor example, a `loyalty` tag could be applied to discounts\nthat are associated with a loyalty program.\n\nUpdating `tags` overwrites any existing tags that were previously added to the discount.\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 minimum subtotal or quantity of items that are required for the discount to be applied. /// @@ -35288,6 +42465,15 @@ public class DiscountCodeBxgy : GraphQLObject, IDiscount, IDis [NonNull] public string? summary { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -35309,10 +42495,10 @@ public class DiscountCodeBxgy : GraphQLObject, IDiscount, IDis public DateTime? updatedAt { get; set; } /// - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } /// @@ -35406,10 +42592,10 @@ public class DiscountCodeBxgyInput : GraphQLObject public DiscountCustomerSelectionInput? customerSelection { get; set; } /// - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } /// @@ -35419,6 +42605,20 @@ public class DiscountCodeBxgyInput : GraphQLObject [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; } + /// + ///A list of searchable keywords that are associated with the discount. + /// + ///For example, a `loyalty` tag could be applied to discounts + ///that are associated with a loyalty program. + /// + ///Updating `tags` overwrites any existing tags that were previously added to the discount. + ///To add new tags without overwriting existing tags, use the + ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) + ///mutation. + /// + [Description("A list of searchable keywords that are associated with the discount.\n\nFor example, a `loyalty` tag could be applied to discounts\nthat are associated with a loyalty program.\n\nUpdating `tags` overwrites any existing tags that were previously added to the discount.\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 items eligible for the discount and the required quantity of each to receive the discount. /// @@ -35712,6 +42912,15 @@ public class DiscountCodeFreeShipping : GraphQLObject, [NonNull] public string? summary { get; set; } + /// + ///A list of searchable keywords that are associated with the discount. + ///For example, a merchant might apply the `loyalty` tag to discounts + ///that are associated with their loyalty program. + /// + [Description("A list of searchable keywords that are associated with the discount.\nFor example, a merchant might apply the `loyalty` tag to discounts\nthat are associated with their loyalty program.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// @@ -35733,10 +42942,10 @@ public class DiscountCodeFreeShipping : GraphQLObject, public DateTime? updatedAt { get; set; } /// - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } } @@ -35819,10 +43028,10 @@ public class DiscountCodeFreeShippingInput : GraphQLObject - ///The maximum number of times that a customer can use the discount. - ///For discounts with unlimited usage, specify `null`. + ///The maximum number of times the discount can be redeemed. + ///For unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + [Description("The maximum number of times the discount can be redeemed.\nFor unlimited usage, specify `null`.")] public int? usageLimit { get; set; } /// @@ -35832,6 +43041,20 @@ public class DiscountCodeFreeShippingInput : GraphQLObject + ///A list of searchable keywords that are associated with the discount. + /// + ///For example, a `loyalty` tag could be applied to discounts + ///that are associated with a loyalty program. + /// + ///Updating `tags` overwrites any existing tags that were previously added to the discount. + ///To add new tags without overwriting existing tags, use the + ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) + ///mutation. + /// + [Description("A list of searchable keywords that are associated with the discount.\n\nFor example, a `loyalty` tag could be applied to discounts\nthat are associated with a loyalty program.\n\nUpdating `tags` overwrites any existing tags that were previously added to the discount.\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 minimum subtotal or quantity of items that are required for the discount to be applied. /// @@ -36811,6 +44034,16 @@ public enum DiscountErrorCode /// [Description("Only one of function ID or function handle is allowed.")] MULTIPLE_FUNCTION_IDENTIFIERS, + /// + ///The tag title exceeds the maximum length of 255 characters. + /// + [Description("The tag title exceeds the maximum length of 255 characters.")] + INVALID_TAG_LENGTH, + /// + ///The number of tags exceeds the maximum of 5. + /// + [Description("The number of tags exceeds the maximum of 5.")] + TOO_MANY_TAGS, } public static class DiscountErrorCodeStringValues @@ -36846,6 +44079,8 @@ public static class DiscountErrorCodeStringValues 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"; + public const string INVALID_TAG_LENGTH = @"INVALID_TAG_LENGTH"; + public const string TOO_MANY_TAGS = @"TOO_MANY_TAGS"; } /// @@ -37683,6 +44918,30 @@ public static class DiscountStatusStringValues public const string SCHEDULED = @"SCHEDULED"; } + /// + ///The set of valid sort keys for the DiscountTag query. + /// + [Description("The set of valid sort keys for the DiscountTag query.")] + public enum DiscountTagSortKeys + { + /// + ///Sort by the `id` value. + /// + [Description("Sort by the `id` value.")] + ID, + /// + ///Sort by the `title` value. + /// + [Description("Sort by the `title` value.")] + TITLE, + } + + public static class DiscountTagSortKeysStringValues + { + public const string ID = @"ID"; + public const string TITLE = @"TITLE"; + } + /// ///The type of line (line item or shipping line) on an order that the subscription discount is applicable towards. /// @@ -37796,7 +45055,17 @@ public class DiscountUserError : GraphQLObject, IDisplayableE [JsonDerivedType(typeof(CarrierServiceUpdateUserError), typeDiscriminator: "CarrierServiceUpdateUserError")] [JsonDerivedType(typeof(CartTransformCreateUserError), typeDiscriminator: "CartTransformCreateUserError")] [JsonDerivedType(typeof(CartTransformDeleteUserError), typeDiscriminator: "CartTransformDeleteUserError")] + [JsonDerivedType(typeof(CashDrawerCreateUserError), typeDiscriminator: "CashDrawerCreateUserError")] + [JsonDerivedType(typeof(CashDrawerFindOrCreateUserError), typeDiscriminator: "CashDrawerFindOrCreateUserError")] + [JsonDerivedType(typeof(CashDrawerUpdateUserError), typeDiscriminator: "CashDrawerUpdateUserError")] + [JsonDerivedType(typeof(CashManagementReasonCodeCreateUserError), typeDiscriminator: "CashManagementReasonCodeCreateUserError")] + [JsonDerivedType(typeof(CashManagementReasonCodeDeleteUserError), typeDiscriminator: "CashManagementReasonCodeDeleteUserError")] [JsonDerivedType(typeof(CatalogUserError), typeDiscriminator: "CatalogUserError")] + [JsonDerivedType(typeof(ChannelCreateUserError), typeDiscriminator: "ChannelCreateUserError")] + [JsonDerivedType(typeof(ChannelDeleteUserError), typeDiscriminator: "ChannelDeleteUserError")] + [JsonDerivedType(typeof(ChannelFullSyncUserError), typeDiscriminator: "ChannelFullSyncUserError")] + [JsonDerivedType(typeof(ChannelUpdateUserError), typeDiscriminator: "ChannelUpdateUserError")] + [JsonDerivedType(typeof(CheckoutAndAccountsConfigurationUserError), typeDiscriminator: "CheckoutAndAccountsConfigurationUserError")] [JsonDerivedType(typeof(CheckoutBrandingUpsertUserError), typeDiscriminator: "CheckoutBrandingUpsertUserError")] [JsonDerivedType(typeof(CollectionAddProductsV2UserError), typeDiscriminator: "CollectionAddProductsV2UserError")] [JsonDerivedType(typeof(CollectionDuplicateUserError), typeDiscriminator: "CollectionDuplicateUserError")] @@ -37834,10 +45103,13 @@ public class DiscountUserError : GraphQLObject, IDisplayableE [JsonDerivedType(typeof(FulfillmentConstraintRuleCreateUserError), typeDiscriminator: "FulfillmentConstraintRuleCreateUserError")] [JsonDerivedType(typeof(FulfillmentConstraintRuleDeleteUserError), typeDiscriminator: "FulfillmentConstraintRuleDeleteUserError")] [JsonDerivedType(typeof(FulfillmentConstraintRuleUpdateUserError), typeDiscriminator: "FulfillmentConstraintRuleUpdateUserError")] + [JsonDerivedType(typeof(FulfillmentOrderCancelError), typeDiscriminator: "FulfillmentOrderCancelError")] [JsonDerivedType(typeof(FulfillmentOrderHoldUserError), typeDiscriminator: "FulfillmentOrderHoldUserError")] [JsonDerivedType(typeof(FulfillmentOrderLineItemsPreparedForPickupUserError), typeDiscriminator: "FulfillmentOrderLineItemsPreparedForPickupUserError")] [JsonDerivedType(typeof(FulfillmentOrderMergeUserError), typeDiscriminator: "FulfillmentOrderMergeUserError")] + [JsonDerivedType(typeof(FulfillmentOrderMoveFulfillmentOrderMoveUserError), typeDiscriminator: "FulfillmentOrderMoveFulfillmentOrderMoveUserError")] [JsonDerivedType(typeof(FulfillmentOrderReleaseHoldUserError), typeDiscriminator: "FulfillmentOrderReleaseHoldUserError")] + [JsonDerivedType(typeof(FulfillmentOrderReportProgressUserError), typeDiscriminator: "FulfillmentOrderReportProgressUserError")] [JsonDerivedType(typeof(FulfillmentOrderRescheduleUserError), typeDiscriminator: "FulfillmentOrderRescheduleUserError")] [JsonDerivedType(typeof(FulfillmentOrderSplitUserError), typeDiscriminator: "FulfillmentOrderSplitUserError")] [JsonDerivedType(typeof(FulfillmentOrdersRerouteUserError), typeDiscriminator: "FulfillmentOrdersRerouteUserError")] @@ -37860,6 +45132,7 @@ public class DiscountUserError : GraphQLObject, IDisplayableE [JsonDerivedType(typeof(InventoryShipmentMarkInTransitUserError), typeDiscriminator: "InventoryShipmentMarkInTransitUserError")] [JsonDerivedType(typeof(InventoryShipmentReceiveUserError), typeDiscriminator: "InventoryShipmentReceiveUserError")] [JsonDerivedType(typeof(InventoryShipmentRemoveItemsUserError), typeDiscriminator: "InventoryShipmentRemoveItemsUserError")] + [JsonDerivedType(typeof(InventoryShipmentSetBarcodeUserError), typeDiscriminator: "InventoryShipmentSetBarcodeUserError")] [JsonDerivedType(typeof(InventoryShipmentSetTrackingUserError), typeDiscriminator: "InventoryShipmentSetTrackingUserError")] [JsonDerivedType(typeof(InventoryShipmentUpdateItemQuantitiesUserError), typeDiscriminator: "InventoryShipmentUpdateItemQuantitiesUserError")] [JsonDerivedType(typeof(InventoryTransferCancelUserError), typeDiscriminator: "InventoryTransferCancelUserError")] @@ -37914,6 +45187,10 @@ public class DiscountUserError : GraphQLObject, IDisplayableE [JsonDerivedType(typeof(PaymentTermsCreateUserError), typeDiscriminator: "PaymentTermsCreateUserError")] [JsonDerivedType(typeof(PaymentTermsDeleteUserError), typeDiscriminator: "PaymentTermsDeleteUserError")] [JsonDerivedType(typeof(PaymentTermsUpdateUserError), typeDiscriminator: "PaymentTermsUpdateUserError")] + [JsonDerivedType(typeof(PointOfSaleDeviceAssignToCashDrawerUserError), typeDiscriminator: "PointOfSaleDeviceAssignToCashDrawerUserError")] + [JsonDerivedType(typeof(PointOfSaleDevicePaymentSessionCloseUserError), typeDiscriminator: "PointOfSaleDevicePaymentSessionCloseUserError")] + [JsonDerivedType(typeof(PointOfSaleDevicePaymentSessionCountUserError), typeDiscriminator: "PointOfSaleDevicePaymentSessionCountUserError")] + [JsonDerivedType(typeof(PointOfSaleDevicePaymentSessionOpenUserError), typeDiscriminator: "PointOfSaleDevicePaymentSessionOpenUserError")] [JsonDerivedType(typeof(PriceListFixedPricesByProductBulkUpdateUserError), typeDiscriminator: "PriceListFixedPricesByProductBulkUpdateUserError")] [JsonDerivedType(typeof(PriceListPriceUserError), typeDiscriminator: "PriceListPriceUserError")] [JsonDerivedType(typeof(PriceListUserError), typeDiscriminator: "PriceListUserError")] @@ -37992,7 +45269,17 @@ public interface IDisplayableError : IGraphQLObject public CarrierServiceUpdateUserError? AsCarrierServiceUpdateUserError() => this as CarrierServiceUpdateUserError; public CartTransformCreateUserError? AsCartTransformCreateUserError() => this as CartTransformCreateUserError; public CartTransformDeleteUserError? AsCartTransformDeleteUserError() => this as CartTransformDeleteUserError; + public CashDrawerCreateUserError? AsCashDrawerCreateUserError() => this as CashDrawerCreateUserError; + public CashDrawerFindOrCreateUserError? AsCashDrawerFindOrCreateUserError() => this as CashDrawerFindOrCreateUserError; + public CashDrawerUpdateUserError? AsCashDrawerUpdateUserError() => this as CashDrawerUpdateUserError; + public CashManagementReasonCodeCreateUserError? AsCashManagementReasonCodeCreateUserError() => this as CashManagementReasonCodeCreateUserError; + public CashManagementReasonCodeDeleteUserError? AsCashManagementReasonCodeDeleteUserError() => this as CashManagementReasonCodeDeleteUserError; public CatalogUserError? AsCatalogUserError() => this as CatalogUserError; + public ChannelCreateUserError? AsChannelCreateUserError() => this as ChannelCreateUserError; + public ChannelDeleteUserError? AsChannelDeleteUserError() => this as ChannelDeleteUserError; + public ChannelFullSyncUserError? AsChannelFullSyncUserError() => this as ChannelFullSyncUserError; + public ChannelUpdateUserError? AsChannelUpdateUserError() => this as ChannelUpdateUserError; + public CheckoutAndAccountsConfigurationUserError? AsCheckoutAndAccountsConfigurationUserError() => this as CheckoutAndAccountsConfigurationUserError; public CheckoutBrandingUpsertUserError? AsCheckoutBrandingUpsertUserError() => this as CheckoutBrandingUpsertUserError; public CollectionAddProductsV2UserError? AsCollectionAddProductsV2UserError() => this as CollectionAddProductsV2UserError; public CollectionDuplicateUserError? AsCollectionDuplicateUserError() => this as CollectionDuplicateUserError; @@ -38030,10 +45317,13 @@ public interface IDisplayableError : IGraphQLObject public FulfillmentConstraintRuleCreateUserError? AsFulfillmentConstraintRuleCreateUserError() => this as FulfillmentConstraintRuleCreateUserError; public FulfillmentConstraintRuleDeleteUserError? AsFulfillmentConstraintRuleDeleteUserError() => this as FulfillmentConstraintRuleDeleteUserError; public FulfillmentConstraintRuleUpdateUserError? AsFulfillmentConstraintRuleUpdateUserError() => this as FulfillmentConstraintRuleUpdateUserError; + public FulfillmentOrderCancelError? AsFulfillmentOrderCancelError() => this as FulfillmentOrderCancelError; public FulfillmentOrderHoldUserError? AsFulfillmentOrderHoldUserError() => this as FulfillmentOrderHoldUserError; public FulfillmentOrderLineItemsPreparedForPickupUserError? AsFulfillmentOrderLineItemsPreparedForPickupUserError() => this as FulfillmentOrderLineItemsPreparedForPickupUserError; public FulfillmentOrderMergeUserError? AsFulfillmentOrderMergeUserError() => this as FulfillmentOrderMergeUserError; + public FulfillmentOrderMoveFulfillmentOrderMoveUserError? AsFulfillmentOrderMoveFulfillmentOrderMoveUserError() => this as FulfillmentOrderMoveFulfillmentOrderMoveUserError; public FulfillmentOrderReleaseHoldUserError? AsFulfillmentOrderReleaseHoldUserError() => this as FulfillmentOrderReleaseHoldUserError; + public FulfillmentOrderReportProgressUserError? AsFulfillmentOrderReportProgressUserError() => this as FulfillmentOrderReportProgressUserError; public FulfillmentOrderRescheduleUserError? AsFulfillmentOrderRescheduleUserError() => this as FulfillmentOrderRescheduleUserError; public FulfillmentOrderSplitUserError? AsFulfillmentOrderSplitUserError() => this as FulfillmentOrderSplitUserError; public FulfillmentOrdersRerouteUserError? AsFulfillmentOrdersRerouteUserError() => this as FulfillmentOrdersRerouteUserError; @@ -38056,6 +45346,7 @@ public interface IDisplayableError : IGraphQLObject public InventoryShipmentMarkInTransitUserError? AsInventoryShipmentMarkInTransitUserError() => this as InventoryShipmentMarkInTransitUserError; public InventoryShipmentReceiveUserError? AsInventoryShipmentReceiveUserError() => this as InventoryShipmentReceiveUserError; public InventoryShipmentRemoveItemsUserError? AsInventoryShipmentRemoveItemsUserError() => this as InventoryShipmentRemoveItemsUserError; + public InventoryShipmentSetBarcodeUserError? AsInventoryShipmentSetBarcodeUserError() => this as InventoryShipmentSetBarcodeUserError; public InventoryShipmentSetTrackingUserError? AsInventoryShipmentSetTrackingUserError() => this as InventoryShipmentSetTrackingUserError; public InventoryShipmentUpdateItemQuantitiesUserError? AsInventoryShipmentUpdateItemQuantitiesUserError() => this as InventoryShipmentUpdateItemQuantitiesUserError; public InventoryTransferCancelUserError? AsInventoryTransferCancelUserError() => this as InventoryTransferCancelUserError; @@ -38110,6 +45401,10 @@ public interface IDisplayableError : IGraphQLObject public PaymentTermsCreateUserError? AsPaymentTermsCreateUserError() => this as PaymentTermsCreateUserError; public PaymentTermsDeleteUserError? AsPaymentTermsDeleteUserError() => this as PaymentTermsDeleteUserError; public PaymentTermsUpdateUserError? AsPaymentTermsUpdateUserError() => this as PaymentTermsUpdateUserError; + public PointOfSaleDeviceAssignToCashDrawerUserError? AsPointOfSaleDeviceAssignToCashDrawerUserError() => this as PointOfSaleDeviceAssignToCashDrawerUserError; + public PointOfSaleDevicePaymentSessionCloseUserError? AsPointOfSaleDevicePaymentSessionCloseUserError() => this as PointOfSaleDevicePaymentSessionCloseUserError; + public PointOfSaleDevicePaymentSessionCountUserError? AsPointOfSaleDevicePaymentSessionCountUserError() => this as PointOfSaleDevicePaymentSessionCountUserError; + public PointOfSaleDevicePaymentSessionOpenUserError? AsPointOfSaleDevicePaymentSessionOpenUserError() => this as PointOfSaleDevicePaymentSessionOpenUserError; public PriceListFixedPricesByProductBulkUpdateUserError? AsPriceListFixedPricesByProductBulkUpdateUserError() => this as PriceListFixedPricesByProductBulkUpdateUserError; public PriceListPriceUserError? AsPriceListPriceUserError() => this as PriceListPriceUserError; public PriceListUserError? AsPriceListUserError() => this as PriceListUserError; @@ -38289,6 +45584,11 @@ 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, /// @@ -38304,6 +45604,7 @@ 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.")] @@ -41108,6 +48409,12 @@ public class EventBridgeWebhookSubscriptionInput : GraphQLObject? metafields { get; set; } + /// + ///A human-readable name for the webhook subscription. + /// + [Description("A human-readable name for the webhook subscription.")] + public string? name { get; set; } + /// ///The ARN of the EventBridge partner event source. /// @@ -44894,6 +52201,12 @@ public class FulfillmentOrder : GraphQLObject, INode, IMetafie [NonNull] public DateTime? orderProcessedAt { get; set; } + /// + ///The total weight of all line items in the fulfillment order that aren't yet fulfilled. + /// + [Description("The total weight of all line items in the fulfillment order that aren't yet fulfilled.")] + public Weight? remainingLineItemsWeight { get; set; } + /// ///The request status of the fulfillment order. /// @@ -45026,6 +52339,11 @@ public enum FulfillmentOrderAction /// [Description("Merges a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderMerge`.")] MERGE, + /// + ///Report the progress of the fulfillment order, marking as in progress if it's not already in progress. + /// + [Description("Report the progress of the fulfillment order, marking as in progress if it's not already in progress.")] + REPORT_PROGRESS, } public static class FulfillmentOrderActionStringValues @@ -45041,6 +52359,7 @@ public static class FulfillmentOrderActionStringValues public const string EXTERNAL = @"EXTERNAL"; public const string SPLIT = @"SPLIT"; public const string MERGE = @"MERGE"; + public const string REPORT_PROGRESS = @"REPORT_PROGRESS"; } /// @@ -45181,6 +52500,51 @@ public static class FulfillmentOrderAssignmentStatusStringValues public const string FULFILLMENT_UNSUBMITTED = @"FULFILLMENT_UNSUBMITTED"; } + /// + ///Represents an error that occurs while cancelling a fulfillment order. + /// + [Description("Represents an error that occurs while cancelling a fulfillment order.")] + public class FulfillmentOrderCancelError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderCancelErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `FulfillmentOrderCancelError`. + /// + [Description("Possible error codes that can be returned by `FulfillmentOrderCancelError`.")] + public enum FulfillmentOrderCancelErrorCode + { + /// + ///Cannot cancel fulfillment order with reported progress. Mark as unfulfilled first. + /// + [Description("Cannot cancel fulfillment order with reported progress. Mark as unfulfilled first.")] + FULFILLMENT_ORDER_HAS_MANUALLY_REPORTED_PROGRESS, + } + + public static class FulfillmentOrderCancelErrorCodeStringValues + { + public const string FULFILLMENT_ORDER_HAS_MANUALLY_REPORTED_PROGRESS = @"FULFILLMENT_ORDER_HAS_MANUALLY_REPORTED_PROGRESS"; + } + /// ///Return type for `fulfillmentOrderCancel` mutation. /// @@ -45204,7 +52568,7 @@ public class FulfillmentOrderCancelPayload : GraphQLObject [Description("The list of errors that occurred from executing the mutation.")] [NonNull] - public IEnumerable? userErrors { get; set; } + public IEnumerable? userErrors { get; set; } } /// @@ -46268,6 +53632,51 @@ public static class FulfillmentOrderMergeUserErrorCodeStringValues public const string INVALID_LINE_ITEM_QUANTITY = @"INVALID_LINE_ITEM_QUANTITY"; } + /// + ///Represents a user error that occurs while moving a fulfillment order. + /// + [Description("Represents a user error that occurs while moving a fulfillment order.")] + public class FulfillmentOrderMoveFulfillmentOrderMoveUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderMoveFulfillmentOrderMoveUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `FulfillmentOrderMoveFulfillmentOrderMoveUserError`. + /// + [Description("Possible error codes that can be returned by `FulfillmentOrderMoveFulfillmentOrderMoveUserError`.")] + public enum FulfillmentOrderMoveFulfillmentOrderMoveUserErrorCode + { + /// + ///Cannot move a fulfillment order that has progress reported. + /// + [Description("Cannot move a fulfillment order that has progress reported.")] + CANNOT_MOVE_FULFILLMENT_ORDER_WITH_REPORTED_PROGRESS, + } + + public static class FulfillmentOrderMoveFulfillmentOrderMoveUserErrorCodeStringValues + { + public const string CANNOT_MOVE_FULFILLMENT_ORDER_WITH_REPORTED_PROGRESS = @"CANNOT_MOVE_FULFILLMENT_ORDER_WITH_REPORTED_PROGRESS"; + } + /// ///Return type for `fulfillmentOrderMove` mutation. /// @@ -46303,7 +53712,7 @@ public class FulfillmentOrderMovePayload : GraphQLObject [Description("The list of errors that occurred from executing the mutation.")] [NonNull] - public IEnumerable? userErrors { get; set; } + public IEnumerable? userErrors { get; set; } } /// @@ -46533,6 +53942,120 @@ public static class FulfillmentOrderReleaseHoldUserErrorCodeStringValues public const string INVALID_ACCESS = @"INVALID_ACCESS"; } + /// + ///The input fields for the progress report for the fulfillment order. + /// + [Description("The input fields for the progress report for the fulfillment order.")] + public class FulfillmentOrderReportProgressInput : GraphQLObject + { + /// + ///Additional information for the progress report. + /// + [Description("Additional information for the progress report.")] + public string? reasonNotes { get; set; } + } + + /// + ///Return type for `fulfillmentOrderReportProgress` mutation. + /// + [Description("Return type for `fulfillmentOrderReportProgress` mutation.")] + public class FulfillmentOrderReportProgressPayload : GraphQLObject + { + /// + ///The fulfillment order on which a mark as in progress update has been specified. + /// + [Description("The fulfillment order on which a mark as in progress update has been specified.")] + 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; } + } + + /// + ///An error that occurs during the execution of `FulfillmentOrderReportProgress`. + /// + [Description("An error that occurs during the execution of `FulfillmentOrderReportProgress`.")] + public class FulfillmentOrderReportProgressUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderReportProgressUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `FulfillmentOrderReportProgressUserError`. + /// + [Description("Possible error codes that can be returned by `FulfillmentOrderReportProgressUserError`.")] + public enum FulfillmentOrderReportProgressUserErrorCode + { + /// + ///The fulfillment order could not be found. + /// + [Description("The fulfillment order could not be found.")] + FULFILLMENT_ORDER_NOT_FOUND, + /// + ///The fulfillment order status is invalid. + /// + [Description("The fulfillment order status is invalid.")] + FULFILLMENT_ORDER_STATUS_INVALID, + /// + ///The fulfillment order contains picked items. + /// + [Description("The fulfillment order contains picked items.")] + FULFILLMENT_ORDER_CONTAINS_PICKED_ITEMS, + /// + ///Progress cannot be reported for a fulfillment order with this delivery method. + /// + [Description("Progress cannot be reported for a fulfillment order with this delivery method.")] + FULFILLMENT_ORDER_INVALID_DELIVERY_METHOD, + /// + ///The fulfillment order is not assigned to the requesting fulfillment service. + /// + [Description("The fulfillment order is not assigned to the requesting fulfillment service.")] + FULFILLMENT_ORDER_INVALID_FULFILLMENT_SERVICE_OWNERSHIP, + /// + ///The action is not supported for the fulfillment order. + /// + [Description("The action is not supported for the fulfillment order.")] + FULFILLMENT_ORDER_UNSUPPORTED_ACTION, + /// + ///Marketplace apps are not eligible to report progress on fulfillment orders. + /// + [Description("Marketplace apps are not eligible to report progress on fulfillment orders.")] + MARKETPLACE_APP_NOT_ELIGIBLE, + } + + public static class FulfillmentOrderReportProgressUserErrorCodeStringValues + { + public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; + public const string FULFILLMENT_ORDER_STATUS_INVALID = @"FULFILLMENT_ORDER_STATUS_INVALID"; + public const string FULFILLMENT_ORDER_CONTAINS_PICKED_ITEMS = @"FULFILLMENT_ORDER_CONTAINS_PICKED_ITEMS"; + public const string FULFILLMENT_ORDER_INVALID_DELIVERY_METHOD = @"FULFILLMENT_ORDER_INVALID_DELIVERY_METHOD"; + public const string FULFILLMENT_ORDER_INVALID_FULFILLMENT_SERVICE_OWNERSHIP = @"FULFILLMENT_ORDER_INVALID_FULFILLMENT_SERVICE_OWNERSHIP"; + public const string FULFILLMENT_ORDER_UNSUPPORTED_ACTION = @"FULFILLMENT_ORDER_UNSUPPORTED_ACTION"; + public const string MARKETPLACE_APP_NOT_ELIGIBLE = @"MARKETPLACE_APP_NOT_ELIGIBLE"; + } + /// ///The request status of a fulfillment order. /// @@ -47335,14 +54858,6 @@ public class FulfillmentService : GraphQLObject [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).\nAs of API version `2026-04` this field will be removed.")] - [NonNull] - public bool? permitsSkuSharing { get; set; } - /// ///Whether the fulfillment service requires products to be physically shipped. /// @@ -47930,6 +55445,35 @@ public class FulfillmentV2Input : GraphQLObject public FulfillmentOriginAddressInput? originAddress { get; set; } } + /// + ///Trace information for a single country-language product feed sync triggered by [`channelFullSync`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelFullSync). + /// + [Description("Trace information for a single country-language product feed sync triggered by [`channelFullSync`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelFullSync).")] + public class FullSyncTraceInfo : GraphQLObject + { + /// + ///The country of the product feed that was triggered. + /// + [Description("The country of the product feed that was triggered.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? country { get; set; } + + /// + ///The language of the product feed that was triggered. + /// + [Description("The language of the product feed that was triggered.")] + [NonNull] + [EnumType(typeof(LanguageCode))] + public string? language { get; set; } + + /// + ///The operation ID of a successfully initiated product full sync operation. This field is set to nil when the full sync operation isn't successfully initiated. + /// + [Description("The operation ID of a successfully initiated product full sync operation. This field is set to nil when the full sync operation isn't successfully initiated.")] + public string? operationId { get; set; } + } + /// ///The App Bridge information for a Shopify Function. /// @@ -48180,6 +55724,12 @@ public class GiftCard : GraphQLObject, INode [Description("Represents information about the configuration of gift cards on the shop.")] public class GiftCardConfiguration : GraphQLObject { + /// + ///The default expiration configuration of gift cards on the shop. This field is null if the shop hasn't set a default expiration for gift cards. + /// + [Description("The default expiration configuration of gift cards on the shop. This field is null if the shop hasn't set a default expiration for gift cards.")] + public GiftCardExpirationConfiguration? expirationConfiguration { get; set; } + /// ///The issue limit for gift cards in the default shop currency. /// @@ -48195,6 +55745,36 @@ public class GiftCardConfiguration : GraphQLObject public MoneyV2? purchaseLimit { get; set; } } + /// + ///The supported units for gift card expiration. + /// + [Description("The supported units for gift card expiration.")] + public enum GiftCardConfigurationExpirationUnit + { + /// + ///Gift cards expire in days. + /// + [Description("Gift cards expire in days.")] + DAYS, + /// + ///Gift cards expire in months. + /// + [Description("Gift cards expire in months.")] + MONTHS, + /// + ///Gift cards expire in years. + /// + [Description("Gift cards expire in years.")] + YEARS, + } + + public static class GiftCardConfigurationExpirationUnitStringValues + { + public const string DAYS = @"DAYS"; + public const string MONTHS = @"MONTHS"; + public const string YEARS = @"YEARS"; + } + /// ///An auto-generated type for paginating through multiple GiftCards. /// @@ -48666,6 +56246,28 @@ public static class GiftCardErrorCodeStringValues public const string RECIPIENT_NOT_FOUND = @"RECIPIENT_NOT_FOUND"; } + /// + ///Represents the default expiration configuration of gift cards on the shop. + /// + [Description("Represents the default expiration configuration of gift cards on the shop.")] + public class GiftCardExpirationConfiguration : GraphQLObject + { + /// + ///The unit for the default gift card expiration. + /// + [Description("The unit for the default gift card expiration.")] + [NonNull] + [EnumType(typeof(GiftCardConfigurationExpirationUnit))] + public string? expirationUnit { get; set; } + + /// + ///The value for the default gift card expiration. + /// + [Description("The value for the default gift card expiration.")] + [NonNull] + public int? expirationValue { get; set; } + } + /// ///Represents a recipient who will receive the issued gift card. /// @@ -49578,6 +57180,7 @@ public class HasMetafieldsMetafieldIdentifierInput : GraphQLObject this as Link; public MediaImage? AsMediaImage() => this as MediaImage; public Menu? AsMenu() => this as Menu; + public Metafield? AsMetafield() => this as Metafield; public OnlineStoreTheme? AsOnlineStoreTheme() => this as OnlineStoreTheme; public Page? AsPage() => this as Page; public Product? AsProduct() => this as Product; @@ -50202,9 +57806,9 @@ public enum InventoryAdjustQuantitiesUserErrorCode [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, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -50314,9 +57918,9 @@ public class InventoryAdjustmentInput : GraphQLObject public int? adjustment { get; set; } /// - ///The quantity to compare against before applying the delta. + ///The quantity to compare against before applying the delta. This field is mandatory- you must explicitly pass in a value (even if it's `null`), or else you will get an error. /// - [Description("The quantity to compare against before applying the delta.")] + [Description("The quantity to compare against before applying the delta. This field is mandatory- you must explicitly pass in a value (even if it's `null`), or else you will get an error.")] public int? changeFromQuantity { get; set; } } @@ -50550,9 +58154,16 @@ public class InventoryChangeInput : GraphQLObject public int? delta { get; set; } /// - ///The quantity to compare against before applying the delta. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap). + ///The quantity currently expected at this location, before the delta is applied. + /// + ///This field enables a compare-and-swap (CAS) safety check. If the location’s current quantity doesn't match the value you provide, then the mutation fails with a `CHANGE_FROM_QUANTITY_STALE` error. This prevents unintended overwrites when the request is based on stale inventory data. + /// + ///To skip the CAS check, pass `null`. Use this only when your system is the source of truth for this inventory and you don’t need to protect against concurrent updates. + ///This field is mandatory: you must explicitly pass in a value, even if that value is `null`, or the mutation returns an error. + /// + ///For more information, refer to the [compare and swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap). /// - [Description("The quantity to compare against before applying the delta. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap).")] + [Description("The quantity currently expected at this location, before the delta is applied.\n\nThis field enables a compare-and-swap (CAS) safety check. If the location’s current quantity doesn't match the value you provide, then the mutation fails with a `CHANGE_FROM_QUANTITY_STALE` error. This prevents unintended overwrites when the request is based on stale inventory data.\n\nTo skip the CAS check, pass `null`. Use this only when your system is the source of truth for this inventory and you don’t need to protect against concurrent updates.\nThis field is mandatory: you must explicitly pass in a value, even if that value is `null`, or the mutation returns an error.\n\nFor more information, refer to the [compare and swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap).")] public int? changeFromQuantity { get; set; } /// @@ -50954,6 +58565,13 @@ public class InventoryLevel : GraphQLObject, INode [NonNull] public string? id { get; set; } + /// + ///Whether the inventory level is active. + /// + [Description("Whether the inventory level is active.")] + [NonNull] + public bool? isActive { get; set; } + /// ///Inventory item associated with the inventory level. /// @@ -50980,6 +58598,7 @@ public class InventoryLevel : GraphQLObject, INode ///Scheduled changes for the requested quantity names. /// [Description("Scheduled changes for the requested quantity names.")] + [Obsolete("Scheduled changes will be phased out in a future version.")] [NonNull] public InventoryScheduledChangeConnection? scheduledChanges { get; set; } @@ -51254,9 +58873,9 @@ public enum InventoryMoveQuantitiesUserErrorCode [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, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -51366,9 +58985,16 @@ public class InventoryMoveQuantityTerminalInput : GraphQLObject - ///The quantity to compare against before applying the move. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap). + ///The quantity currently expected at this location, before the move is applied. + /// + ///This field enables a compare-and-swap (CAS) safety check. If the location’s current quantity doesn't match the value you provide, then the mutation fails with a `CHANGE_FROM_QUANTITY_STALE` error. This helps prevent unintended overwrites when the request is based on stale inventory data. + /// + ///To skip the CAS check, pass `null`. Use this only when your system is the source of truth for this inventory and you don’t need to protect against concurrent updates. + ///This field is mandatory: you must explicitly pass in a value, even if that value is `null`, or the mutation returns an error. + /// + ///For more information, refer to the [compare and swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap). /// - [Description("The quantity to compare against before applying the move. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap).")] + [Description("The quantity currently expected at this location, before the move is applied.\n\nThis field enables a compare-and-swap (CAS) safety check. If the location’s current quantity doesn't match the value you provide, then the mutation fails with a `CHANGE_FROM_QUANTITY_STALE` error. This helps prevent unintended overwrites when the request is based on stale inventory data.\n\nTo skip the CAS check, pass `null`. Use this only when your system is the source of truth for this inventory and you don’t need to protect against concurrent updates.\nThis field is mandatory: you must explicitly pass in a value, even if that value is `null`, or the mutation returns an error.\n\nFor more information, refer to the [compare and swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap).")] public int? changeFromQuantity { get; set; } } @@ -51456,20 +59082,16 @@ public class InventoryQuantityInput : GraphQLObject 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.")] - [Obsolete("Use `changeFromQuantity` instead. This will be removed in 2026-04.")] - public int? compareQuantity { get; set; } - - /// - ///The current quantity to be compared against the persisted quantity. - ///Explicitly passing in `null` to this field opts out of the quantity comparison check. - ///Explicitly passing in any value (be it `null` or an integer) to `changeFromQuantity` will cause the values - ///passed into the `compareQuantity` and `InventorySetQuantitiesInput.ignoreCompareQuantity` fields to be - ///ignored in favour of the `changeFromQuantity` value. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap). + ///The quantity currently expected at this location, before setting the new quantity. + /// + ///This field enables a compare-and-swap (CAS) safety check. If the location’s current quantity doesn't match the value you provide, then the mutation fails with a `CHANGE_FROM_QUANTITY_STALE` error. This helps prevent unintended overwrites when the request is based on stale inventory data. + /// + ///To skip the CAS check, pass `null`. Use this only when your system is the source of truth for this inventory and you don’t need to protect against concurrent updates. + ///This field is mandatory: you must explicitly pass in a value, even if that value is `null`, or the mutation returns an error. + /// + ///For more information, refer to the [compare and swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap). /// - [Description("The current quantity to be compared against the persisted quantity.\nExplicitly passing in `null` to this field opts out of the quantity comparison check.\nExplicitly passing in any value (be it `null` or an integer) to `changeFromQuantity` will cause the values\npassed into the `compareQuantity` and `InventorySetQuantitiesInput.ignoreCompareQuantity` fields to be\nignored in favour of the `changeFromQuantity` value. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap).")] + [Description("The quantity currently expected at this location, before setting the new quantity.\n\nThis field enables a compare-and-swap (CAS) safety check. If the location’s current quantity doesn't match the value you provide, then the mutation fails with a `CHANGE_FROM_QUANTITY_STALE` error. This helps prevent unintended overwrites when the request is based on stale inventory data.\n\nTo skip the CAS check, pass `null`. Use this only when your system is the source of truth for this inventory and you don’t need to protect against concurrent updates.\nThis field is mandatory: you must explicitly pass in a value, even if that value is `null`, or the mutation returns an error.\n\nFor more information, refer to the [compare and swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap).")] public int? changeFromQuantity { get; set; } } @@ -51852,9 +59474,9 @@ public enum InventorySetOnHandQuantitiesUserErrorCode [Description("The service is temporarily unavailable. Try again later.")] SERVICE_UNAVAILABLE, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -51929,13 +59551,6 @@ public class InventorySetQuantitiesInput : GraphQLObject? quantities { get; set; } - - /// - ///Skip the compare quantity check in the quantities field. - /// - [Description("Skip the compare quantity check in the quantities field.")] - [Obsolete("Instead of opting out of quantity comparison checks by passing in `ignoreCompareQuantity: true`, you can now opt out by explicitly passing in a null value to `InventoryQuantityInput.changeFromQuantity`. This field will be removed in `2026-04`.")] - public bool? ignoreCompareQuantity { get; set; } } /// @@ -52062,9 +59677,9 @@ public enum InventorySetQuantitiesUserErrorCode [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, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -52121,9 +59736,9 @@ public class InventorySetQuantityInput : GraphQLObject - ///The current quantity to be compared against the persisted quantity. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap). + ///The current quantity to be compared against the persisted quantity. This field is mandatory- you must explicitly pass in a value (even if it's `null`), or else you will get an error. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap). /// - [Description("The current quantity to be compared against the persisted quantity. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap).")] + [Description("The current quantity to be compared against the persisted quantity. This field is mandatory- you must explicitly pass in a value (even if it's `null`), or else you will get an error. For more information, refer to the [Compare and Swap documentation](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#compare-and-swap).")] public int? changeFromQuantity { get; set; } } @@ -52289,9 +59904,9 @@ public enum InventorySetScheduledChangesUserErrorCode [Description("The ledger document URI is invalid.")] LEDGER_DOCUMENT_INVALID, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -52325,6 +59940,12 @@ public static class InventorySetScheduledChangesUserErrorCodeStringValues [Description("Represents an inventory shipment.")] public class InventoryShipment : GraphQLObject, INode { + /// + ///A unique barcode for the shipment. + /// + [Description("A unique barcode for the shipment.")] + public string? barcode { get; set; } + /// ///The date the shipment was created in UTC. /// @@ -52522,9 +60143,9 @@ public enum InventoryShipmentAddItemsUserErrorCode [Description("Failed to activate inventory at location.")] ACTIVATION_FAILED, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -52701,9 +60322,9 @@ public enum InventoryShipmentCreateInTransitUserErrorCode [Description("The shipment was not found.")] SHIPMENT_NOT_FOUND, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -52763,6 +60384,12 @@ public class InventoryShipmentCreateInput : GraphQLObject [Description("The date the shipment was created.")] public DateTime? dateCreated { get; set; } + + /// + ///A unique barcode for the shipment. + /// + [Description("A unique barcode for the shipment.")] + public string? barcode { get; set; } } /// @@ -52824,6 +60451,11 @@ public enum InventoryShipmentCreateUserErrorCode [Description("This barcode is already assigned to another shipment.")] BARCODE_DUPLICATE, /// + ///Barcode must be 255 characters or less. + /// + [Description("Barcode must be 255 characters or less.")] + BARCODE_TOO_LONG, + /// ///The shipment input cannot be empty. /// [Description("The shipment input cannot be empty.")] @@ -52884,20 +60516,26 @@ public enum InventoryShipmentCreateUserErrorCode [Description("The location selected is not active.")] LOCATION_NOT_ACTIVE, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. /// [Description("The same idempotency key cannot be used with different operation parameters.")] IDEMPOTENCY_KEY_PARAMETER_MISMATCH, + /// + ///The idempotency record was found but the associated scheduled changes no longer exist. + /// + [Description("The idempotency record was found but the associated scheduled changes no longer exist.")] + IDEMPOTENCY_RECORD_NOT_FOUND, } public static class InventoryShipmentCreateUserErrorCodeStringValues { public const string BARCODE_DUPLICATE = @"BARCODE_DUPLICATE"; + public const string BARCODE_TOO_LONG = @"BARCODE_TOO_LONG"; 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"; @@ -52912,6 +60550,7 @@ public static class InventoryShipmentCreateUserErrorCodeStringValues public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; public const string IDEMPOTENCY_CONCURRENT_REQUEST = @"IDEMPOTENCY_CONCURRENT_REQUEST"; public const string IDEMPOTENCY_KEY_PARAMETER_MISMATCH = @"IDEMPOTENCY_KEY_PARAMETER_MISMATCH"; + public const string IDEMPOTENCY_RECORD_NOT_FOUND = @"IDEMPOTENCY_RECORD_NOT_FOUND"; } /// @@ -53349,9 +60988,9 @@ public enum InventoryShipmentReceiveUserErrorCode [Description("The location selected can't be found.")] LOCATION_NOT_FOUND, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -53504,6 +61143,83 @@ public static class InventoryShipmentRemoveItemsUserErrorCodeStringValues public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; } + /// + ///Return type for `inventoryShipmentSetBarcode` mutation. + /// + [Description("Return type for `inventoryShipmentSetBarcode` mutation.")] + public class InventoryShipmentSetBarcodePayload : GraphQLObject + { + /// + ///The inventory shipment with the updated barcode. + /// + [Description("The inventory shipment with the updated barcode.")] + 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; } + } + + /// + ///An error that occurs during the execution of `InventoryShipmentSetBarcode`. + /// + [Description("An error that occurs during the execution of `InventoryShipmentSetBarcode`.")] + public class InventoryShipmentSetBarcodeUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentSetBarcodeUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `InventoryShipmentSetBarcodeUserError`. + /// + [Description("Possible error codes that can be returned by `InventoryShipmentSetBarcodeUserError`.")] + public enum InventoryShipmentSetBarcodeUserErrorCode + { + /// + ///The shipment was not found. + /// + [Description("The shipment was not found.")] + SHIPMENT_NOT_FOUND, + /// + ///This barcode is already assigned to another shipment. + /// + [Description("This barcode is already assigned to another shipment.")] + BARCODE_DUPLICATE, + /// + ///Barcode must be 255 characters or less. + /// + [Description("Barcode must be 255 characters or less.")] + BARCODE_TOO_LONG, + } + + public static class InventoryShipmentSetBarcodeUserErrorCodeStringValues + { + public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; + public const string BARCODE_DUPLICATE = @"BARCODE_DUPLICATE"; + public const string BARCODE_TOO_LONG = @"BARCODE_TOO_LONG"; + } + /// ///Return type for `inventoryShipmentSetTracking` mutation. /// @@ -53575,6 +61291,30 @@ public static class InventoryShipmentSetTrackingUserErrorCodeStringValues public const string INVALID_URL = @"INVALID_URL"; } + /// + ///The set of valid sort keys for the InventoryShipment query. + /// + [Description("The set of valid sort keys for the InventoryShipment query.")] + public enum InventoryShipmentSortKeys + { + /// + ///Sort by the `id` value. + /// + [Description("Sort by the `id` value.")] + ID, + /// + ///Sort by the `status` value. + /// + [Description("Sort by the `status` value.")] + STATUS, + } + + public static class InventoryShipmentSortKeysStringValues + { + public const string ID = @"ID"; + public const string STATUS = @"STATUS"; + } + /// ///The status of an inventory shipment. /// @@ -54202,9 +61942,9 @@ public enum InventoryTransferCreateAsReadyToShipUserErrorCode [Description("A location is required for this operation.")] LOCATION_REQUIRED, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -54392,9 +62132,9 @@ public enum InventoryTransferCreateUserErrorCode [Description("The tag exceeds the maximum length.")] TAG_EXCEEDS_MAX_LENGTH, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -54580,9 +62320,9 @@ public enum InventoryTransferDuplicateUserErrorCode [Description("The transfer was not found.")] TRANSFER_NOT_FOUND, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -55256,9 +62996,9 @@ public enum InventoryTransferSetItemsUserErrorCode [Description("The location selected is not active.")] LOCATION_NOT_ACTIVE, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -57083,6 +64823,16 @@ public enum LocalizableContentType [Description("A JSON.")] JSON, /// + ///A link. + /// + [Description("A link.")] + LINK, + /// + ///A list of links. + /// + [Description("A list of links.")] + LIST_LINK, + /// ///A list of multi-line texts. /// [Description("A list of multi-line texts.")] @@ -57123,16 +64873,6 @@ public enum LocalizableContentType [Description("A URL.")] URL, /// - ///A link. - /// - [Description("A link.")] - LINK, - /// - ///A list of links. - /// - [Description("A list of links.")] - LIST_LINK, - /// ///A file reference. /// [Description("A file reference.")] @@ -57163,6 +64903,8 @@ public static class LocalizableContentTypeStringValues { public const string JSON_STRING = @"JSON_STRING"; public const string JSON = @"JSON"; + public const string LINK = @"LINK"; + public const string LIST_LINK = @"LIST_LINK"; 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"; @@ -57171,8 +64913,6 @@ public static class LocalizableContentTypeStringValues 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"; @@ -58206,9 +65946,9 @@ public enum LocationActivateUserErrorCode [Description("There is already an active location with this name.")] HAS_NON_UNIQUE_NAME, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -58711,9 +66451,9 @@ public enum LocationDeactivateUserErrorCode [Description("At least one location must fulfill online orders.")] CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT, /// - ///This request is currently inprogress, please try again. + ///This request is currently in progress, please try again. /// - [Description("This request is currently inprogress, please try again.")] + [Description("This request is currently in progress, please try again.")] IDEMPOTENCY_CONCURRENT_REQUEST, /// ///The same idempotency key cannot be used with different operation parameters. @@ -59920,13 +67660,13 @@ public class Market : GraphQLObject, IHasMetafieldDefinitions, IHasMetaf } /// - ///A catalog for managing product availability and pricing for specific [`Market`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) contexts. Each catalog links to one or more markets and defines what [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) objects customers see through its [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) settings. The catalog can include a [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) for market-specific pricing adjustments. + ///A catalog for managing product availability and pricing for specific [`Market`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) contexts. Each catalog links to one or more markets. The catalog can optionally include a [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) to control which [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) objects customers see, and a [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) for market-specific pricing adjustments. When a publication isn't associated with the catalog, product availability is determined by the sales channel. /// ///Use catalogs to create distinct shopping experiences for different geographic regions or customer segments. /// ///Learn more about [building a catalog](https://shopify.dev/docs/apps/build/markets/build-catalog) and [managing markets](https://shopify.dev/docs/apps/build/markets). /// - [Description("A catalog for managing product availability and pricing for specific [`Market`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) contexts. Each catalog links to one or more markets and defines what [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) objects customers see through its [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) settings. The catalog can include a [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) for market-specific pricing adjustments.\n\nUse catalogs to create distinct shopping experiences for different geographic regions or customer segments.\n\nLearn more about [building a catalog](https://shopify.dev/docs/apps/build/markets/build-catalog) and [managing markets](https://shopify.dev/docs/apps/build/markets).")] + [Description("A catalog for managing product availability and pricing for specific [`Market`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) contexts. Each catalog links to one or more markets. The catalog can optionally include a [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) to control which [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) objects customers see, and a [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) for market-specific pricing adjustments. When a publication isn't associated with the catalog, product availability is determined by the sales channel.\n\nUse catalogs to create distinct shopping experiences for different geographic regions or customer segments.\n\nLearn more about [building a catalog](https://shopify.dev/docs/apps/build/markets/build-catalog) and [managing markets](https://shopify.dev/docs/apps/build/markets).")] public class MarketCatalog : GraphQLObject, ICatalog, INode { /// @@ -66074,7 +73814,7 @@ public class MerchantApprovalSignals : GraphQLObject ///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 + public class Metafield : GraphQLObject, IHasCompareDigest, IHasPublishedTranslations, ILegacyInteroperability, INode { /// ///The data stored in the resource, represented as a digest. @@ -66165,6 +73905,13 @@ public class Metafield : GraphQLObject, IHasCompareDigest, ILegacyInt [Description("A list of reference objects if the metafield's type is a resource reference list.")] public MetafieldReferenceConnection? references { get; set; } + /// + ///The published translations associated with the resource. + /// + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The type of data that's stored in the metafield. ///Refer to the list of [supported types](https://shopify.dev/apps/metafields/types). @@ -66352,6 +74099,20 @@ public class MetafieldCapabilities : GraphQLObject [NonNull] public MetafieldCapabilityAdminFilterable? adminFilterable { get; set; } + /// + ///Indicate whether a metafield definition can be queried in analytics. + /// + [Description("Indicate whether a metafield definition can be queried in analytics.")] + [NonNull] + public MetafieldCapabilityAnalyticsQueryable? analyticsQueryable { get; set; } + + /// + ///The capability configuration for automatically copying values from a cart metafield to the corresponding order metafield when an order is created. + /// + [Description("The capability configuration for automatically copying values from a cart metafield to the corresponding order metafield when an order is created.")] + [NonNull] + public MetafieldCapabilityCartToOrderCopyable? cartToOrderCopyable { get; set; } + /// ///Indicate whether a metafield definition can be used as a smart collection condition. /// @@ -66410,6 +74171,84 @@ public class MetafieldCapabilityAdminFilterableInput : GraphQLObject + ///The analytics queryable capability of a metafield definition. + /// + [Description("The analytics queryable capability of a metafield definition.")] + public class MetafieldCapabilityAnalyticsQueryable : 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; } + + /// + ///Indicates if the capability is enabled. + /// + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + + /// + ///The input fields for the analytics queryable capability. + /// + [Description("The input fields for the analytics queryable capability.")] + public class MetafieldCapabilityAnalyticsQueryableInput : 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; } + } + + /// + ///Information about the cart to order copyable capability on a metafield definition. + ///Only order metafield definitions are eligible to have this capability enabled. + /// + ///When enabled, the value from a cart metafield is automatically copied to the corresponding + ///order metafield when an order is created. The namespace and key must match between the cart and order metafields. + /// + [Description("Information about the cart to order copyable capability on a metafield definition.\nOnly order metafield definitions are eligible to have this capability enabled.\n\nWhen enabled, the value from a cart metafield is automatically copied to the corresponding\norder metafield when an order is created. The namespace and key must match between the cart and order metafields.")] + public class MetafieldCapabilityCartToOrderCopyable : 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; } + + /// + ///Indicates if the capability is enabled. + /// + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + + /// + ///The input fields for enabling or disabling the "Cart to order copyable" capability. + ///This capability is only available for order metafield definitions. + /// + ///When enabled, the value from a cart metafield is automatically copied to the corresponding + ///order metafield when an order is created. The namespace and key must match between the cart and order metafields. + /// + [Description("The input fields for enabling or disabling the \"Cart to order copyable\" capability.\nThis capability is only available for order metafield definitions.\n\nWhen enabled, the value from a cart metafield is automatically copied to the corresponding\norder metafield when an order is created. The namespace and key must match between the cart and order metafields.")] + public class MetafieldCapabilityCartToOrderCopyableInput : 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; } + } + /// ///The input fields for creating a metafield capability. /// @@ -66433,6 +74272,18 @@ public class MetafieldCapabilityCreateInput : GraphQLObject [Description("The input for updating the unique values capability.")] public MetafieldCapabilityUniqueValuesInput? uniqueValues { get; set; } + + /// + ///The input for the analytics queryable capability. + /// + [Description("The input for the analytics queryable capability.")] + public MetafieldCapabilityAnalyticsQueryableInput? analyticsQueryable { get; set; } + + /// + ///The input for updating the cart to order copyable capability. + /// + [Description("The input for updating the cart to order copyable capability.")] + public MetafieldCapabilityCartToOrderCopyableInput? cartToOrderCopyable { get; set; } } /// @@ -66528,6 +74379,18 @@ public class MetafieldCapabilityUpdateInput : GraphQLObject [Description("The input for updating the unique values capability.")] public MetafieldCapabilityUniqueValuesInput? uniqueValues { get; set; } + + /// + ///The input for the analytics queryable capability. + /// + [Description("The input for the analytics queryable capability.")] + public MetafieldCapabilityAnalyticsQueryableInput? analyticsQueryable { get; set; } + + /// + ///The input for updating the cart to order copyable capability. + /// + [Description("The input for updating the cart to order copyable capability.")] + public MetafieldCapabilityCartToOrderCopyableInput? cartToOrderCopyable { get; set; } } /// @@ -67051,6 +74914,12 @@ public class MetafieldDefinitionCreateUserError : GraphQLObject + ///The key of the failing validation element. + /// + [Description("The key of the failing validation element.")] + public string? elementKey { get; set; } + /// ///The path to the input field that caused the error. /// @@ -67976,6 +75845,12 @@ public class MetafieldDefinitionUpdateUserError : GraphQLObject + ///The key of the failing validation element. + /// + [Description("The key of the failing validation element.")] + public string? elementKey { get; set; } + /// ///The path to the input field that caused the error. /// @@ -68320,9 +76195,9 @@ public class MetafieldIdentifierInput : GraphQLObject public class MetafieldInput : GraphQLObject { /// - ///The unique ID of the metafield. Using `owner_id`, `namespace`, and `key` is preferred for creating and updating. + ///The unique ID of the metafield. Using `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.")] + [Description("The unique ID of the metafield. Using `namespace` and `key` is preferred for creating and updating.")] public string? id { get; set; } /// @@ -69969,6 +77844,13 @@ public class MetaobjectDefinition : GraphQLObject, INode [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; } + /// ///The app used to create the metaobject definition. /// @@ -70048,6 +77930,13 @@ public class MetaobjectDefinition : GraphQLObject, INode [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; } } /// @@ -70109,7 +77998,6 @@ public class MetaobjectDefinitionCreateInput : GraphQLObject [Description("A set of field definitions to create on this metaobject definition.")] - [NonNull] public IEnumerable? fieldDefinitions { get; set; } /// @@ -72058,6 +79946,36 @@ public class Mutation : GraphQLObject, IMutationRoot [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; } + /// + ///Creates a cash drawer in a provided location. + /// + [Description("Creates a cash drawer in a provided location.")] + public CashDrawerCreatePayload? cashDrawerCreate { get; set; } + + /// + ///Finds or creates a cash drawer for cash management. Also ensures the provided device is assigned to the drawer. + /// + [Description("Finds or creates a cash drawer for cash management. Also ensures the provided device is assigned to the drawer.")] + public CashDrawerFindOrCreatePayload? cashDrawerFindOrCreate { get; set; } + + /// + ///Updates a cash drawer. + /// + [Description("Updates a cash drawer.")] + public CashDrawerUpdatePayload? cashDrawerUpdate { get; set; } + + /// + ///Create a cash management reason code. + /// + [Description("Create a cash management reason code.")] + public CashManagementReasonCodeCreatePayload? cashManagementReasonCodeCreate { get; set; } + + /// + ///Deletes a cash management reason code. + /// + [Description("Deletes a cash management reason code.")] + public CashManagementReasonCodeDeletePayload? cashManagementReasonCodeDelete { get; set; } + /// ///Modifies which contexts, like [markets](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) or B2B [company locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation), can access a [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog). You can add or remove contexts to control where the catalog's products and prices are available. /// @@ -72067,13 +79985,30 @@ public class Mutation : GraphQLObject, IMutationRoot public CatalogContextUpdatePayload? catalogContextUpdate { get; set; } /// - ///Creates a [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) that controls product availability and pricing for specific contexts like [markets](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) or B2B [company locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation). Catalogs use [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) objects to determine which products are available and [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) objects to set custom pricing. + ///Creates a [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) that controls product availability and pricing for specific contexts like [markets](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) or B2B [company locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation). + /// + ///### Publications and Price Lists + /// + ///- **[`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)** objects control which products are visible in a catalog. Publications are **optional**. When a publication isn't associated with a catalog, product availability is determined by the sales channel. + ///- **[`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList)** objects define custom pricing for products in a catalog. /// ///You can optionally associate a publication and price list when creating the catalog, or add them later using separate mutations. /// + ///### When to use Publications + /// + ///**Create a publication only if you need to:** + ///- Limit which products are visible in a specific context (e.g., show different products to different company locations or markets) + ///- Publish a curated subset of your product catalog + /// + ///**Do NOT create a publication if:** + ///- You want product availability determined by the sales channel + ///- You only need to customize pricing (use a price list without a publication) + /// + ///> **Important:** For company location catalogs that only require custom pricing, create the catalog with a price list but without a publication. + /// ///Learn more about [managing catalog contexts](https://shopify.dev/docs/apps/build/markets/new-markets/catalogs) and [using catalogs for different markets](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets). /// - [Description("Creates a [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) that controls product availability and pricing for specific contexts like [markets](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) or B2B [company locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation). Catalogs use [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) objects to determine which products are available and [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) objects to set custom pricing.\n\nYou can optionally associate a publication and price list when creating the catalog, or add them later using separate mutations.\n\nLearn more about [managing catalog contexts](https://shopify.dev/docs/apps/build/markets/new-markets/catalogs) and [using catalogs for different markets](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets).")] + [Description("Creates a [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) that controls product availability and pricing for specific contexts like [markets](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) or B2B [company locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation).\n\n### Publications and Price Lists\n\n- **[`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)** objects control which products are visible in a catalog. Publications are **optional**. When a publication isn't associated with a catalog, product availability is determined by the sales channel.\n- **[`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList)** objects define custom pricing for products in a catalog.\n\nYou can optionally associate a publication and price list when creating the catalog, or add them later using separate mutations.\n\n### When to use Publications\n\n**Create a publication only if you need to:**\n- Limit which products are visible in a specific context (e.g., show different products to different company locations or markets)\n- Publish a curated subset of your product catalog\n\n**Do NOT create a publication if:**\n- You want product availability determined by the sales channel\n- You only need to customize pricing (use a price list without a publication)\n\n> **Important:** For company location catalogs that only require custom pricing, create the catalog with a price list but without a publication.\n\nLearn more about [managing catalog contexts](https://shopify.dev/docs/apps/build/markets/new-markets/catalogs) and [using catalogs for different markets](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets).")] public CatalogCreatePayload? catalogCreate { get; set; } /// @@ -72090,6 +80025,44 @@ public class Mutation : GraphQLObject, IMutationRoot [Description("Updates an existing [catalog's](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) configuration. Catalogs control product publishing and pricing for specific contexts like [markets](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market) or B2B [company locations](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation).\n\nYou can modify the catalog's title, status, and associated context. You can also update the [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) that determines pricing adjustments or the [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) that controls which products customers see.")] public CatalogUpdatePayload? catalogUpdate { get; set; } + /// + ///Creates a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) representing a connection between the shop and an external selling platform account. Use this mutation after a merchant authenticates with an external platform to establish the publishing destination for product syndication and, for order-generating channels, order import. + /// + ///The platform resolves the [channel specification](https://shopify.dev/docs/apps/build/sales-channels/channel-config-extension) identified by `specificationHandle`, determines its country coverage, intersects with the shop's available region markets, and establishes product feeds for all matching regions. Product feeds immediately begin emitting events to the application's webhook or event subscription. + /// + ///If the specification sets `expects_online_store_parity` and no matching region markets exist, the mutation returns an error. If the specification doesn't require online store parity and no matching region markets exist, a channel subordinate to shop defaults is created automatically. + /// + [Description("Creates a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) representing a connection between the shop and an external selling platform account. Use this mutation after a merchant authenticates with an external platform to establish the publishing destination for product syndication and, for order-generating channels, order import.\n\nThe platform resolves the [channel specification](https://shopify.dev/docs/apps/build/sales-channels/channel-config-extension) identified by `specificationHandle`, determines its country coverage, intersects with the shop's available region markets, and establishes product feeds for all matching regions. Product feeds immediately begin emitting events to the application's webhook or event subscription.\n\nIf the specification sets `expects_online_store_parity` and no matching region markets exist, the mutation returns an error. If the specification doesn't require online store parity and no matching region markets exist, a channel subordinate to shop defaults is created automatically.")] + public ChannelCreatePayload? channelCreate { get; set; } + + /// + ///Deletes a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) from the shop. All associated product feeds are removed. Existing orders attributed to the channel are preserved. The channel must have been created via [`channelCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelCreate). + /// + [Description("Deletes a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) from the shop. All associated product feeds are removed. Existing orders attributed to the channel are preserved. The channel must have been created via [`channelCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelCreate).")] + public ChannelDeletePayload? channelDelete { get; set; } + + /// + ///Triggers a full product resync for the specified [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). All published products are added to the channel's product feed attention set, causing the next poll or event-triggered consumption to receive current state for the complete catalog. Use this mutation after initial channel setup, after recovering from a prolonged outage, or when the channel's external catalog has drifted from Shopify's state. + /// + ///The sync can be scoped to a specific country and language. When neither is specified, all country-language combinations covered by the channel's specification are triggered. + /// + [Description("Triggers a full product resync for the specified [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). All published products are added to the channel's product feed attention set, causing the next poll or event-triggered consumption to receive current state for the complete catalog. Use this mutation after initial channel setup, after recovering from a prolonged outage, or when the channel's external catalog has drifted from Shopify's state.\n\nThe sync can be scoped to a specific country and language. When neither is specified, all country-language combinations covered by the channel's specification are triggered.")] + public ChannelFullSyncPayload? channelFullSync { get; set; } + + /// + ///Updates the properties of an existing [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). Use this mutation to update account information — such as the display name shown in Shopify Admin — or to bind the channel to a different channel specification. + /// + ///Updating the `specificationHandle` triggers re-evaluation of the specification's country coverage against the shop's region markets, reconciling product feeds accordingly. This is also the mechanism for migrating legacy channel records to the multi-channel model by assigning a specification handle. + /// + [Description("Updates the properties of an existing [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). Use this mutation to update account information — such as the display name shown in Shopify Admin — or to bind the channel to a different channel specification.\n\nUpdating the `specificationHandle` triggers re-evaluation of the specification's country coverage against the shop's region markets, reconciling product feeds accordingly. This is also the mechanism for migrating legacy channel records to the multi-channel model by assigning a specification handle.")] + public ChannelUpdatePayload? channelUpdate { get; set; } + + /// + ///Updates a checkout and accounts configuration. + /// + [Description("Updates a checkout and accounts configuration.")] + public CheckoutAndAccountsConfigurationUpdatePayload? checkoutAndAccountsConfigurationUpdate { get; set; } + /// ///Updates the visual branding for a [`CheckoutProfile`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutProfile), customizing how checkout displays to customers. Creates new branding settings if none exist, or modifies existing settings. /// @@ -72100,6 +80073,7 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about [checkout styling](https://shopify.dev/docs/apps/checkout/styling). /// [Description("Updates the visual branding for a [`CheckoutProfile`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutProfile), customizing how checkout displays to customers. Creates new branding settings if none exist, or modifies existing settings.\n\nThe mutation accepts two levels of customization through the [`CheckoutBrandingInput`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CheckoutBrandingInput) input object. [`designSystem`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/checkoutBrandingUpsert#arguments-checkoutBrandingInput.fields.designSystem) defines foundational brand attributes like colors, typography, and corner radius that apply consistently throughout checkout. [`customizations`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/checkoutBrandingUpsert#arguments-checkoutBrandingInput.fields.customizations) defines styles for specific parts of the UI, individual components, or groups of components like the header, buttons, form fields, and sections.\n\nChanges to a published checkout profile display immediately in the store's checkout. You can preview draft profiles in the Shopify admin's checkout editor before publishing.\n\nLearn more about [checkout styling](https://shopify.dev/docs/apps/checkout/styling).")] + [Obsolete("Use `checkoutAndAccountsConfigurationUpdate` instead.")] public CheckoutBrandingUpsertPayload? checkoutBrandingUpsert { get; set; } /// @@ -72628,8 +80602,12 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Updates a [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)'s email marketing consent information. The customer must have an email address to update their consent. Records the [marketing state](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailAddress#field-marketingState) (such as subscribed, pending, unsubscribed), [opt-in level](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailAddress#field-marketingOptInLevel), and when and where the customer gave or withdrew consent. + /// + ///Only three values are accepted as input: SUBSCRIBED, UNSUBSCRIBED, and PENDING. + ///NOT_SUBSCRIBED, REDACTED, and INVALID cannot be set via this mutation; they are + ///read-only or internally-set states. /// - [Description("Updates a [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)'s email marketing consent information. The customer must have an email address to update their consent. Records the [marketing state](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailAddress#field-marketingState) (such as subscribed, pending, unsubscribed), [opt-in level](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailAddress#field-marketingOptInLevel), and when and where the customer gave or withdrew consent.")] + [Description("Updates a [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)'s email marketing consent information. The customer must have an email address to update their consent. Records the [marketing state](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailAddress#field-marketingState) (such as subscribed, pending, unsubscribed), [opt-in level](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailAddress#field-marketingOptInLevel), and when and where the customer gave or withdrew consent.\n\nOnly three values are accepted as input: SUBSCRIBED, UNSUBSCRIBED, and PENDING.\nNOT_SUBSCRIBED, REDACTED, and INVALID cannot be set via this mutation; they are\nread-only or internally-set states.")] public CustomerEmailMarketingConsentUpdatePayload? customerEmailMarketingConsentUpdate { get; set; } /// @@ -73081,6 +81059,28 @@ public class Mutation : GraphQLObject, IMutationRoot [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; } + /// + ///Adds tags to multiple [discounts](https://help.shopify.com/manual/discounts/discount-types) asynchronously using one of the following: + ///- A search query + ///- A saved search ID + ///- A list of discount IDs + /// + ///For example, you can add tags to price rules that match a search criteria, or add tags to a predefined set of price rules. + /// + [Description("Adds tags to multiple [discounts](https://help.shopify.com/manual/discounts/discount-types) asynchronously using one of the following:\n- A search query\n- A saved search ID\n- A list of discount IDs\n\nFor example, you can add tags to price rules that match a search criteria, or add tags to a predefined set of price rules.")] + public DiscountBulkTagsAddPayload? discountBulkTagsAdd { get; set; } + + /// + ///Removes tags from multiple [discounts](https://help.shopify.com/manual/discounts/discount-types) asynchronously using one of the following: + ///- A search query + ///- A saved search ID + ///- A list of discount IDs + /// + ///For example, you can delete tags from price rules that match a search criteria, or delete tags from a predefined set of price rules. + /// + [Description("Removes tags from multiple [discounts](https://help.shopify.com/manual/discounts/discount-types) asynchronously using one of the following:\n- A search query\n- A saved search ID\n- A list of discount IDs\n\nFor example, you can delete tags from price rules that match a search criteria, or delete tags from a predefined set of price rules.")] + public DiscountBulkTagsRemovePayload? discountBulkTagsRemove { 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. /// @@ -73753,6 +81753,12 @@ public class Mutation : GraphQLObject, IMutationRoot [Description("Releases the fulfillment hold on a fulfillment order.")] public FulfillmentOrderReleaseHoldPayload? fulfillmentOrderReleaseHold { get; set; } + /// + ///Reports the progress of an open or in-progress fulfillment order. + /// + [Description("Reports the progress of an open or in-progress fulfillment order.")] + public FulfillmentOrderReportProgressPayload? fulfillmentOrderReportProgress { get; set; } + /// ///Reschedules a scheduled fulfillment order. /// @@ -74014,7 +82020,7 @@ public class Mutation : GraphQLObject, IMutationRoot ///> For more information, see the [idempotency documentation](https://shopify.dev/docs/api/usage/idempotent-requests). /// [Description("Set up scheduled changes of inventory items.\n\n> Caution:\n> As of 2026-01, this mutation supports an optional idempotency key using the `@idempotent` directive.\n> As of 2026-04, the idempotency key is required and must be provided using the `@idempotent` directive.\n> For more information, see the [idempotency documentation](https://shopify.dev/docs/api/usage/idempotent-requests).")] - [Obsolete("Scheduled changes will be phased out in a future version.")] + [Obsolete("Scheduled changes will be phased out in 2026-07.")] public InventorySetScheduledChangesPayload? inventorySetScheduledChanges { get; set; } /// @@ -74079,6 +82085,12 @@ public class Mutation : GraphQLObject, IMutationRoot [Description("Remove items from an inventory shipment.")] public InventoryShipmentRemoveItemsPayload? inventoryShipmentRemoveItems { get; set; } + /// + ///Sets the barcode on an inventory shipment. + /// + [Description("Sets the barcode on an inventory shipment.")] + public InventoryShipmentSetBarcodePayload? inventoryShipmentSetBarcode { get; set; } + /// ///Edits the tracking info on an inventory shipment. /// @@ -74977,6 +82989,36 @@ public class Mutation : GraphQLObject, IMutationRoot [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; } + /// + ///Assigns a point of sale device to a cash drawer, removing any prior assignment. + /// + [Description("Assigns a point of sale device to a cash drawer, removing any prior assignment.")] + public PointOfSaleDeviceAssignToCashDrawerPayload? pointOfSaleDeviceAssignToCashDrawer { get; set; } + + /// + ///Adds an adjustment to a point of sale device payment session. + /// + [Description("Adds an adjustment to a point of sale device payment session.")] + public PointOfSaleDevicePaymentSessionAdjustPayload? pointOfSaleDevicePaymentSessionAdjust { get; set; } + + /// + ///Closes a point of sale device payment session. + /// + [Description("Closes a point of sale device payment session.")] + public PointOfSaleDevicePaymentSessionClosePayload? pointOfSaleDevicePaymentSessionClose { get; set; } + + /// + ///Records a mid-session cash count for a point of sale device payment session. + /// + [Description("Records a mid-session cash count for a point of sale device payment session.")] + public PointOfSaleDevicePaymentSessionCountPayload? pointOfSaleDevicePaymentSessionCount { get; set; } + + /// + ///Opens a point of sale device payment session. + /// + [Description("Opens a point of sale device payment session.")] + public PointOfSaleDevicePaymentSessionOpenPayload? pointOfSaleDevicePaymentSessionOpen { get; set; } + /// ///Creates a [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList). Price lists enable contextual pricing by defining fixed prices or percentage-based adjustments. /// @@ -75689,9 +83731,23 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Creates a [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) that controls which [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and [`Collection`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) customers can access through a [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog). /// + ///### When to create a publication + /// + ///Publications are **optional** for catalogs. Only create a publication if you need to control which products are visible in a specific catalog context. When a publication isn't associated with a catalog, product availability is determined by the sales channel. + /// + ///**Create a publication if you need to:** + ///- Restrict product visibility to a subset of your inventory for a specific market or company location + ///- Publish different product selections to different contexts + /// + ///**Do NOT create a publication if:** + ///- You want product availability determined by the sales channel + ///- You only need custom pricing (use a price list on the catalog instead) + /// + ///### Configuration options + /// ///You can create an empty publication and add products later, or prepopulate it with all existing products. The [`autoPublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publicationCreate#arguments-input.fields.autoPublish) field determines whether the publication automatically adds newly created products. /// - [Description("Creates a [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) that controls which [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and [`Collection`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) customers can access through a [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog).\n\nYou can create an empty publication and add products later, or prepopulate it with all existing products. The [`autoPublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publicationCreate#arguments-input.fields.autoPublish) field determines whether the publication automatically adds newly created products.")] + [Description("Creates a [`Publication`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) that controls which [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and [`Collection`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) customers can access through a [`Catalog`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog).\n\n### When to create a publication\n\nPublications are **optional** for catalogs. Only create a publication if you need to control which products are visible in a specific catalog context. When a publication isn't associated with a catalog, product availability is determined by the sales channel.\n\n**Create a publication if you need to:**\n- Restrict product visibility to a subset of your inventory for a specific market or company location\n- Publish different product selections to different contexts\n\n**Do NOT create a publication if:**\n- You want product availability determined by the sales channel\n- You only need custom pricing (use a price list on the catalog instead)\n\n### Configuration options\n\nYou can create an empty publication and add products later, or prepopulate it with all existing products. The [`autoPublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publicationCreate#arguments-input.fields.autoPublish) field determines whether the publication automatically adds newly created products.")] public PublicationCreatePayload? publicationCreate { get; set; } /// @@ -75724,6 +83780,7 @@ public class Mutation : GraphQLObject, IMutationRoot ///For products to be visible in the channel, they must have an active [`ProductStatus`](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductStatus). Products sold exclusively on subscription ([`requiresSellingPlan`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product#field-Product.fields.requiresSellingPlan): `true`) can only be published to online stores. /// [Description("Publishes a resource to the current [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) associated with the requesting app. The system determines the current channel by the app's API client ID. Resources include [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and [`Collection`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) objects that implement the [`Publishable`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Publishable) interface.\n\nFor products to be visible in the channel, they must have an active [`ProductStatus`](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductStatus). Products sold exclusively on subscription ([`requiresSellingPlan`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product#field-Product.fields.requiresSellingPlan): `true`) can only be published to online stores.")] + [Obsolete("Use `publishablePublish` instead.")] public PublishablePublishToCurrentChannelPayload? publishablePublishToCurrentChannel { get; set; } /// @@ -75738,6 +83795,7 @@ public class Mutation : GraphQLObject, IMutationRoot ///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`.")] + [Obsolete("Use `publishableUnpublish` instead.")] public PublishableUnpublishToCurrentChannelPayload? publishableUnpublishToCurrentChannel { get; set; } /// @@ -76122,14 +84180,17 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///## Sending feedback on a shop /// - ///You 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. + ///You 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 `ACCEPTED`. You need to send a `REQUIRES_ACTION` feedback request for each step that the merchant is required to complete. + /// + ///If there are multiple set-up steps that require merchant action, then send feedback with a state of `REQUIRES_ACTION` as merchants complete prior steps. When all required actions are resolved, send an `ACCEPTED` feedback request to clear the active feedback signal. /// - ///If 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. + ///### Clearing feedback with ACCEPTED + ///Sending `state: ACCEPTED` removes the active feedback entry. After this mutation succeeds, reading `channel.resourceFeedback`, `app.feedback`, or the `feedback` field on this payload may return `null`—this is expected behavior, not a mutation failure. A `null` result means no outstanding feedback exists for the channel. /// - ///#### Important + ///### 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.")] + [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 `ACCEPTED`. 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. When all required actions are resolved, send an `ACCEPTED` feedback request to clear the active feedback signal.\n\n### Clearing feedback with ACCEPTED\nSending `state: ACCEPTED` removes the active feedback entry. After this mutation succeeds, reading `channel.resourceFeedback`, `app.feedback`, or the `feedback` field on this payload may return `null`—this is expected behavior, not a mutation failure. A `null` result means no outstanding feedback exists for the channel.\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; } /// @@ -76857,12 +84918,18 @@ public class NavigationItem : GraphQLObject [JsonDerivedType(typeof(BusinessEntity), typeDiscriminator: "BusinessEntity")] [JsonDerivedType(typeof(CalculatedOrder), typeDiscriminator: "CalculatedOrder")] [JsonDerivedType(typeof(CartTransform), typeDiscriminator: "CartTransform")] + [JsonDerivedType(typeof(CashDrawer), typeDiscriminator: "CashDrawer")] + [JsonDerivedType(typeof(CashManagementCustomReasonCode), typeDiscriminator: "CashManagementCustomReasonCode")] + [JsonDerivedType(typeof(CashManagementDefaultReasonCode), typeDiscriminator: "CashManagementDefaultReasonCode")] + [JsonDerivedType(typeof(CashManagementSystemReasonCode), typeDiscriminator: "CashManagementSystemReasonCode")] [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(CheckoutAndAccountsConfiguration), typeDiscriminator: "CheckoutAndAccountsConfiguration")] + [JsonDerivedType(typeof(CheckoutAndAccountsConfigurationOverride), typeDiscriminator: "CheckoutAndAccountsConfigurationOverride")] [JsonDerivedType(typeof(CheckoutProfile), typeDiscriminator: "CheckoutProfile")] [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] [JsonDerivedType(typeof(Comment), typeDiscriminator: "Comment")] @@ -76963,6 +85030,7 @@ public class NavigationItem : GraphQLObject [JsonDerivedType(typeof(PaymentTerms), typeDiscriminator: "PaymentTerms")] [JsonDerivedType(typeof(PaymentTermsTemplate), typeDiscriminator: "PaymentTermsTemplate")] [JsonDerivedType(typeof(PointOfSaleDevice), typeDiscriminator: "PointOfSaleDevice")] + [JsonDerivedType(typeof(PointOfSaleDevicePaymentSession), typeDiscriminator: "PointOfSaleDevicePaymentSession")] [JsonDerivedType(typeof(PriceList), typeDiscriminator: "PriceList")] [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] [JsonDerivedType(typeof(PriceRuleDiscountCode), typeDiscriminator: "PriceRuleDiscountCode")] @@ -77055,12 +85123,18 @@ public interface INode : IGraphQLObject public BusinessEntity? AsBusinessEntity() => this as BusinessEntity; public CalculatedOrder? AsCalculatedOrder() => this as CalculatedOrder; public CartTransform? AsCartTransform() => this as CartTransform; + public CashDrawer? AsCashDrawer() => this as CashDrawer; + public CashManagementCustomReasonCode? AsCashManagementCustomReasonCode() => this as CashManagementCustomReasonCode; + public CashManagementDefaultReasonCode? AsCashManagementDefaultReasonCode() => this as CashManagementDefaultReasonCode; + public CashManagementSystemReasonCode? AsCashManagementSystemReasonCode() => this as CashManagementSystemReasonCode; 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 CheckoutAndAccountsConfiguration? AsCheckoutAndAccountsConfiguration() => this as CheckoutAndAccountsConfiguration; + public CheckoutAndAccountsConfigurationOverride? AsCheckoutAndAccountsConfigurationOverride() => this as CheckoutAndAccountsConfigurationOverride; public CheckoutProfile? AsCheckoutProfile() => this as CheckoutProfile; public Collection? AsCollection() => this as Collection; public Comment? AsComment() => this as Comment; @@ -77161,6 +85235,7 @@ public interface INode : IGraphQLObject public PaymentTerms? AsPaymentTerms() => this as PaymentTerms; public PaymentTermsTemplate? AsPaymentTermsTemplate() => this as PaymentTermsTemplate; public PointOfSaleDevice? AsPointOfSaleDevice() => this as PointOfSaleDevice; + public PointOfSaleDevicePaymentSession? AsPointOfSaleDevicePaymentSession() => this as PointOfSaleDevicePaymentSession; public PriceList? AsPriceList() => this as PriceList; public PriceRule? AsPriceRule() => this as PriceRule; public PriceRuleDiscountCode? AsPriceRuleDiscountCode() => this as PriceRuleDiscountCode; @@ -81071,9 +89146,9 @@ public class OrderCreateTaxLineInput : GraphQLObject public bool? channelLiable { get; set; } /// - ///The amount of tax to be charged on the item. + ///The amount added to the order for this tax in shop and presentment currencies after discounts are applied. /// - [Description("The amount of tax to be charged on the item.")] + [Description("The amount added to the order for this tax in shop and presentment currencies after discounts are applied.")] public MoneyBagInput? priceSet { get; set; } /// @@ -83936,6 +92011,106 @@ public enum OrderTransactionErrorCode /// [Description("The order was not confirmed within three hours.")] AMAZON_PAYMENTS_STALE, + /// + ///The transaction amount exceeds the maximum amount allowed. + /// + [Description("The transaction amount exceeds the maximum amount allowed.")] + AMOUNT_TOO_LARGE, + /// + ///The transaction amount is below the minimum amount allowed. + /// + [Description("The transaction amount is below the minimum amount allowed.")] + AMOUNT_TOO_SMALL, + /// + ///The 3D Secure authentication failed. + /// + [Description("The 3D Secure authentication failed.")] + AUTHENTICATION_FAILED, + /// + ///The transaction requires 3D Secure authentication but was attempted without authentication. + /// + [Description("The transaction requires 3D Secure authentication but was attempted without authentication.")] + AUTHENTICATION_REQUIRED, + /// + ///The transaction was cancelled. + /// + [Description("The transaction was cancelled.")] + CANCELLED_PAYMENT, + /// + ///The transaction was declined due to suspected card testing activity. + /// + [Description("The transaction was declined due to suspected card testing activity.")] + CARD_TESTING, + /// + ///The issuer declined the transaction without providing a specific reason. + /// + [Description("The issuer declined the transaction without providing a specific reason.")] + DO_NOT_HONOR, + /// + ///The transaction was declined due to suspected fraudulent activity. + /// + [Description("The transaction was declined due to suspected fraudulent activity.")] + FRAUD_SUSPECTED, + /// + ///There are insufficient funds available to complete the transaction. + /// + [Description("There are insufficient funds available to complete the transaction.")] + INSUFFICIENT_FUNDS, + /// + ///The currency isn't supported. + /// + [Description("The currency isn't supported.")] + INVALID_CURRENCY, + /// + ///The payment method is invalid or not found. + /// + [Description("The payment method is invalid or not found.")] + INVALID_PAYMENT_METHOD, + /// + ///This payment method doesn't support the requested transaction type. + /// + [Description("This payment method doesn't support the requested transaction type.")] + INVALID_PURCHASE_TYPE, + /// + ///The transaction couldn't be processed due to an issue with the merchant account. + /// + [Description("The transaction couldn't be processed due to an issue with the merchant account.")] + MERCHANT_ACCOUNT_ERROR, + /// + ///The transaction was blocked due to the merchant's custom payment risk rule. + /// + [Description("The transaction was blocked due to the merchant's custom payment risk rule.")] + MERCHANT_RULE, + /// + ///The payment instrument was declined. + /// + [Description("The payment instrument was declined.")] + INSTRUMENT_DECLINED, + /// + ///The payment method isn't supported. + /// + [Description("The payment method isn't supported.")] + PAYMENT_METHOD_UNSUPPORTED, + /// + ///The transaction couldn't be processed due to an unexpected error with the payment provider. + /// + [Description("The transaction couldn't be processed due to an unexpected error with the payment provider.")] + PAYMENT_PROVIDER_ERROR, + /// + ///The transaction retry attempt was declined. + /// + [Description("The transaction retry attempt was declined.")] + RETRY_DECLINED, + /// + ///The payment instrument has exceeded the processing frequency limit. + /// + [Description("The payment instrument has exceeded the processing frequency limit.")] + TRANSACTION_LIMIT_EXCEEDED, + /// + ///The authorization has expired. + /// + [Description("The authorization has expired.")] + AUTHORIZATION_EXPIRED, } public static class OrderTransactionErrorCodeStringValues @@ -83967,6 +92142,26 @@ public static class OrderTransactionErrorCodeStringValues 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"; + public const string AMOUNT_TOO_LARGE = @"AMOUNT_TOO_LARGE"; + public const string AMOUNT_TOO_SMALL = @"AMOUNT_TOO_SMALL"; + public const string AUTHENTICATION_FAILED = @"AUTHENTICATION_FAILED"; + public const string AUTHENTICATION_REQUIRED = @"AUTHENTICATION_REQUIRED"; + public const string CANCELLED_PAYMENT = @"CANCELLED_PAYMENT"; + public const string CARD_TESTING = @"CARD_TESTING"; + public const string DO_NOT_HONOR = @"DO_NOT_HONOR"; + public const string FRAUD_SUSPECTED = @"FRAUD_SUSPECTED"; + public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; + public const string INVALID_CURRENCY = @"INVALID_CURRENCY"; + public const string INVALID_PAYMENT_METHOD = @"INVALID_PAYMENT_METHOD"; + public const string INVALID_PURCHASE_TYPE = @"INVALID_PURCHASE_TYPE"; + public const string MERCHANT_ACCOUNT_ERROR = @"MERCHANT_ACCOUNT_ERROR"; + public const string MERCHANT_RULE = @"MERCHANT_RULE"; + public const string INSTRUMENT_DECLINED = @"INSTRUMENT_DECLINED"; + public const string PAYMENT_METHOD_UNSUPPORTED = @"PAYMENT_METHOD_UNSUPPORTED"; + public const string PAYMENT_PROVIDER_ERROR = @"PAYMENT_PROVIDER_ERROR"; + public const string RETRY_DECLINED = @"RETRY_DECLINED"; + public const string TRANSACTION_LIMIT_EXCEEDED = @"TRANSACTION_LIMIT_EXCEEDED"; + public const string AUTHORIZATION_EXPIRED = @"AUTHORIZATION_EXPIRED"; } /// @@ -86147,12 +94342,790 @@ public class PickupInStoreLocation : GraphQLObject [Description("Represents a mobile device that Shopify Point of Sale has been installed on.")] public class PointOfSaleDevice : GraphQLObject, INode { + /// + ///The currently open payment session for this device. + /// + [Description("The currently open payment session for this device.")] + public PointOfSaleDevicePaymentSession? activePaymentSession { get; set; } + + /// + ///The cash drawer that this device is currently assigned to. + /// + [Description("The cash drawer that this device is currently assigned to.")] + public CashDrawer? cashDrawer { get; set; } + + /// + ///A globally-unique ID. + /// + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + + /// + ///Return type for `pointOfSaleDeviceAssignToCashDrawer` mutation. + /// + [Description("Return type for `pointOfSaleDeviceAssignToCashDrawer` mutation.")] + public class PointOfSaleDeviceAssignToCashDrawerPayload : GraphQLObject + { + /// + ///The point of sale device. + /// + [Description("The point of sale device.")] + public PointOfSaleDevice? pointOfSaleDevice { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `PointOfSaleDeviceAssignToCashDrawer`. + /// + [Description("An error that occurs during the execution of `PointOfSaleDeviceAssignToCashDrawer`.")] + public class PointOfSaleDeviceAssignToCashDrawerUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(PointOfSaleDeviceAssignToCashDrawerUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `PointOfSaleDeviceAssignToCashDrawerUserError`. + /// + [Description("Possible error codes that can be returned by `PointOfSaleDeviceAssignToCashDrawerUserError`.")] + public enum PointOfSaleDeviceAssignToCashDrawerUserErrorCode + { + /// + ///Unexpected internal error happened. + /// + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, + /// + ///The cash drawer and point of sale device must be in the same location. + /// + [Description("The cash drawer and point of sale device must be in the same location.")] + LOCATION_MISMATCH, + /// + ///The cash drawer was not found. + /// + [Description("The cash drawer was not found.")] + CASH_DRAWER_NOT_FOUND, + /// + ///The point of sale device was not found. + /// + [Description("The point of sale device was not found.")] + POINT_OF_SALE_DEVICE_NOT_FOUND, + } + + public static class PointOfSaleDeviceAssignToCashDrawerUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string LOCATION_MISMATCH = @"LOCATION_MISMATCH"; + public const string CASH_DRAWER_NOT_FOUND = @"CASH_DRAWER_NOT_FOUND"; + public const string POINT_OF_SALE_DEVICE_NOT_FOUND = @"POINT_OF_SALE_DEVICE_NOT_FOUND"; + } + + /// + ///An auto-generated type for paginating through multiple PointOfSaleDevices. + /// + [Description("An auto-generated type for paginating through multiple PointOfSaleDevices.")] + public class PointOfSaleDeviceConnection : 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; } + + /// + ///A list of nodes that are contained in PointOfSaleDeviceEdge. You can fetch data about an individual node, or you can 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 PointOfSaleDeviceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data 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; } + } + + /// + ///An auto-generated type which holds one PointOfSaleDevice and a cursor during pagination. + /// + [Description("An auto-generated type which holds one PointOfSaleDevice and a cursor during pagination.")] + public class PointOfSaleDeviceEdge : 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; } + + /// + ///The item at the end of PointOfSaleDeviceEdge. + /// + [Description("The item at the end of PointOfSaleDeviceEdge.")] + [NonNull] + public PointOfSaleDevice? node { get; set; } + } + + /// + ///Tracks the payment activity for a point of sale device. + /// + [Description("Tracks the payment activity for a point of sale device.")] + public class PointOfSaleDevicePaymentSession : GraphQLObject, INode + { + /// + ///The activities on the point of sale device payment session. + /// + [Description("The activities on the point of sale device payment session.")] + [NonNull] + public CashActivityConnection? cashActivities { get; set; } + + /// + ///The cash that was physically counted when the point of sale device payment session was closed. + /// + [Description("The cash that was physically counted when the point of sale device payment session was closed.")] + public MoneyV2? cashCountedAtClose { get; set; } + + /// + ///The cash that was physically counted when the point of sale device payment session was opened. + /// + [Description("The cash that was physically counted when the point of sale device payment session was opened.")] + [NonNull] + public MoneyV2? cashCountedAtOpen { get; set; } + + /// + ///The cash drawer associated with the point of sale device payment session. The session's sales andcash tracking activity will affect the cash drawer's balance. + /// + [Description("The cash drawer associated with the point of sale device payment session. The session's sales andcash tracking activity will affect the cash drawer's balance.")] + [NonNull] + public CashDrawer? cashDrawer { get; set; } + + /// + ///The amount that the cash drawer balance was adjusted when the session was closed. + /// + [Description("The amount that the cash drawer balance was adjusted when the session was closed.")] + public MoneyV2? closingAdjustment { get; set; } + + /// + ///The counted balance of the cash drawer when the point of sale device payment session was closed. + /// + [Description("The counted balance of the cash drawer when the point of sale device payment session was closed.")] + public MoneyV2? closingBalance { get; set; } + + /// + ///The note associated with the point of sale device payment session closing. + /// + [Description("The note associated with the point of sale device payment session closing.")] + public string? closingNote { get; set; } + + /// + ///The staff member who closed the point of sale device payment session. + /// + [Description("The staff member who closed the point of sale device payment session.")] + public StaffMember? closingStaffMember { get; set; } + + /// + ///The time the point of sale device payment session was closed. + /// + [Description("The time the point of sale device payment session was closed.")] + public DateTime? closingTime { get; set; } + + /// + ///The currency of the point of sale device payment session. + /// + [Description("The currency of the point of sale device payment session.")] + [NonNull] + public string? currency { get; set; } + + /// + ///The expected cash when the point of sale device payment session was closed. + /// + [Description("The expected cash when the point of sale device payment session was closed.")] + public MoneyV2? expectedCashAtClose { get; set; } + + /// + ///The expected balance of the cash drawer when the point of sale device payment session was opened. + /// + [Description("The expected balance of the cash drawer when the point of sale device payment session was opened.")] + [NonNull] + public MoneyV2? expectedCashAtOpen { get; set; } + /// ///A globally-unique ID. /// [Description("A globally-unique ID.")] [NonNull] public string? id { get; set; } + + /// + ///The location associated with the point of sale device payment session. The session's sales and cash tracking activity will contribute to the location's totals. + /// + [Description("The location associated with the point of sale device payment session. The session's sales and cash tracking activity will contribute to the location's totals.")] + [NonNull] + public Location? location { get; set; } + + /// + ///The net cash sales for the point of sale device payment session. + /// + [Description("The net cash sales for the point of sale device payment session.")] + [NonNull] + public MoneyV2? netCashSales { get; set; } + + /// + ///The net sales for the duration of this session. + /// + [Description("The net sales for the duration of this session.")] + [NonNull] + public MoneyV2? netSales { get; set; } + + /// + ///The note associated with the point of sale device payment session opening. + /// + [Description("The note associated with the point of sale device payment session opening.")] + public string? openingNote { get; set; } + + /// + ///The staff member who opened the point of sale device payment session. + /// + [Description("The staff member who opened the point of sale device payment session.")] + [NonNull] + public StaffMember? openingStaffMember { get; set; } + + /// + ///The time the point of sale device payment session was opened. + /// + [Description("The time the point of sale device payment session was opened.")] + [NonNull] + public DateTime? openingTime { get; set; } + + /// + ///The point of sale device. + /// + [Description("The point of sale device.")] + [NonNull] + public PointOfSaleDevice? pointOfSaleDevice { get; set; } + + /// + ///Whether the point of sale device payment session is open. Payments can't be processed or refunded during a closed session, and the cash drawer balance can't be adjusted or corrected. + /// + [Description("Whether the point of sale device payment session is open. Payments can't be processed or refunded during a closed session, and the cash drawer balance can't be adjusted or corrected.")] + [NonNull] + [EnumType(typeof(PointOfSaleDevicePaymentSessionStatus))] + public string? status { get; set; } + + /// + ///The total adjustments for the point of sale device payment session. + /// + [Description("The total adjustments for the point of sale device payment session.")] + [NonNull] + public MoneyV2? totalAdjustments { get; set; } + + /// + ///The total cash refunds for the point of sale device payment session. + /// + [Description("The total cash refunds for the point of sale device payment session.")] + [NonNull] + public MoneyV2? totalCashRefunds { get; set; } + + /// + ///The total cash sales for the point of sale device payment session. + /// + [Description("The total cash sales for the point of sale device payment session.")] + [NonNull] + public MoneyV2? totalCashSales { get; set; } + + /// + ///The total discrepancy for the point of sale device payment session. + /// + [Description("The total discrepancy for the point of sale device payment session.")] + [NonNull] + public MoneyV2? totalDiscrepancy { get; set; } + + /// + ///The sum of all refunds for the duration of this session. + /// + [Description("The sum of all refunds for the duration of this session.")] + [NonNull] + public MoneyV2? totalRefunds { get; set; } + + /// + ///The sum of all sales for the duration of this session. + /// + [Description("The sum of all sales for the duration of this session.")] + [NonNull] + public MoneyV2? totalSales { get; set; } + + /// + ///Whether the point of sale device payment session totals are ready. + /// + [Description("Whether the point of sale device payment session totals are ready.")] + [NonNull] + public bool? totalsReady { get; set; } + } + + /// + ///Return type for `pointOfSaleDevicePaymentSessionAdjust` mutation. + /// + [Description("Return type for `pointOfSaleDevicePaymentSessionAdjust` mutation.")] + public class PointOfSaleDevicePaymentSessionAdjustPayload : GraphQLObject + { + /// + ///The adjusted point of sale device payment session. + /// + [Description("The adjusted point of sale device payment session.")] + public PointOfSaleDevicePaymentSession? pointOfSaleDevicePaymentSession { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + + /// + ///Return type for `pointOfSaleDevicePaymentSessionClose` mutation. + /// + [Description("Return type for `pointOfSaleDevicePaymentSessionClose` mutation.")] + public class PointOfSaleDevicePaymentSessionClosePayload : GraphQLObject + { + /// + ///The closed point of sale device payment session. + /// + [Description("The closed point of sale device payment session.")] + public PointOfSaleDevicePaymentSession? pointOfSaleDevicePaymentSession { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `PointOfSaleDevicePaymentSessionClose`. + /// + [Description("An error that occurs during the execution of `PointOfSaleDevicePaymentSessionClose`.")] + public class PointOfSaleDevicePaymentSessionCloseUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(PointOfSaleDevicePaymentSessionCloseUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `PointOfSaleDevicePaymentSessionCloseUserError`. + /// + [Description("Possible error codes that can be returned by `PointOfSaleDevicePaymentSessionCloseUserError`.")] + public enum PointOfSaleDevicePaymentSessionCloseUserErrorCode + { + /// + ///Staff member not found. + /// + [Description("Staff member not found.")] + STAFF_MEMBER_NOT_FOUND, + /// + ///Point of sale device payment session not found. + /// + [Description("Point of sale device payment session not found.")] + PAYMENT_SESSION_NOT_FOUND, + /// + ///Session is already closed. + /// + [Description("Session is already closed.")] + SESSION_ALREADY_CLOSED, + /// + ///Time cannot be before session opening time. + /// + [Description("Time cannot be before session opening time.")] + TIME_BEFORE_SESSION_OPEN, + /// + ///Reason code not found. + /// + [Description("Reason code not found.")] + REASON_CODE_NOT_FOUND, + /// + ///The currency code does not match the point of sale device payment session currency. + /// + [Description("The currency code does not match the point of sale device payment session currency.")] + CURRENCY_MISMATCH, + /// + ///Point of sale device has no cash drawer associated with it. + /// + [Description("Point of sale device has no cash drawer associated with it.")] + NO_CASH_DRAWER_ASSOCIATED, + /// + ///Point of sale device payment session not closed. + /// + [Description("Point of sale device payment session not closed.")] + FAILED_TO_CLOSE_SESSION, + } + + public static class PointOfSaleDevicePaymentSessionCloseUserErrorCodeStringValues + { + public const string STAFF_MEMBER_NOT_FOUND = @"STAFF_MEMBER_NOT_FOUND"; + public const string PAYMENT_SESSION_NOT_FOUND = @"PAYMENT_SESSION_NOT_FOUND"; + public const string SESSION_ALREADY_CLOSED = @"SESSION_ALREADY_CLOSED"; + public const string TIME_BEFORE_SESSION_OPEN = @"TIME_BEFORE_SESSION_OPEN"; + public const string REASON_CODE_NOT_FOUND = @"REASON_CODE_NOT_FOUND"; + public const string CURRENCY_MISMATCH = @"CURRENCY_MISMATCH"; + public const string NO_CASH_DRAWER_ASSOCIATED = @"NO_CASH_DRAWER_ASSOCIATED"; + public const string FAILED_TO_CLOSE_SESSION = @"FAILED_TO_CLOSE_SESSION"; + } + + /// + ///An auto-generated type for paginating through multiple PointOfSaleDevicePaymentSessions. + /// + [Description("An auto-generated type for paginating through multiple PointOfSaleDevicePaymentSessions.")] + public class PointOfSaleDevicePaymentSessionConnection : 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; } + + /// + ///A list of nodes that are contained in PointOfSaleDevicePaymentSessionEdge. You can fetch data about an individual node, or you can 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 PointOfSaleDevicePaymentSessionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data 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; } + } + + /// + ///Return type for `pointOfSaleDevicePaymentSessionCount` mutation. + /// + [Description("Return type for `pointOfSaleDevicePaymentSessionCount` mutation.")] + public class PointOfSaleDevicePaymentSessionCountPayload : GraphQLObject + { + /// + ///The point of sale device payment session after recording the count. + /// + [Description("The point of sale device payment session after recording the count.")] + public PointOfSaleDevicePaymentSession? pointOfSaleDevicePaymentSession { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `PointOfSaleDevicePaymentSessionCount`. + /// + [Description("An error that occurs during the execution of `PointOfSaleDevicePaymentSessionCount`.")] + public class PointOfSaleDevicePaymentSessionCountUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(PointOfSaleDevicePaymentSessionCountUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `PointOfSaleDevicePaymentSessionCountUserError`. + /// + [Description("Possible error codes that can be returned by `PointOfSaleDevicePaymentSessionCountUserError`.")] + public enum PointOfSaleDevicePaymentSessionCountUserErrorCode + { + /// + ///Staff member not found. + /// + [Description("Staff member not found.")] + STAFF_MEMBER_NOT_FOUND, + /// + ///Point of sale device payment session not found. + /// + [Description("Point of sale device payment session not found.")] + PAYMENT_SESSION_NOT_FOUND, + /// + ///Session is already closed. + /// + [Description("Session is already closed.")] + SESSION_ALREADY_CLOSED, + /// + ///Time cannot be before session opening time. + /// + [Description("Time cannot be before session opening time.")] + TIME_BEFORE_SESSION_OPEN, + /// + ///Reason code not found. + /// + [Description("Reason code not found.")] + REASON_CODE_NOT_FOUND, + /// + ///The currency code does not match the point of sale device payment session currency. + /// + [Description("The currency code does not match the point of sale device payment session currency.")] + CURRENCY_MISMATCH, + /// + ///Point of sale device has no cash drawer associated with it. + /// + [Description("Point of sale device has no cash drawer associated with it.")] + NO_CASH_DRAWER_ASSOCIATED, + /// + ///Point of sale device payment session count not recorded. + /// + [Description("Point of sale device payment session count not recorded.")] + FAILED_TO_RECORD_COUNT, + } + + public static class PointOfSaleDevicePaymentSessionCountUserErrorCodeStringValues + { + public const string STAFF_MEMBER_NOT_FOUND = @"STAFF_MEMBER_NOT_FOUND"; + public const string PAYMENT_SESSION_NOT_FOUND = @"PAYMENT_SESSION_NOT_FOUND"; + public const string SESSION_ALREADY_CLOSED = @"SESSION_ALREADY_CLOSED"; + public const string TIME_BEFORE_SESSION_OPEN = @"TIME_BEFORE_SESSION_OPEN"; + public const string REASON_CODE_NOT_FOUND = @"REASON_CODE_NOT_FOUND"; + public const string CURRENCY_MISMATCH = @"CURRENCY_MISMATCH"; + public const string NO_CASH_DRAWER_ASSOCIATED = @"NO_CASH_DRAWER_ASSOCIATED"; + public const string FAILED_TO_RECORD_COUNT = @"FAILED_TO_RECORD_COUNT"; + } + + /// + ///An auto-generated type which holds one PointOfSaleDevicePaymentSession and a cursor during pagination. + /// + [Description("An auto-generated type which holds one PointOfSaleDevicePaymentSession and a cursor during pagination.")] + public class PointOfSaleDevicePaymentSessionEdge : 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; } + + /// + ///The item at the end of PointOfSaleDevicePaymentSessionEdge. + /// + [Description("The item at the end of PointOfSaleDevicePaymentSessionEdge.")] + [NonNull] + public PointOfSaleDevicePaymentSession? node { get; set; } + } + + /// + ///Return type for `pointOfSaleDevicePaymentSessionOpen` mutation. + /// + [Description("Return type for `pointOfSaleDevicePaymentSessionOpen` mutation.")] + public class PointOfSaleDevicePaymentSessionOpenPayload : GraphQLObject + { + /// + ///The created point of sale device payment session. + /// + [Description("The created point of sale device payment session.")] + public PointOfSaleDevicePaymentSession? pointOfSaleDevicePaymentSession { get; set; } + + /// + ///The list of errors that occurred from executing the mutation. + /// + [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 `PointOfSaleDevicePaymentSessionOpen`. + /// + [Description("An error that occurs during the execution of `PointOfSaleDevicePaymentSessionOpen`.")] + public class PointOfSaleDevicePaymentSessionOpenUserError : GraphQLObject, IDisplayableError + { + /// + ///The error code. + /// + [Description("The error code.")] + [EnumType(typeof(PointOfSaleDevicePaymentSessionOpenUserErrorCode))] + 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; } + + /// + ///The error message. + /// + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + + /// + ///Possible error codes that can be returned by `PointOfSaleDevicePaymentSessionOpenUserError`. + /// + [Description("Possible error codes that can be returned by `PointOfSaleDevicePaymentSessionOpenUserError`.")] + public enum PointOfSaleDevicePaymentSessionOpenUserErrorCode + { + /// + ///The point of sale device was not found. + /// + [Description("The point of sale device was not found.")] + POINT_OF_SALE_DEVICE_NOT_FOUND, + /// + ///The point_of_sale_device has no cash drawer associated with it. + /// + [Description("The point_of_sale_device has no cash drawer associated with it.")] + NO_CASH_DRAWER_ASSOCIATED, + /// + ///The point of sale device payment session was not created. + /// + [Description("The point of sale device payment session was not created.")] + NOT_SAVED, + /// + ///A point of sale device payment session is already open for this point of sale device. + /// + [Description("A point of sale device payment session is already open for this point of sale device.")] + ALREADY_OPEN, + /// + ///The staff member was not found. + /// + [Description("The staff member was not found.")] + STAFF_MEMBER_NOT_FOUND, + /// + ///The currency does not match the currency of the cash drawer. + /// + [Description("The currency does not match the currency of the cash drawer.")] + CURRENCY_MISMATCH, + /// + ///The reason code was not found. + /// + [Description("The reason code was not found.")] + REASON_CODE_NOT_FOUND, + } + + public static class PointOfSaleDevicePaymentSessionOpenUserErrorCodeStringValues + { + public const string POINT_OF_SALE_DEVICE_NOT_FOUND = @"POINT_OF_SALE_DEVICE_NOT_FOUND"; + public const string NO_CASH_DRAWER_ASSOCIATED = @"NO_CASH_DRAWER_ASSOCIATED"; + public const string NOT_SAVED = @"NOT_SAVED"; + public const string ALREADY_OPEN = @"ALREADY_OPEN"; + public const string STAFF_MEMBER_NOT_FOUND = @"STAFF_MEMBER_NOT_FOUND"; + public const string CURRENCY_MISMATCH = @"CURRENCY_MISMATCH"; + public const string REASON_CODE_NOT_FOUND = @"REASON_CODE_NOT_FOUND"; + } + + /// + ///The set of valid sort keys for the PointOfSaleDevicePaymentSession query. + /// + [Description("The set of valid sort keys for the PointOfSaleDevicePaymentSession query.")] + public enum PointOfSaleDevicePaymentSessionSortKeys + { + /// + ///Sort by the `closing_time` value. + /// + [Description("Sort by the `closing_time` value.")] + CLOSING_TIME, + /// + ///Sort by the `id` value. + /// + [Description("Sort by the `id` value.")] + ID, + /// + ///Sort by the `opening_time` value. + /// + [Description("Sort by the `opening_time` value.")] + OPENING_TIME, + } + + public static class PointOfSaleDevicePaymentSessionSortKeysStringValues + { + public const string CLOSING_TIME = @"CLOSING_TIME"; + public const string ID = @"ID"; + public const string OPENING_TIME = @"OPENING_TIME"; + } + + /// + ///The status of the point of sale device payment session. Payments can't be processed or refunded during a closed session, and the cash drawer balance can't be adjusted or corrected. + /// + [Description("The status of the point of sale device payment session. Payments can't be processed or refunded during a closed session, and the cash drawer balance can't be adjusted or corrected.")] + public enum PointOfSaleDevicePaymentSessionStatus + { + /// + ///The point of sale device payment session is open. + /// + [Description("The point of sale device payment session is open.")] + OPEN, + /// + ///The point of sale device payment session is closed. + /// + [Description("The point of sale device payment session is closed.")] + CLOSED, + } + + public static class PointOfSaleDevicePaymentSessionStatusStringValues + { + public const string OPEN = @"OPEN"; + public const string CLOSED = @"CLOSED"; } /// @@ -86624,6 +95597,16 @@ public enum PriceListFixedPricesByProductBulkUpdateUserErrorCode /// [Description("Exceeded the 10000 prices to add limit.")] PRICE_LIMIT_EXCEEDED, + /// + ///The issuance currency of a local currency gift card must match the price list currency. + /// + [Description("The issuance currency of a local currency gift card must match the price list currency.")] + LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH, + /// + ///The price of a local currency gift card cannot exceed the maximum gift card purchase limit. + /// + [Description("The price of a local currency gift card cannot exceed the maximum gift card purchase limit.")] + LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED, } public static class PriceListFixedPricesByProductBulkUpdateUserErrorCodeStringValues @@ -86635,6 +95618,8 @@ public static class PriceListFixedPricesByProductBulkUpdateUserErrorCodeStringVa 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"; + public const string LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH = @"LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH"; + public const string LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED = @"LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED"; } /// @@ -86980,6 +95965,16 @@ public enum PriceListPriceUserErrorCode [Description("The specified currency doesn't match the price list's currency.")] PRICE_LIST_CURRENCY_MISMATCH, /// + ///The issuance currency of a local currency gift card must match the price list currency. + /// + [Description("The issuance currency of a local currency gift card must match the price list currency.")] + LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH, + /// + ///The price of a local currency gift card cannot exceed the maximum gift card purchase limit. + /// + [Description("The price of a local currency gift card cannot exceed the maximum gift card purchase limit.")] + LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED, + /// ///A fixed price for the specified product variant doesn't exist. /// [Description("A fixed price for the specified product variant doesn't exist.")] @@ -86996,6 +95991,8 @@ 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 LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH = @"LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH"; + public const string LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED = @"LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED"; public const string VARIANT_NOT_FOUND = @"VARIANT_NOT_FOUND"; public const string PRICE_NOT_FIXED = @"PRICE_NOT_FIXED"; } @@ -90270,6 +99267,7 @@ public class Product : GraphQLObject, IHasEvents, IHasMetafieldDefiniti ///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.")] + [Obsolete("Use `publishedOnPublication` instead.")] [NonNull] public bool? publishedOnCurrentPublication { get; set; } @@ -90296,6 +99294,7 @@ public class Product : GraphQLObject, IHasEvents, IHasMetafieldDefiniti ///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).")] + [Obsolete("Use `resourcePublications` instead.")] public ResourcePublicationV2? resourcePublicationOnCurrentPublication { get; set; } /// @@ -91476,13 +100475,6 @@ public class ProductCreateInput : GraphQLObject [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; } - /// ///A list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -91521,6 +100513,13 @@ public class ProductCreateInput : GraphQLObject [Description("The name of the product's vendor.")] public string? vendor { 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; } + /// ///Whether the product is a gift card. /// @@ -91924,6 +100923,13 @@ public class ProductEdge : GraphQLObject, IEdge [Description("A product feed.")] public class ProductFeed : GraphQLObject, INode { + /// + ///The ID of the channel to associate with the product feed. + /// + [Description("The ID of the channel to associate with the product feed.")] + [NonNull] + public string? channelId { get; set; } + /// ///The country of the product feed. /// @@ -92160,6 +101166,12 @@ public class ProductFeedInput : GraphQLObject [NonNull] [EnumType(typeof(CountryCode))] public string? country { get; set; } + + /// + ///The ID of the channel to associate with the product feed. + /// + [Description("The ID of the channel to associate with the product feed.")] + public string? channelId { get; set; } } /// @@ -92342,13 +101354,6 @@ public class ProductInput : GraphQLObject [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; } - /// ///A list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -92387,6 +101392,13 @@ public class ProductInput : GraphQLObject [Description("The name of the product's vendor.")] public string? vendor { 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; } + /// ///Whether the product is a gift card. /// @@ -93809,6 +102821,12 @@ public class ProductReorderMediaPayload : GraphQLObject { + /// + ///The channel this feedback is for. + /// + [Description("The channel this feedback is for.")] + public Channel? channel { get; set; } + /// ///The time when the feedback was generated. Used to help determine whether ///incoming feedback is outdated compared to existing feedback. @@ -93889,6 +102907,12 @@ public class ProductResourceFeedbackInput : GraphQLObject [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; } + + /// + ///The ID of the channel that the feedback is for. Used to scope feedback to a specific sales channel when the app has multiple channels. + /// + [Description("The ID of the channel that the feedback is for. Used to scope feedback to a specific sales channel when the app has multiple channels.")] + public string? channelId { get; set; } } /// @@ -94030,13 +103054,6 @@ public class ProductSetInput : GraphQLObject [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; } - /// ///A list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -94075,6 +103092,13 @@ public class ProductSetInput : GraphQLObject [Description("The name of the product's vendor.")] public string? vendor { 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; } + /// ///Whether the product is a gift card. /// @@ -94089,17 +103113,11 @@ public class ProductSetInput : GraphQLObject public bool? redirectNewHandle { get; set; } /// - ///The product's ID. - /// - ///If you're creating a product, then you don't need to pass the `id` as input to the - ///[`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate) mutation. - ///If you're updating a product, then you do need to pass the `id` as input to the - ///[`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate) mutation - ///to identify which product you want to update. + ///The status of the product. /// - [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 status of the product.")] + [EnumType(typeof(ProductStatus))] + public string? status { get; set; } /// ///The IDs of collections that this product will be a member of. @@ -94115,14 +103133,6 @@ public class ProductSetInput : GraphQLObject [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; } - /// ///The files to associate with the product. /// @@ -94132,23 +103142,37 @@ public class ProductSetInput : GraphQLObject public IEnumerable? files { get; set; } /// - ///The status of the product. + ///List of custom product options and option values (maximum of 3 per product). /// - [Description("The status of the product.")] - [EnumType(typeof(ProductStatus))] - public string? status { get; set; } + [Description("List of custom product options and option values (maximum of 3 per product).")] + public IEnumerable? productOptions { 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. + ///The product's ID. + /// + ///If you're creating a product, then you don't need to pass the `id` as input to the + ///[`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate) mutation. + ///If you're updating a product, then you do need to pass the `id` as input to the + ///[`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate) mutation + ///to identify which product you want to update. /// - [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("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; } /// - ///List of custom product options and option values (maximum of 3 per product). + ///A list of variants associated with the product. + /// + ///Complexity cost: 0.2 per variant. /// - [Description("List of custom product options and option values (maximum of 3 per product).")] - public IEnumerable? productOptions { get; set; } + [Description("A list of variants associated with the product.\n\nComplexity cost: 0.2 per variant.")] + public IEnumerable? variants { 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; } /// ///The input field to enable an app to provide additional product features. @@ -94718,6 +103742,31 @@ public class ProductUnpublishPayload : GraphQLObject public IEnumerable? userErrors { get; set; } } + /// + ///The input fields required to identify a product for update. + /// + [Description("The input fields required to identify a product for update.")] + public class ProductUpdateIdentifiers : GraphQLObject + { + /// + ///ID of product to update. + /// + [Description("ID of product to update.")] + public string? id { get; set; } + + /// + ///Handle of product to update. + /// + [Description("Handle of product to update.")] + public string? handle { get; set; } + + /// + ///Custom ID of product to update. + /// + [Description("Custom ID of product to update.")] + public UniqueMetafieldValueInput? customId { get; set; } + } + /// ///The input fields for updating a product. /// @@ -94754,13 +103803,6 @@ public class ProductUpdateInput : GraphQLObject [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; } - /// ///A list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -94799,6 +103841,13 @@ public class ProductUpdateInput : GraphQLObject [Description("The name of the product's vendor.")] public string? vendor { 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; } + /// ///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. @@ -95941,30 +104990,41 @@ public class ProductVariantRelationshipUpdateInput : 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. + ///Specifies the product variant to update or create a new variant if absent. /// - [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("Specifies the product variant to update or create a new variant if absent.")] + public string? id { get; set; } /// - ///The value of the barcode associated with the product. + ///The custom properties that a shop owner uses to define product variants. /// - [Description("The value of the barcode associated with the product.")] - public string? barcode { get; set; } + [Description("The custom properties that a shop owner uses to define product variants.")] + [NonNull] + public IEnumerable? optionValues { get; set; } /// - ///The compare-at price of the variant. + ///The price of the variant. /// - [Description("The compare-at price of the variant.")] - public decimal? compareAtPrice { get; set; } + [Description("The price of the variant.")] + public decimal? price { get; set; } /// - ///Specifies the product variant to update or create a new variant if absent. + ///The SKU for the variant. Case-sensitive string. /// - [Description("Specifies the product variant to update or create a new variant if absent.")] - public string? id { get; set; } + [Description("The SKU for the variant. Case-sensitive string.")] + public string? sku { 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; } + + /// + ///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; } /// ///The file to associate with the variant. @@ -95976,6 +105036,28 @@ public class ProductVariantSetInput : GraphQLObject [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; } + /// + ///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; } + + /// + ///The compare-at price of the variant. + /// + [Description("The compare-at price of the variant.")] + public decimal? compareAtPrice { 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.")] + public bool? requiresComponents { get; set; } + /// ///Whether customers are allowed to place an order for the product variant when it's out of stock. Defaults to `DENY`. /// @@ -95999,39 +105081,6 @@ public class ProductVariantSetInput : GraphQLObject [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; } - - /// - ///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; } - - /// - ///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; } - - /// - ///The price of the variant. - /// - [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; } - /// ///Whether the variant is taxable. /// @@ -97066,6 +106115,12 @@ public class PubSubWebhookSubscriptionInput : GraphQLObject? metafields { get; set; } + /// + ///A human-readable name for the webhook subscription. + /// + [Description("A human-readable name for the webhook subscription.")] + public string? name { get; set; } + /// ///The Pub/Sub project ID. /// @@ -97183,6 +106238,12 @@ public class Publication : GraphQLObject, INode [Description("The catalog associated with the publication.")] public ICatalog? catalog { get; set; } + /// + ///The channels associated with the publication. + /// + [Description("The channels associated with the publication.")] + public ChannelConnection? channels { get; set; } + /// ///The list of collection publication records, each representing the publication status and details for a collection published to this publication (typically channel). /// @@ -97748,6 +106809,7 @@ public interface IPublishable : IGraphQLObject ///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.")] + [Obsolete("Use `publishedOnPublication` instead.")] [NonNull] public bool? publishedOnCurrentPublication { get; } @@ -98414,6 +107476,16 @@ public enum QuantityPricingByVariantUserErrorCode [Description("Prices to add inputs must be unique by variant id.")] PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT, /// + ///The issuance currency of a local currency gift card must match the price list currency. + /// + [Description("The issuance currency of a local currency gift card must match the price list currency.")] + PRICE_ADD_LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH, + /// + ///The price of a local currency gift card cannot exceed the maximum gift card purchase limit. + /// + [Description("The price of a local currency gift card cannot exceed the maximum gift card purchase limit.")] + PRICE_ADD_LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED, + /// ///Price is not fixed. /// [Description("Price is not fixed.")] @@ -98465,6 +107537,8 @@ public static class QuantityPricingByVariantUserErrorCodeStringValues 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_ADD_LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH = @"PRICE_ADD_LOCAL_CURRENCY_GIFT_CARD_ISSUANCE_CURRENCY_MISMATCH"; + public const string PRICE_ADD_LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED = @"PRICE_ADD_LOCAL_CURRENCY_GIFT_CARD_LIMIT_EXCEEDED"; 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"; @@ -99092,6 +108166,40 @@ public class QueryRoot : GraphQLObject, IQueryRoot [NonNull] public CartTransformConnection? cartTransforms { get; set; } + /// + ///Returns a `CashDrawer` resource by ID. + /// + [Description("Returns a `CashDrawer` resource by ID.")] + public CashDrawer? cashDrawer { get; set; } + + /// + ///A list of cash drawers in the shop. + /// + [Description("A list of cash drawers in the shop.")] + [NonNull] + public CashDrawerConnection? cashDrawers { get; set; } + + /// + ///Summary of cash management data for a location. + /// + [Description("Summary of cash management data for a location.")] + [NonNull] + public CashManagementSummary? cashManagementLocationSummary { get; set; } + + /// + ///Returns the cash management reason codes for the shop. + /// + [Description("Returns the cash management reason codes for the shop.")] + [NonNull] + public CashManagementReasonCodeConnection? cashManagementReasonCodes { get; set; } + + /// + ///Summary of cash management data across all locations with a POS Pro subscription for a shop, filtered by currency. + /// + [Description("Summary of cash management data across all locations with a POS Pro subscription for a shop, filtered by currency.")] + [NonNull] + public CashManagementSummary? cashManagementShopSummary { get; set; } + /// ///Returns a `CashTrackingSession` resource by ID. /// @@ -99156,36 +108264,57 @@ public class QueryRoot : GraphQLObject, IQueryRoot public Count? catalogsCount { get; set; } /// - ///Returns a `Channel` resource by ID. + ///Returns a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) by ID. The channel must belong to the calling application. /// - [Description("Returns a `Channel` resource by ID.")] + [Description("Returns a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) by ID. The channel must belong to the calling application.")] public Channel? channel { get; set; } /// - ///Returns active [channels](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) where merchants sell products and collections. Each channel is an authenticated link to an external platform such as marketplaces, social media platforms, online stores, or point-of-sale systems. + ///Returns a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) by its unique string handle. The handle is either set explicitly during [`channelCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelCreate) or auto-generated from the specification handle and account ID. The channel must belong to the calling application. /// - [Description("Returns active [channels](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) where merchants sell products and collections. Each channel is an authenticated link to an external platform such as marketplaces, social media platforms, online stores, or point-of-sale systems.")] + [Description("Returns a [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) by its unique string handle. The handle is either set explicitly during [`channelCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/channelCreate) or auto-generated from the specification handle and account ID. The channel must belong to the calling application.")] + public Channel? channelByHandle { get; set; } + + /// + ///The list of [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) objects on the shop. When the calling application supports multi-channel, only channels established by the calling application are returned. Each channel represents an authenticated connection to an external selling platform such as a marketplace, social media platform, online store, or point-of-sale system. + /// + [Description("The list of [`Channel`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel) objects on the shop. When the calling application supports multi-channel, only channels established by the calling application are returned. Each channel represents an authenticated connection to an external selling platform such as a marketplace, social media platform, online store, or point-of-sale system.")] [NonNull] public ChannelConnection? channels { get; set; } + /// + ///A checkout and accounts configuration for a shop. + /// + [Description("A checkout and accounts configuration for a shop.")] + public CheckoutAndAccountsConfiguration? checkoutAndAccountsConfiguration { get; set; } + + /// + ///List of checkout and accounts configurations on a shop. + /// + [Description("List of checkout and accounts configurations on a shop.")] + public CheckoutAndAccountsConfigurationConnection? checkoutAndAccountsConfigurations { get; set; } + /// ///Returns the visual customizations for checkout for a given [checkout profile](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutProfile). /// ///To update checkout branding settings, use the [`checkoutBrandingUpsert`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/checkoutBrandingUpsert) mutation. Learn more about [customizing checkout's appearance](https://shopify.dev/docs/apps/build/checkout/styling). /// [Description("Returns the visual customizations for checkout for a given [checkout profile](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutProfile).\n\nTo update checkout branding settings, use the [`checkoutBrandingUpsert`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/checkoutBrandingUpsert) mutation. Learn more about [customizing checkout's appearance](https://shopify.dev/docs/apps/build/checkout/styling).")] + [Obsolete("Use `checkoutAndAccountsConfiguration` instead.")] public CheckoutBranding? checkoutBranding { get; set; } /// ///Returns a [`CheckoutProfile`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutProfile). Checkout profiles define the branding settings and UI extensions for a store's checkout experience. Stores can have one published profile that renders on their live checkout and multiple draft profiles for testing customizations in the checkout editor. /// [Description("Returns a [`CheckoutProfile`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutProfile). Checkout profiles define the branding settings and UI extensions for a store's checkout experience. Stores can have one published profile that renders on their live checkout and multiple draft profiles for testing customizations in the checkout editor.")] + [Obsolete("Use `checkoutAndAccountsConfiguration` instead.")] public CheckoutProfile? checkoutProfile { get; set; } /// ///List of checkout profiles on a shop. /// [Description("List of checkout profiles on a shop.")] + [Obsolete("Use `checkoutAndAccountsConfigurations` instead.")] [NonNull] public CheckoutProfileConnection? checkoutProfiles { get; set; } @@ -99564,12 +108693,6 @@ public class QueryRoot : GraphQLObject, IQueryRoot [NonNull] public DeliveryPromiseSetting? deliveryPromiseSettings { get; set; } - /// - ///Returns the shop-wide shipping settings. - /// - [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. /// @@ -99608,6 +108731,13 @@ public class QueryRoot : GraphQLObject, IQueryRoot [NonNull] public SavedSearchConnection? discountRedeemCodeSavedSearches { get; set; } + /// + ///List of tags associated to discounts. + /// + [Description("List of tags associated to discounts.")] + [NonNull] + public StringConnection? discountTags { get; set; } + /// ///Returns a `ShopifyPaymentsDispute` resource by ID. /// @@ -99869,6 +108999,14 @@ public class QueryRoot : GraphQLObject, IQueryRoot [Description("Retrieves an [`InventoryShipment`](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipment) by ID. Returns tracking details, [`InventoryShipmentLineItem`](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipmentLineItem) objects with quantities, and the shipment's current [`InventoryShipmentStatus`](https://shopify.dev/docs/api/admin-graphql/latest/enums/InventoryShipmentStatus).")] public InventoryShipment? inventoryShipment { get; set; } + /// + ///Returns a paginated list of [`InventoryShipment`](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipment) objects. + /// + ///Supports filtering by barcode (e.g. `barcode:"12345"`), status (e.g. `status:"draft"` or `status:"in_transit"`), and destination (e.g. `destination_id:12345`). + /// + [Description("Returns a paginated list of [`InventoryShipment`](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryShipment) objects.\n\nSupports filtering by barcode (e.g. `barcode:\"12345\"`), status (e.g. `status:\"draft\"` or `status:\"in_transit\"`), and destination (e.g. `destination_id:12345`).")] + public InventoryShipmentConnection? inventoryShipments { get; set; } + /// ///Returns an [`InventoryTransfer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryTransfer) by ID. Inventory transfers track the movement of inventory between locations, including origin and destination details, [`InventoryTransferLineItem`](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryTransferLineItem) objects, quantities, and [`InventoryTransferStatus`](https://shopify.dev/docs/api/admin-graphql/latest/enums/InventoryTransferStatus) values. /// @@ -100261,6 +109399,19 @@ public class QueryRoot : GraphQLObject, IQueryRoot [Description("Returns a `PointOfSaleDevice` resource by ID.")] public PointOfSaleDevice? pointOfSaleDevice { get; set; } + /// + ///Lookup a point of sale device payment session by ID. + /// + [Description("Lookup a point of sale device payment session by ID.")] + public PointOfSaleDevicePaymentSession? pointOfSaleDevicePaymentSession { get; set; } + + /// + ///A list of point of sale device payment sessions in the shop. + /// + [Description("A list of point of sale device payment sessions in the shop.")] + [NonNull] + public PointOfSaleDevicePaymentSessionConnection? pointOfSaleDevicePaymentSessions { get; set; } + /// ///Returns a [`PriceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceList) by ID. You can use price lists to specify either fixed prices or adjusted relative prices that override initial [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) prices. /// @@ -100858,6 +110009,13 @@ public class QueryRoot : GraphQLObject, IQueryRoot [Description("Retrieves a [`StoreCreditAccount`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StoreCreditAccount) by ID. Store credit accounts hold monetary balances that account owners can use at checkout. The owner is either a [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer) or a [`CompanyLocation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation).")] public StoreCreditAccount? storeCreditAccount { get; set; } + /// + ///Returns the store credit configuration for a shop. + /// + [Description("Returns the store credit configuration for a shop.")] + [NonNull] + public StoreCreditConfiguration? storeCreditConfiguration { get; set; } + /// ///Returns a `SubscriptionBillingAttempt` resource by ID. /// @@ -102219,6 +111377,12 @@ public class ResourceFeedbackCreateInput : GraphQLObject + ///The ID of the channel that the feedback is for. Used to scope feedback to a specific sales channel when the app has multiple channels. + /// + [Description("The ID of the channel that the feedback is for. Used to scope feedback to a specific sales channel when the app has multiple channels.")] + public string? channelId { get; set; } } /// @@ -110048,17 +119212,17 @@ public class ShippingLine : GraphQLObject, IDraftOrderPlatformDisc public bool? isRemoved { get; set; } /// - ///The pre-tax shipping price without any discounts applied. + ///The shipping price without any discounts applied. If the parent order.taxesIncluded field is true, then this price includes taxes. Otherwise, this field is the pre-tax price. /// - [Description("The pre-tax shipping price without any discounts applied.")] + [Description("The shipping price without any discounts applied. If the parent order.taxesIncluded field is true, then this price includes taxes. Otherwise, this field is the pre-tax price.")] [Obsolete("Use `originalPriceSet` instead.")] [NonNull] public MoneyV2? originalPrice { get; set; } /// - ///The pre-tax shipping price without any discounts applied. + ///The shipping price without any discounts applied. If the parent order.taxesIncluded field is true, then this price includes taxes. Otherwise, this field is the pre-tax price. /// - [Description("The pre-tax shipping price without any discounts applied.")] + [Description("The shipping price without any discounts applied. If the parent order.taxesIncluded field is true, then this price includes taxes. Otherwise, this field is the pre-tax price.")] [NonNull] public MoneyBag? originalPriceSet { get; set; } @@ -112385,9 +121549,9 @@ public class ShopPlan : GraphQLObject public bool? partnerDevelopment { get; set; } /// - ///The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Shopify Finance, Staff Business, Starter, and Trial. + ///The public display name of the shop's billing plan. Possible values are: Advanced, Agentic, Agentic Enterprise, 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, Agentic, 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, Agentic, Agentic Enterprise, 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; } @@ -112417,7 +121581,7 @@ public class ShopPolicy : GraphQLObject, IHasPublishedTranslations, /// [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; } + public DateTime? createdAt { get; set; } /// ///A globally-unique ID. @@ -112453,7 +121617,7 @@ public class ShopPolicy : GraphQLObject, IHasPublishedTranslations, /// [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; } + public DateTime? updatedAt { get; set; } /// ///The public URL of the policy. @@ -112617,9 +121781,9 @@ public class ShopPolicyUserError : GraphQLObject, IDisplaya public class ShopResourceFeedbackCreatePayload : GraphQLObject { /// - ///The shop feedback that's created. + ///The shop feedback that's created. Returns `null` when `state: ACCEPTED` is used, because setting state to `ACCEPTED` clears the active feedback signal. A `null` value here indicates success, not an error. /// - [Description("The shop feedback that's created.")] + [Description("The shop feedback that's created. Returns `null` when `state: ACCEPTED` is used, because setting state to `ACCEPTED` clears the active feedback signal. A `null` value here indicates success, not an error.")] public AppFeedback? feedback { get; set; } /// @@ -114426,12 +123590,14 @@ public class ShopifyPaymentsJpChargeStatementDescriptor : GraphQLObject [Description("The charge statement descriptor in kana.")] + [Obsolete("This field is deprecated and will be removed in a future release.")] public string? kana { get; set; } /// ///The charge statement descriptor in kanji. /// [Description("The charge statement descriptor in kanji.")] + [Obsolete("This field is deprecated and will be removed in a future release.")] public string? kanji { get; set; } /// @@ -115480,6 +124646,11 @@ public enum ShopifyPaymentsTransactionType [Description("The balance_transfer_inbound transaction type.")] BALANCE_TRANSFER_INBOUND, /// + ///The balance_transfer_outbound transaction type. + /// + [Description("The balance_transfer_outbound transaction type.")] + BALANCE_TRANSFER_OUTBOUND, + /// ///The markets_pro_credit transaction type. /// [Description("The markets_pro_credit transaction type.")] @@ -115787,6 +124958,7 @@ public static class ShopifyPaymentsTransactionTypeStringValues 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 BALANCE_TRANSFER_OUTBOUND = @"BALANCE_TRANSFER_OUTBOUND"; 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"; @@ -118306,6 +127478,20 @@ public interface IStoreCreditAccountTransactionOrigin : IGraphQLObject public StaffMember? user { get; set; } } + /// + ///The store credit configuration for a shop. + /// + [Description("The store credit configuration for a shop.")] + public class StoreCreditConfiguration : GraphQLObject + { + /// + ///Whether store credit is enabled for customers on checkout. + /// + [Description("Whether store credit is enabled for customers on checkout.")] + [NonNull] + public bool? storeCreditEnabled { get; set; } + } + /// ///The input fields to process a refund to store credit. /// @@ -118785,6 +127971,13 @@ public class SubscriptionBillingAttempt : GraphQLObject + ///The state of the billing attempt with state-specific data. + /// + [Description("The state of the billing attempt with state-specific data.")] + [NonNull] + public ISubscriptionBillingAttemptState? state { get; set; } + /// ///The subscription contract. /// @@ -118800,6 +127993,46 @@ public class SubscriptionBillingAttempt : GraphQLObject + ///The action required to continue processing the billing attempt. + /// + [Description("The action required to continue processing the billing attempt.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptPaymentChallenge), typeDiscriminator: "SubscriptionBillingAttemptPaymentChallenge")] + public interface ISubscriptionBillingAttemptAction : IGraphQLObject + { + public SubscriptionBillingAttemptPaymentChallenge? AsSubscriptionBillingAttemptPaymentChallenge() => this as SubscriptionBillingAttemptPaymentChallenge; + /// + ///URL to redirect the customer for authentication. + /// + [Description("URL to redirect the customer for authentication.")] + [NonNull] + public string? nextActionUrl { get; set; } + + /// + ///The status of the payment challenge. + /// + [Description("The status of the payment challenge.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptPaymentChallengeStatus))] + public string? status { get; set; } + } + + /// + ///The billing attempt state that requires an action to resolve. + ///Must complete the action required for the billing attempt to continue being processed. + /// + [Description("The billing attempt state that requires an action to resolve.\nMust complete the action required for the billing attempt to continue being processed.")] + public class SubscriptionBillingAttemptActionRequiredState : GraphQLObject, ISubscriptionBillingAttemptState + { + /// + ///The action required to resolve the billing attempt. + /// + [Description("The action required to resolve the billing attempt.")] + [NonNull] + public ISubscriptionBillingAttemptAction? action { get; set; } + } + /// ///An auto-generated type for paginating through multiple SubscriptionBillingAttempts. /// @@ -118869,6 +128102,23 @@ public class SubscriptionBillingAttemptEdge : GraphQLObject + ///Possible error types for a subscription billing attempt. + /// + [Description("Possible error types for a subscription billing attempt.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptGeneralError), typeDiscriminator: "SubscriptionBillingAttemptGeneralError")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptInventoryError), typeDiscriminator: "SubscriptionBillingAttemptInventoryError")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptPaymentError), typeDiscriminator: "SubscriptionBillingAttemptPaymentError")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptUnexpectedError), typeDiscriminator: "SubscriptionBillingAttemptUnexpectedError")] + public interface ISubscriptionBillingAttemptError : IGraphQLObject + { + public SubscriptionBillingAttemptGeneralError? AsSubscriptionBillingAttemptGeneralError() => this as SubscriptionBillingAttemptGeneralError; + public SubscriptionBillingAttemptInventoryError? AsSubscriptionBillingAttemptInventoryError() => this as SubscriptionBillingAttemptInventoryError; + public SubscriptionBillingAttemptPaymentError? AsSubscriptionBillingAttemptPaymentError() => this as SubscriptionBillingAttemptPaymentError; + public SubscriptionBillingAttemptUnexpectedError? AsSubscriptionBillingAttemptUnexpectedError() => this as SubscriptionBillingAttemptUnexpectedError; + } + /// ///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. @@ -118957,6 +128207,16 @@ public enum SubscriptionBillingAttemptErrorCode [Description("The amount is too small.")] AMOUNT_TOO_SMALL, /// + ///The amount exceeds the limit for this payment method. + /// + [Description("The amount exceeds the limit for this payment method.")] + AMOUNT_TOO_LARGE, + /// + ///Merchant account configuration error. + /// + [Description("Merchant account configuration error.")] + MERCHANT_ACCOUNT_ERROR, + /// ///No inventory location found or enabled. /// [Description("No inventory location found or enabled.")] @@ -119007,10 +128267,135 @@ public enum SubscriptionBillingAttemptErrorCode [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, + /// ///The billing address is invalid. /// [Description("The billing address is invalid.")] INVALID_BILLING_ADDRESS, + /// + ///Authentication failed during payment processing. + /// + [Description("Authentication failed during payment processing.")] + AUTHENTICATION_FAILED, + /// + ///Additional authentication is required to complete the payment. + /// + [Description("Additional authentication is required to complete the payment.")] + AUTHENTICATION_REQUIRED, + /// + ///The card issuer requires the cardholder to call them. + /// + [Description("The card issuer requires the cardholder to call them.")] + CALL_ISSUER, + /// + ///The card was declined by the payment processor. + /// + [Description("The card was declined by the payment processor.")] + CARD_DECLINED, + /// + ///The payment confirmation was rejected. + /// + [Description("The payment confirmation was rejected.")] + CONFIRMATION_REJECTED, + /// + ///The card issuer declined the transaction with a 'do not honor' response. + /// + [Description("The card issuer declined the transaction with a 'do not honor' response.")] + DO_NOT_HONOR, + /// + ///The transaction was declined due to a merchant-defined rule. + /// + [Description("The transaction was declined due to a merchant-defined rule.")] + MERCHANT_RULE, + /// + ///The off-session payment was rejected and requires customer action. + /// + [Description("The off-session payment was rejected and requires customer action.")] + OFF_SESSION_REJECTED, + /// + ///The payment retry was declined. + /// + [Description("The payment retry was declined.")] + RETRY_DECLINED, + /// + ///The transaction exceeds the cardholder's limit. + /// + [Description("The transaction exceeds the cardholder's limit.")] + TRANSACTION_LIMIT_EXCEEDED, + /// + ///The postal/ZIP code provided is incorrect. + /// + [Description("The postal/ZIP code provided is incorrect.")] + INCORRECT_ZIP, + /// + ///The currency is not supported for this payment method. + /// + [Description("The currency is not supported for this payment method.")] + INVALID_CURRENCY, + /// + ///The card number is invalid. + /// + [Description("The card number is invalid.")] + INVALID_NUMBER, + /// + ///The payment method type is not supported. + /// + [Description("The payment method type is not supported.")] + PAYMENT_METHOD_UNSUPPORTED, + /// + ///The billing address provided is incorrect. + /// + [Description("The billing address provided is incorrect.")] + INCORRECT_ADDRESS, + /// + ///The card number entered is incorrect. + /// + [Description("The card number entered is incorrect.")] + INCORRECT_NUMBER, + /// + ///The card has expired. + /// + [Description("The card has expired.")] + EXPIRED_CARD, + /// + ///The expiry date of the card provided is invalid. + /// + [Description("The expiry date of the card provided is invalid.")] + INVALID_EXPIRY_DATE, + /// + ///The required buyer action has expired. + /// + [Description("The required buyer action has expired.")] + EXPIRED_BUYER_ACTION, + /// + ///A processing error occurred with the payment provider. + /// + [Description("A processing error occurred with the payment provider.")] + PROCESSING_ERROR, + /// + ///An exception occurred with the payment provider. + /// + [Description("An exception occurred with the payment provider.")] + PAYMENT_PROVIDER_ERROR, + /// + ///A generic payment error occurred. + /// + [Description("A generic payment error occurred.")] + GENERIC_ERROR, + /// + ///The payment was cancelled. + /// + [Description("The payment was cancelled.")] + CANCELLED_PAYMENT, + /// + ///The purchase type is invalid for this payment method. + /// + [Description("The purchase type is invalid for this payment method.")] + INVALID_PURCHASE_TYPE, } public static class SubscriptionBillingAttemptErrorCodeStringValues @@ -119031,6 +128416,8 @@ public static class SubscriptionBillingAttemptErrorCodeStringValues 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 AMOUNT_TOO_LARGE = @"AMOUNT_TOO_LARGE"; + public const string MERCHANT_ACCOUNT_ERROR = @"MERCHANT_ACCOUNT_ERROR"; 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"; @@ -119041,7 +128428,133 @@ public static class SubscriptionBillingAttemptErrorCodeStringValues 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"; public const string INVALID_BILLING_ADDRESS = @"INVALID_BILLING_ADDRESS"; + public const string AUTHENTICATION_FAILED = @"AUTHENTICATION_FAILED"; + public const string AUTHENTICATION_REQUIRED = @"AUTHENTICATION_REQUIRED"; + public const string CALL_ISSUER = @"CALL_ISSUER"; + public const string CARD_DECLINED = @"CARD_DECLINED"; + public const string CONFIRMATION_REJECTED = @"CONFIRMATION_REJECTED"; + public const string DO_NOT_HONOR = @"DO_NOT_HONOR"; + public const string MERCHANT_RULE = @"MERCHANT_RULE"; + public const string OFF_SESSION_REJECTED = @"OFF_SESSION_REJECTED"; + public const string RETRY_DECLINED = @"RETRY_DECLINED"; + public const string TRANSACTION_LIMIT_EXCEEDED = @"TRANSACTION_LIMIT_EXCEEDED"; + public const string INCORRECT_ZIP = @"INCORRECT_ZIP"; + public const string INVALID_CURRENCY = @"INVALID_CURRENCY"; + public const string INVALID_NUMBER = @"INVALID_NUMBER"; + public const string PAYMENT_METHOD_UNSUPPORTED = @"PAYMENT_METHOD_UNSUPPORTED"; + public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; + public const string INCORRECT_NUMBER = @"INCORRECT_NUMBER"; + public const string EXPIRED_CARD = @"EXPIRED_CARD"; + public const string INVALID_EXPIRY_DATE = @"INVALID_EXPIRY_DATE"; + public const string EXPIRED_BUYER_ACTION = @"EXPIRED_BUYER_ACTION"; + public const string PROCESSING_ERROR = @"PROCESSING_ERROR"; + public const string PAYMENT_PROVIDER_ERROR = @"PAYMENT_PROVIDER_ERROR"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string CANCELLED_PAYMENT = @"CANCELLED_PAYMENT"; + public const string INVALID_PURCHASE_TYPE = @"INVALID_PURCHASE_TYPE"; + } + + /// + ///The billing attempt failed due to an error. + /// + [Description("The billing attempt failed due to an error.")] + public class SubscriptionBillingAttemptFailedState : GraphQLObject, ISubscriptionBillingAttemptState + { + /// + ///The error that caused the billing attempt to fail. + /// + [Description("The error that caused the billing attempt to fail.")] + [NonNull] + public ISubscriptionBillingAttemptError? error { get; set; } + } + + /// + ///An error that occurred during a subscription billing attempt that doesn't fit other categories. + /// + [Description("An error that occurred during a subscription billing attempt that doesn't fit other categories.")] + public class SubscriptionBillingAttemptGeneralError : GraphQLObject, ISubscriptionBillingAttemptError + { + /// + ///The error code for the failure. + /// + [Description("The error code for the failure.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptGeneralErrorCode))] + public string? code { get; set; } + } + + /// + ///Error codes for other billing attempt failures. + /// + [Description("Error codes for other billing attempt failures.")] + public enum SubscriptionBillingAttemptGeneralErrorCode + { + /// + ///Non-test order limit reached. + /// + [Description("Non-test order limit reached.")] + NON_TEST_ORDER_LIMIT_REACHED, + /// + ///Free gift cards are not allowed. + /// + [Description("Free gift cards are not allowed.")] + FREE_GIFT_CARD_NOT_ALLOWED, + /// + ///Customer was not found. + /// + [Description("Customer was not found.")] + CUSTOMER_NOT_FOUND, + /// + ///Customer is invalid. + /// + [Description("Customer is invalid.")] + CUSTOMER_INVALID, + /// + ///Billing address is invalid. + /// + [Description("Billing address is invalid.")] + INVALID_BILLING_ADDRESS, + /// + ///Merchant account error. + /// + [Description("Merchant account error.")] + MERCHANT_ACCOUNT_ERROR, + /// + ///Payment method was not found. + /// + [Description("Payment method was not found.")] + PAYMENT_METHOD_NOT_FOUND, + /// + ///Payment method not specified. + /// + [Description("Payment method not specified.")] + PAYMENT_METHOD_NOT_SPECIFIED, + /// + ///Payment method test mode incompatible with gateway. + /// + [Description("Payment method test mode incompatible with gateway.")] + PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG, + /// + ///Payment provider is not enabled. + /// + [Description("Payment provider is not enabled.")] + PAYMENT_PROVIDER_IS_NOT_ENABLED, + } + + public static class SubscriptionBillingAttemptGeneralErrorCodeStringValues + { + 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 CUSTOMER_NOT_FOUND = @"CUSTOMER_NOT_FOUND"; + public const string CUSTOMER_INVALID = @"CUSTOMER_INVALID"; + public const string INVALID_BILLING_ADDRESS = @"INVALID_BILLING_ADDRESS"; + public const string MERCHANT_ACCOUNT_ERROR = @"MERCHANT_ACCOUNT_ERROR"; + public const string PAYMENT_METHOD_NOT_FOUND = @"PAYMENT_METHOD_NOT_FOUND"; + public const string PAYMENT_METHOD_NOT_SPECIFIED = @"PAYMENT_METHOD_NOT_SPECIFIED"; + public const string PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG = @"PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG"; + public const string PAYMENT_PROVIDER_IS_NOT_ENABLED = @"PAYMENT_PROVIDER_IS_NOT_ENABLED"; } /// @@ -119094,6 +128607,13 @@ public class SubscriptionBillingAttemptInput : GraphQLObject + ///Select payment processing policy for the billing attempt. Defaults to FAIL_UNLESS_VALID_PAYMENT_METHOD. + /// + [Description("Select payment processing policy for the billing attempt. Defaults to FAIL_UNLESS_VALID_PAYMENT_METHOD.")] + [EnumType(typeof(SubscriptionBillingAttemptPaymentProcessingPolicy))] + public string? paymentProcessingPolicy { get; set; } + /// ///The behaviour to follow when creating an order for a product variant /// when it's out of stock. @@ -119132,6 +128652,51 @@ public class SubscriptionBillingAttemptInsufficientStockProductVariantsError : G public string? message { get; set; } } + /// + ///An inventory-related error that occurred during a subscription billing attempt. + /// + [Description("An inventory-related error that occurred during a subscription billing attempt.")] + public class SubscriptionBillingAttemptInventoryError : GraphQLObject, ISubscriptionBillingAttemptError + { + /// + ///The error code for the inventory-related failure. + /// + [Description("The error code for the inventory-related failure.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptInventoryErrorCode))] + 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.")] + public ProductVariantConnection? insufficientStockProductVariants { get; set; } + } + + /// + ///Error codes for inventory-related billing attempt failures. + /// + [Description("Error codes for inventory-related billing attempt failures.")] + public enum SubscriptionBillingAttemptInventoryErrorCode + { + /// + ///Insufficient inventory. + /// + [Description("Insufficient inventory.")] + INSUFFICIENT_INVENTORY, + /// + ///No inventory location found or enabled. + /// + [Description("No inventory location found or enabled.")] + INVENTORY_ALLOCATIONS_NOT_FOUND, + } + + public static class SubscriptionBillingAttemptInventoryErrorCodeStringValues + { + public const string INSUFFICIENT_INVENTORY = @"INSUFFICIENT_INVENTORY"; + public const string INVENTORY_ALLOCATIONS_NOT_FOUND = @"INVENTORY_ALLOCATIONS_NOT_FOUND"; + } + /// ///The inventory policy for a billing attempt. /// @@ -119188,6 +128753,364 @@ public class SubscriptionBillingAttemptOutOfStockProductVariantsError : GraphQLO public ProductVariantConnection? outOfStockProductVariants { get; set; } } + /// + ///A payment challenge that the customer must complete. + /// + [Description("A payment challenge that the customer must complete.")] + public class SubscriptionBillingAttemptPaymentChallenge : GraphQLObject, ISubscriptionBillingAttemptAction + { + /// + ///URL to redirect the customer for authentication. + /// + [Description("URL to redirect the customer for authentication.")] + [NonNull] + public string? nextActionUrl { get; set; } + + /// + ///The status of the payment challenge. + /// + [Description("The status of the payment challenge.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptPaymentChallengeStatus))] + public string? status { get; set; } + } + + /// + ///The status of the billing attempt authentication process. + /// + [Description("The status of the billing attempt authentication process.")] + public enum SubscriptionBillingAttemptPaymentChallengeStatus + { + /// + ///The billing attempt is rejected because the customer action was required. The customer has not yet attempted to complete the challenge. + /// + [Description("The billing attempt is rejected because the customer action was required. The customer has not yet attempted to complete the challenge.")] + OFF_SESSION_REJECTED, + /// + ///The customer was brought on session and challenged. + /// + [Description("The customer was brought on session and challenged.")] + ON_SESSION_CHALLENGED, + } + + public static class SubscriptionBillingAttemptPaymentChallengeStatusStringValues + { + public const string OFF_SESSION_REJECTED = @"OFF_SESSION_REJECTED"; + public const string ON_SESSION_CHALLENGED = @"ON_SESSION_CHALLENGED"; + } + + /// + ///A payment-related error that occurred during a subscription billing attempt. + /// + [Description("A payment-related error that occurred during a subscription billing attempt.")] + public class SubscriptionBillingAttemptPaymentError : GraphQLObject, ISubscriptionBillingAttemptError + { + /// + ///The error code for the payment failure. + /// + [Description("The error code for the payment failure.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptPaymentErrorCode))] + public string? code { get; set; } + } + + /// + ///Error codes for payment-related billing attempt failures. + /// + [Description("Error codes for payment-related billing attempt failures.")] + public enum SubscriptionBillingAttemptPaymentErrorCode + { + /// + ///Payment method was declined. + /// + [Description("Payment method was declined.")] + PAYMENT_METHOD_DECLINED, + /// + ///Payment method has expired. + /// + [Description("Payment method has expired.")] + EXPIRED_PAYMENT_METHOD, + /// + ///The payment method has insufficient funds to complete the payment. + /// + [Description("The payment method has insufficient funds to complete the payment.")] + INSUFFICIENT_FUNDS, + /// + ///There was an error during the authentication. + /// + [Description("There was an error during the authentication.")] + AUTHENTICATION_ERROR, + /// + ///Payment method is invalid. + /// + [Description("Payment method is invalid.")] + INVALID_PAYMENT_METHOD, + /// + ///The buyer canceled the payment method. + /// + [Description("The buyer canceled the payment method.")] + BUYER_CANCELED_PAYMENT_METHOD, + /// + ///The customer billing agreement is invalid. + /// + [Description("The customer billing agreement is invalid.")] + INVALID_CUSTOMER_BILLING_AGREEMENT, + /// + ///The transaction amount is too small. + /// + [Description("The transaction amount is too small.")] + AMOUNT_TOO_SMALL, + /// + ///The transaction amount is too large. + /// + [Description("The transaction amount is too large.")] + AMOUNT_TOO_LARGE, + /// + ///The card number is incorrect. + /// + [Description("The card number is incorrect.")] + CARD_NUMBER_INCORRECT, + /// + ///Fraud was suspected on this transaction. + /// + [Description("Fraud was suspected on this transaction.")] + FRAUD_SUSPECTED, + /// + ///The invoice has already been paid. + /// + [Description("The invoice has already been paid.")] + INVOICE_ALREADY_PAID, + /// + ///A test mode error occurred. + /// + [Description("A test mode error occurred.")] + TEST_MODE, + /// + ///A general PayPal error occurred. + /// + [Description("A general PayPal error occurred.")] + PAYPAL_ERROR_GENERAL, + /// + ///The shipping address is invalid. + /// + [Description("The shipping address is invalid.")] + INVALID_SHIPPING_ADDRESS, + /// + ///A transient error occurred, try again later. + /// + [Description("A transient error occurred, try again later.")] + TRANSIENT_ERROR, + /// + ///Purchase type is not supported. + /// + [Description("Purchase type is not supported.")] + PURCHASE_TYPE_NOT_SUPPORTED, + /// + ///Authentication failed during the payment processing. + /// + [Description("Authentication failed during the payment processing.")] + AUTHENTICATION_FAILED, + /// + ///Additional authentication is required for this payment. + /// + [Description("Additional authentication is required for this payment.")] + AUTHENTICATION_REQUIRED, + /// + ///The card issuer requires the cardholder to call. + /// + [Description("The card issuer requires the cardholder to call.")] + CALL_ISSUER, + /// + ///The card was declined. + /// + [Description("The card was declined.")] + CARD_DECLINED, + /// + ///The payment confirmation was rejected. + /// + [Description("The payment confirmation was rejected.")] + CONFIRMATION_REJECTED, + /// + ///The card issuer returned 'do not honor'. The customer should reach out to their card-issuing bank for more information. + /// + [Description("The card issuer returned 'do not honor'. The customer should reach out to their card-issuing bank for more information.")] + DO_NOT_HONOR, + /// + ///The payment was declined due to a merchant rule. + /// + [Description("The payment was declined due to a merchant rule.")] + MERCHANT_RULE, + /// + ///The off-session payment was rejected. + /// + [Description("The off-session payment was rejected.")] + OFF_SESSION_REJECTED, + /// + ///The payment retry was declined. + /// + [Description("The payment retry was declined.")] + RETRY_DECLINED, + /// + ///The transaction exceeded the limit. + /// + [Description("The transaction exceeded the limit.")] + TRANSACTION_LIMIT_EXCEEDED, + /// + ///The postal/ZIP code is incorrect. + /// + [Description("The postal/ZIP code is incorrect.")] + INCORRECT_ZIP, + /// + ///The currency is not supported. + /// + [Description("The currency is not supported.")] + INVALID_CURRENCY, + /// + ///The card number is invalid. + /// + [Description("The card number is invalid.")] + INVALID_NUMBER, + /// + ///The payment method type is not supported. + /// + [Description("The payment method type is not supported.")] + PAYMENT_METHOD_UNSUPPORTED, + /// + ///An exception occurred with the payment provider. + /// + [Description("An exception occurred with the payment provider.")] + PAYMENT_PROVIDER_ERROR, + /// + ///The billing address is incorrect. + /// + [Description("The billing address is incorrect.")] + INCORRECT_ADDRESS, + /// + ///The card number is incorrect. + /// + [Description("The card number is incorrect.")] + INCORRECT_NUMBER, + /// + ///The card has expired. + /// + [Description("The card has expired.")] + EXPIRED_CARD, + /// + ///The expiry date is invalid. + /// + [Description("The expiry date is invalid.")] + INVALID_EXPIRY_DATE, + /// + ///The required buyer action has expired. + /// + [Description("The required buyer action has expired.")] + EXPIRED_BUYER_ACTION, + /// + ///A processing error occurred. + /// + [Description("A processing error occurred.")] + PROCESSING_ERROR, + /// + ///A generic payment error occurred. + /// + [Description("A generic payment error occurred.")] + GENERIC_ERROR, + /// + ///The payment was cancelled. + /// + [Description("The payment was cancelled.")] + CANCELLED_PAYMENT, + /// + ///The purchase type is invalid. + /// + [Description("The purchase type is invalid.")] + INVALID_PURCHASE_TYPE, + } + + public static class SubscriptionBillingAttemptPaymentErrorCodeStringValues + { + public const string PAYMENT_METHOD_DECLINED = @"PAYMENT_METHOD_DECLINED"; + public const string EXPIRED_PAYMENT_METHOD = @"EXPIRED_PAYMENT_METHOD"; + public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; + public const string AUTHENTICATION_ERROR = @"AUTHENTICATION_ERROR"; + public const string INVALID_PAYMENT_METHOD = @"INVALID_PAYMENT_METHOD"; + public const string BUYER_CANCELED_PAYMENT_METHOD = @"BUYER_CANCELED_PAYMENT_METHOD"; + public const string INVALID_CUSTOMER_BILLING_AGREEMENT = @"INVALID_CUSTOMER_BILLING_AGREEMENT"; + public const string AMOUNT_TOO_SMALL = @"AMOUNT_TOO_SMALL"; + public const string AMOUNT_TOO_LARGE = @"AMOUNT_TOO_LARGE"; + public const string CARD_NUMBER_INCORRECT = @"CARD_NUMBER_INCORRECT"; + public const string FRAUD_SUSPECTED = @"FRAUD_SUSPECTED"; + public const string INVOICE_ALREADY_PAID = @"INVOICE_ALREADY_PAID"; + public const string TEST_MODE = @"TEST_MODE"; + public const string PAYPAL_ERROR_GENERAL = @"PAYPAL_ERROR_GENERAL"; + public const string INVALID_SHIPPING_ADDRESS = @"INVALID_SHIPPING_ADDRESS"; + public const string TRANSIENT_ERROR = @"TRANSIENT_ERROR"; + public const string PURCHASE_TYPE_NOT_SUPPORTED = @"PURCHASE_TYPE_NOT_SUPPORTED"; + public const string AUTHENTICATION_FAILED = @"AUTHENTICATION_FAILED"; + public const string AUTHENTICATION_REQUIRED = @"AUTHENTICATION_REQUIRED"; + public const string CALL_ISSUER = @"CALL_ISSUER"; + public const string CARD_DECLINED = @"CARD_DECLINED"; + public const string CONFIRMATION_REJECTED = @"CONFIRMATION_REJECTED"; + public const string DO_NOT_HONOR = @"DO_NOT_HONOR"; + public const string MERCHANT_RULE = @"MERCHANT_RULE"; + public const string OFF_SESSION_REJECTED = @"OFF_SESSION_REJECTED"; + public const string RETRY_DECLINED = @"RETRY_DECLINED"; + public const string TRANSACTION_LIMIT_EXCEEDED = @"TRANSACTION_LIMIT_EXCEEDED"; + public const string INCORRECT_ZIP = @"INCORRECT_ZIP"; + public const string INVALID_CURRENCY = @"INVALID_CURRENCY"; + public const string INVALID_NUMBER = @"INVALID_NUMBER"; + public const string PAYMENT_METHOD_UNSUPPORTED = @"PAYMENT_METHOD_UNSUPPORTED"; + public const string PAYMENT_PROVIDER_ERROR = @"PAYMENT_PROVIDER_ERROR"; + public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; + public const string INCORRECT_NUMBER = @"INCORRECT_NUMBER"; + public const string EXPIRED_CARD = @"EXPIRED_CARD"; + public const string INVALID_EXPIRY_DATE = @"INVALID_EXPIRY_DATE"; + public const string EXPIRED_BUYER_ACTION = @"EXPIRED_BUYER_ACTION"; + public const string PROCESSING_ERROR = @"PROCESSING_ERROR"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string CANCELLED_PAYMENT = @"CANCELLED_PAYMENT"; + public const string INVALID_PURCHASE_TYPE = @"INVALID_PURCHASE_TYPE"; + } + + /// + ///The payment processing policy for a billing attempt. + /// + [Description("The payment processing policy for a billing attempt.")] + public enum SubscriptionBillingAttemptPaymentProcessingPolicy + { + /// + ///Attempt to process payment on the billing attempt and fail the billing attempt if + /// the payment method is not valid or if a payment method does not exist. + /// + [Description("Attempt to process payment on the billing attempt and fail the billing attempt if\n the payment method is not valid or if a payment method does not exist.")] + FAIL_UNLESS_VALID_PAYMENT_METHOD, + /// + ///Skip payment processing on the billing attempt and create an unpaid order. + /// + [Description("Skip payment processing on the billing attempt and create an unpaid order.")] + SKIP_PAYMENT_AND_CREATE_UNPAID_ORDER, + } + + public static class SubscriptionBillingAttemptPaymentProcessingPolicyStringValues + { + public const string FAIL_UNLESS_VALID_PAYMENT_METHOD = @"FAIL_UNLESS_VALID_PAYMENT_METHOD"; + public const string SKIP_PAYMENT_AND_CREATE_UNPAID_ORDER = @"SKIP_PAYMENT_AND_CREATE_UNPAID_ORDER"; + } + + /// + ///The billing attempt is currently being processed. + /// + [Description("The billing attempt is currently being processed.")] + public class SubscriptionBillingAttemptPendingState : GraphQLObject, ISubscriptionBillingAttemptState + { + /// + ///Always true when the billing attempt is pending. + /// + [Description("Always true when the billing attempt is pending.")] + [NonNull] + public bool? processing { get; set; } + } + /// ///An error that prevented a billing attempt. /// @@ -119217,6 +129140,50 @@ public interface ISubscriptionBillingAttemptProcessingError : IGraphQLObject public string? message { get; } } + /// + ///The state of a subscription billing attempt with state-specific data. + /// + [Description("The state of a subscription billing attempt with state-specific data.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptActionRequiredState), typeDiscriminator: "SubscriptionBillingAttemptActionRequiredState")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptFailedState), typeDiscriminator: "SubscriptionBillingAttemptFailedState")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptPendingState), typeDiscriminator: "SubscriptionBillingAttemptPendingState")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptSuccessState), typeDiscriminator: "SubscriptionBillingAttemptSuccessState")] + public interface ISubscriptionBillingAttemptState : IGraphQLObject + { + public SubscriptionBillingAttemptActionRequiredState? AsSubscriptionBillingAttemptActionRequiredState() => this as SubscriptionBillingAttemptActionRequiredState; + public SubscriptionBillingAttemptFailedState? AsSubscriptionBillingAttemptFailedState() => this as SubscriptionBillingAttemptFailedState; + public SubscriptionBillingAttemptPendingState? AsSubscriptionBillingAttemptPendingState() => this as SubscriptionBillingAttemptPendingState; + public SubscriptionBillingAttemptSuccessState? AsSubscriptionBillingAttemptSuccessState() => this as SubscriptionBillingAttemptSuccessState; + } + + /// + ///The billing attempt completed successfully and created an order. + /// + [Description("The billing attempt completed successfully and created an order.")] + public class SubscriptionBillingAttemptSuccessState : GraphQLObject, ISubscriptionBillingAttemptState + { + /// + ///The order created by the successful billing attempt. May be null if the order was deleted. + /// + [Description("The order created by the successful billing attempt. May be null if the order was deleted.")] + public Order? order { get; set; } + } + + /// + ///An unexpected error that occurred during a subscription billing attempt. + /// + [Description("An unexpected error that occurred during a subscription billing attempt.")] + public class SubscriptionBillingAttemptUnexpectedError : GraphQLObject, ISubscriptionBillingAttemptError + { + /// + ///A message describing the unexpected error. + /// + [Description("A message describing the unexpected error.")] + [NonNull] + public string? message { get; set; } + } + /// ///The set of valid sort keys for the SubscriptionBillingAttempts query. /// @@ -126392,9 +136359,9 @@ public enum TranslatableResourceType [Description("A collection image. Translatable fields: `alt`.")] COLLECTION_IMAGE, /// - ///The delivery method definition. For example, "Standard", or "Expedited". Translatable fields: `name`. + ///The delivery method definition. For example, "Standard", or "Expedited". Translatable fields: `name`, `description`. /// - [Description("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`, `description`.")] DELIVERY_METHOD_DEFINITION, /// ///An email template. Translatable fields: `title`, `body_html`. @@ -129269,6 +139236,12 @@ public class WebhookSubscription : GraphQLObject, ILegacyIn [NonNull] public IEnumerable? metafields { get; set; } + /// + ///A human-readable name for the webhook subscription. + /// + [Description("A human-readable name for the webhook subscription.")] + public string? name { get; set; } + /// ///The type of event that triggers the webhook. The topic determines when the webhook subscription sends a webhook, as well as what class of data object that webhook contains. /// @@ -129449,6 +139422,12 @@ public class WebhookSubscriptionInput : GraphQLObject [Description("A list of identifiers specifying metafields to include in the webhook payload.")] public IEnumerable? metafields { get; set; } + /// + ///A human-readable name for the webhook subscription. + /// + [Description("A human-readable name for the webhook subscription.")] + public string? name { get; set; } + /// ///URL where the webhook subscription should send the POST request when the event occurs. /// @@ -129543,9 +139522,9 @@ public static class WebhookSubscriptionSortKeysStringValues public enum WebhookSubscriptionTopic { /// - ///The webhook topic for `tax_summaries/create` events. Occurs when a tax summary is created. Consumed by tax partners. Requires at least one of the following scopes: read_fulfillments, read_marketplace_orders. + ///The webhook topic for `tax_summaries/create` events. Occurs when a tax summary is created. Consumed by tax partners. Requires at least one of the following scopes: read_fulfillments, read_marketplace_orders, read_orders. /// - [Description("The webhook topic for `tax_summaries/create` events. Occurs when a tax summary is created. Consumed by tax partners. Requires at least one of the following scopes: read_fulfillments, read_marketplace_orders.")] + [Description("The webhook topic for `tax_summaries/create` events. Occurs when a tax summary is created. Consumed by tax partners. Requires at least one of the following scopes: read_fulfillments, read_marketplace_orders, read_orders.")] TAX_SUMMARIES_CREATE, /// ///The webhook topic for `app/uninstalled` events. Occurs whenever a shop has uninstalled the app. @@ -129931,6 +139910,16 @@ public enum WebhookSubscriptionTopic [Description("The webhook topic for `fulfillment_orders/split` events. Occurs when a fulfillment order is split into multiple fulfillment orders. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.")] FULFILLMENT_ORDERS_SPLIT, /// + ///The webhook topic for `fulfillment_orders/progress_reported` events. Occurs when progress is reported for a fulfillment order. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders. + /// + [Description("The webhook topic for `fulfillment_orders/progress_reported` events. Occurs when progress is reported for a fulfillment order. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.")] + FULFILLMENT_ORDERS_PROGRESS_REPORTED, + /// + ///The webhook topic for `fulfillment_orders/manually_reported_progress_stopped` events. Occurs when a fulfillment order that has previously been manually marked as in progress is marked back as open. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders. + /// + [Description("The webhook topic for `fulfillment_orders/manually_reported_progress_stopped` events. Occurs when a fulfillment order that has previously been manually marked as in progress is marked back as open. Requires at least one of the following scopes: read_merchant_managed_fulfillment_orders, read_assigned_fulfillment_orders, read_third_party_fulfillment_orders.")] + FULFILLMENT_ORDERS_MANUALLY_REPORTED_PROGRESS_STOPPED, + /// ///The webhook topic for `product_listings/add` events. Occurs whenever an active product is listed on a channel. Requires the `read_product_listings` scope. /// [Description("The webhook topic for `product_listings/add` events. Occurs whenever an active product is listed on a channel. Requires the `read_product_listings` scope.")] @@ -130759,6 +140748,8 @@ public static class WebhookSubscriptionTopicStringValues public const string FULFILLMENT_ORDERS_PLACED_ON_HOLD = @"FULFILLMENT_ORDERS_PLACED_ON_HOLD"; public const string FULFILLMENT_ORDERS_MERGED = @"FULFILLMENT_ORDERS_MERGED"; public const string FULFILLMENT_ORDERS_SPLIT = @"FULFILLMENT_ORDERS_SPLIT"; + public const string FULFILLMENT_ORDERS_PROGRESS_REPORTED = @"FULFILLMENT_ORDERS_PROGRESS_REPORTED"; + public const string FULFILLMENT_ORDERS_MANUALLY_REPORTED_PROGRESS_STOPPED = @"FULFILLMENT_ORDERS_MANUALLY_REPORTED_PROGRESS_STOPPED"; public const string PRODUCT_LISTINGS_ADD = @"PRODUCT_LISTINGS_ADD"; public const string PRODUCT_LISTINGS_REMOVE = @"PRODUCT_LISTINGS_REMOVE"; public const string PRODUCT_LISTINGS_UPDATE = @"PRODUCT_LISTINGS_UPDATE"; diff --git a/ShopifyNet/ShopifyClientOptions.cs b/ShopifyNet/ShopifyClientOptions.cs index a18c935..9a6f7d3 100644 --- a/ShopifyNet/ShopifyClientOptions.cs +++ b/ShopifyNet/ShopifyClientOptions.cs @@ -6,7 +6,7 @@ namespace ShopifyNet; public class ShopifyClientOptions : IGraphQLClientOptions { - public const string DEFAULT_API_VERSION = "2026-01"; + public const string DEFAULT_API_VERSION = "2026-04"; private static readonly ProductInfoHeaderValue _userAgent = new( typeof(ShopifyClientOptions).Assembly.GetName().Name!, typeof(ShopifyClientOptions).Assembly.GetName().Version!.ToString()); diff --git a/ShopifyNet/ShopifyNet.csproj b/ShopifyNet/ShopifyNet.csproj index b04e500..7b323ec 100644 --- a/ShopifyNet/ShopifyNet.csproj +++ b/ShopifyNet/ShopifyNet.csproj @@ -5,7 +5,7 @@ https://github.com/Wish-Org/ShopifyNet https://github.com/Wish-Org/ShopifyNet .NET utilities for Shopify GraphQL - 2.13.0 + 2.14.0 shopify graphql types classes schema generator strongly typed