{"save_discount_code":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"description":"Update this discount code. Omit to update the code with exactly body.code, or create it.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"connectionId":{"description":"Place the code on this store connection (list_workspace_connections).","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"body":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":255,"pattern":"^\\S+$"},"aliased_codes":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":255},"code":{"type":"string","minLength":1,"maxLength":255,"pattern":"^\\S+$"}},"required":["code"]}},"title":{"type":"string","minLength":1,"maxLength":255},"display_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"value_kind":{"type":"string","enum":["percent","amount"]},"value_percent":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"value_amount":{"anyOf":[{"type":"number","minimum":0,"maximum":5000},{"type":"null"}]},"usage_limit":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999},{"type":"null"}]},"start_at":{"type":["string","null"]},"ends_at":{"type":["string","null"]},"one_time_purchase":{"default":false,"type":"boolean"},"status":{"type":"string","enum":["EXPIRED","DRAFT","SCHEDULED","ACTIVE"]},"is_public":{"type":"boolean"},"public_tier":{"type":"string","enum":["BASIC","QUICK","ENHANCED"]},"origin":{"type":"string","minLength":1,"maxLength":255},"tags":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":180},"additionalProperties":{"type":"string","enum":["default","gray","brown","orange","yellow","green","blue","purple","pink","red"]}},"placements":{"type":"array","items":{"type":"object","properties":{"connectionId":{"type":"string","minLength":1,"maxLength":255},"child":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["connectionId"]}}},"description":"Discount columns: code, title, value_kind with value_percent or value_amount, status, start_at, ends_at, usage_limit, combine flags."}},"required":["body"]},"add_discount_placements":{"type":"object","properties":{"input":{"$ref":"#/$defs/AddDiscountPlacementsInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"AddDiscountPlacementsInput":{"type":"object","properties":{"child":{"description":"The provider block keyed by the connection's slug (see PlaceDiscountCodeInput.child)."},"connectionId":{"type":"string","format":"uuid","description":"The connection the code is put on. Whether it is pushed anywhere follows from that connection's provider."},"discountCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."}},"required":["connectionId","discountCodeId"]}}},"bulk_remove_tag_from_workspace_discounts":{"type":"object","properties":{"input":{"$ref":"#/$defs/BulkRemoveTagFromWorkspaceDiscountsInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"BulkRemoveTagFromWorkspaceDiscountsInput":{"type":"object","properties":{"tag":{"type":"string"}},"required":["tag"]}}},"bulk_rename_tag_across_workspace_discounts":{"type":"object","properties":{"input":{"$ref":"#/$defs/BulkRenameTagAcrossWorkspaceDiscountsInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"BulkRenameTagAcrossWorkspaceDiscountsInput":{"type":"object","properties":{"fromTag":{"type":"string"},"toTag":{"type":"string"}},"required":["fromTag","toTag"]}}},"bulk_sync_discount_codes":{"type":"object","properties":{"input":{"$ref":"#/$defs/BulkSyncDiscountCodesInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"BulkSyncDiscountCodesInput":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The discounts to push. Each one syncs to wherever it is already placed — the request names no store."}},"required":["ids"]}}},"bulk_update_discount_code_status":{"type":"object","properties":{"input":{"$ref":"#/$defs/BulkUpdateDiscountCodeStatusInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"BulkUpdateDiscountCodeStatusInput":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"uuid"}},"status":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"],"description":"The status to set on the codes."}},"required":["ids","status"]}}},"create_discount_code":{"type":"object","properties":{"input":{"$ref":"#/$defs/CreateDiscountCodeInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"CreateDiscountCodeInput":{"type":"object","properties":{"body":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":255,"pattern":"^\\S+$"},"aliased_codes":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":255},"code":{"type":"string","minLength":1,"maxLength":255,"pattern":"^\\S+$"}},"required":["code"]}},"title":{"type":"string","minLength":1,"maxLength":255},"display_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"value_kind":{"type":"string","enum":["percent","amount"]},"value_percent":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"value_amount":{"anyOf":[{"type":"number","minimum":0,"maximum":5000},{"type":"null"}]},"usage_limit":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999},{"type":"null"}]},"start_at":{"type":["string","null"]},"ends_at":{"type":["string","null"]},"one_time_purchase":{"default":false,"type":"boolean"},"status":{"type":"string","enum":["EXPIRED","DRAFT","SCHEDULED","ACTIVE"]},"is_public":{"type":"boolean"},"public_tier":{"type":"string","enum":["BASIC","QUICK","ENHANCED"]},"origin":{"type":"string","minLength":1,"maxLength":255},"tags":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":180},"additionalProperties":{"type":"string","enum":["default","gray","brown","orange","yellow","green","blue","purple","pink","red"]}},"placements":{"type":"array","items":{"type":"object","properties":{"connectionId":{"type":"string","minLength":1,"maxLength":255},"child":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["connectionId"]}}},"required":["code","aliased_codes","title","value_kind","value_percent","value_amount","usage_limit","start_at","ends_at","status"],"description":"Discount create body. Invalid input returns userErrors."},"connectionId":{"type":"string","format":"uuid","description":"Optional owner connection. Omit to create a workspace-level (unplaced) discount and place it on connections later; pass a connectionId to seed a single owner placement."}},"required":["body"]}}},"delete_discount_code":{"type":"object","properties":{"input":{"$ref":"#/$defs/DeleteDiscountCodeInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"DeleteDiscountCodeInput":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}}},"get_discount_campaigns":{"type":"object","properties":{"first":{"type":"integer","default":100,"description":"Only read the first `n` values of the set."},"id":{"type":"string","format":"uuid"}},"required":["id"]},"get_discount_changes":{"type":"object","properties":{"after":{"type":"string","description":"Read all values in the set after (below) this cursor."},"filter":{"$ref":"#/$defs/DiscountChangeFilter","description":"A filter to be used in determining which values should be returned by the collection."},"first":{"type":"integer","default":50,"description":"Only read the first `n` values of the set."},"id":{"type":"string","format":"uuid"}},"required":["id"],"$defs":{"DiscountChangeFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/DiscountChangeFilter"}},"connectionByConnectionIdExists":{"type":"boolean"},"connectionId":{"$ref":"#/$defs/UUIDFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"discountCodeByDiscountCodeIdExists":{"type":"boolean"},"discountCodeId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"discountPlacementByDiscountPlacementIdExists":{"type":"boolean"},"discountPlacementId":{"$ref":"#/$defs/UUIDFilter"},"not":{"$ref":"#/$defs/DiscountChangeFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/DiscountChangeFilter"}},"payloadHash":{"$ref":"#/$defs/StringFilter"},"rowId":{"$ref":"#/$defs/UUIDFilter"}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}}}},"get_discount_code_alias_exists":{"type":"object","properties":{"codes":{"type":"array","items":{"type":"string"}},"excludeDiscountId":{"type":"string","format":"uuid"}},"required":["codes"]},"get_discount_code_form_responses":{"type":"object","properties":{"filter":{"$ref":"#/$defs/FormResponseFilter","description":"A filter to be used in determining which values should be returned by the collection."},"first":{"type":"integer","default":20,"description":"Only read the first `n` values of the set."},"id":{"type":"string","format":"uuid"},"offset":{"type":"integer","default":0,"description":"Skip the first `n` values from our `after` cursor, an alternative to cursor\nbased pagination. May not be used with `last`."}},"required":["id"],"$defs":{"FormResponseFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/FormResponseFilter"}},"channelByChannelIdExists":{"type":"boolean"},"channelId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"clickId":{"$ref":"#/$defs/StringFilter"},"clickIdKind":{"$ref":"#/$defs/StringFilter"},"completedAt":{"$ref":"#/$defs/DatetimeFilter"},"connectionByConnectionIdExists":{"type":"boolean"},"connectionId":{"$ref":"#/$defs/UUIDFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"customerByCustomerIdExists":{"type":"boolean"},"customerId":{"$ref":"#/$defs/UUIDFilter"},"discountCodeByDiscountCodeIdExists":{"type":"boolean"},"discountCodeId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"formPlacementByFormPlacementIdExists":{"type":"boolean"},"formPlacementId":{"$ref":"#/$defs/UUIDFilter"},"formVariantId":{"$ref":"#/$defs/UUIDFilter"},"not":{"$ref":"#/$defs/FormResponseFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/FormResponseFilter"}},"originRef":{"$ref":"#/$defs/StringFilter"},"partnerByPartnerIdExists":{"type":"boolean"},"partnerId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the partner's name, \"@handle\", or { \"name\": \"…\" } — resolved for you."},"rowId":{"$ref":"#/$defs/UUIDFilter"},"sessionId":{"$ref":"#/$defs/StringFilter"},"shortLinkByShortLinkIdExists":{"type":"boolean"},"shortLinkId":{"$ref":"#/$defs/UUIDFilter"},"status":{"$ref":"#/$defs/FormResponseStatusFilter"},"visitorId":{"$ref":"#/$defs/UUIDFilter"}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"FormResponseStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"greaterThan":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"greaterThanOrEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"in":{"type":"array","items":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"lessThanOrEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"notEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"notIn":{"type":"array","items":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]}}}}}},"get_discount_code_orders":{"type":"object","properties":{"filter":{"$ref":"#/$defs/OrderFilter","description":"A filter to be used in determining which values should be returned by the collection."},"first":{"type":"integer","default":20,"description":"Only read the first `n` values of the set."},"id":{"type":"string","format":"uuid"},"offset":{"type":"integer","default":0,"description":"Skip the first `n` values from our `after` cursor, an alternative to cursor\nbased pagination. May not be used with `last`."}},"required":["id"],"$defs":{"OrderFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/OrderFilter"}},"attributedRevenue":{"$ref":"#/$defs/BigFloatFilter"},"attributionScoredAt":{"$ref":"#/$defs/DatetimeFilter"},"bestTier":{"$ref":"#/$defs/StringFilter"},"connectionByConnectionIdExists":{"type":"boolean"},"connectionId":{"$ref":"#/$defs/UUIDFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"currencyId":{"$ref":"#/$defs/UUIDFilter"},"customerByCustomerIdExists":{"type":"boolean"},"customerId":{"$ref":"#/$defs/UUIDFilter"},"customerRef":{"$ref":"#/$defs/StringFilter"},"discountCodeByDiscountCodeIdExists":{"type":"boolean"},"discountCodeId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"externalRef":{"$ref":"#/$defs/StringFilter"},"financialStatus":{"$ref":"#/$defs/FinancialStatusFilter"},"formResponseByFormResponseIdExists":{"type":"boolean"},"formResponseId":{"$ref":"#/$defs/UUIDFilter"},"fulfillmentStatus":{"$ref":"#/$defs/FulfillmentStatusFilter"},"integrationSlug":{"$ref":"#/$defs/StringFilter"},"isReal":{"$ref":"#/$defs/BooleanFilter"},"not":{"$ref":"#/$defs/OrderFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/OrderFilter"}},"orderCustomByOrderIdExists":{"type":"boolean"},"orderReportedByOrderIdExists":{"type":"boolean"},"orderShopifyByOrderIdExists":{"type":"boolean"},"orderStatus":{"$ref":"#/$defs/OrderStatusFilter"},"orderStripeByOrderIdExists":{"type":"boolean"},"originRefs":{"$ref":"#/$defs/StringListFilter"},"paidAt":{"$ref":"#/$defs/DatetimeFilter"},"partnerByPartnerIdExists":{"type":"boolean"},"partnerId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the partner's name, \"@handle\", or { \"name\": \"…\" } — resolved for you."},"placedAt":{"$ref":"#/$defs/DatetimeFilter"},"placedDay":{"$ref":"#/$defs/DateFilter"},"rowId":{"$ref":"#/$defs/UUIDFilter"},"workspaceId":{"$ref":"#/$defs/UUIDFilter"}}},"BigFloatFilter":{"type":"object","properties":{"equalTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"greaterThan":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"greaterThanOrEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"in":{"type":"array","items":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"lessThanOrEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"notEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"notIn":{"type":"array","items":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"FinancialStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"greaterThan":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"greaterThanOrEqualTo":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"in":{"type":"array","items":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"lessThanOrEqualTo":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"notEqualTo":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"notIn":{"type":"array","items":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]}}}},"FulfillmentStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"greaterThan":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"greaterThanOrEqualTo":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"in":{"type":"array","items":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"lessThanOrEqualTo":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"notEqualTo":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"notIn":{"type":"array","items":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]}}}},"BooleanFilter":{"type":"object","properties":{"equalTo":{"type":"boolean"},"greaterThan":{"type":"boolean"},"greaterThanOrEqualTo":{"type":"boolean"},"in":{"type":"array","items":{"type":"boolean"}},"isNull":{"type":"boolean"},"lessThan":{"type":"boolean"},"lessThanOrEqualTo":{"type":"boolean"},"notEqualTo":{"type":"boolean"},"notIn":{"type":"array","items":{"type":"boolean"}}}},"OrderStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"greaterThan":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"greaterThanOrEqualTo":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"in":{"type":"array","items":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"lessThanOrEqualTo":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"notEqualTo":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"notIn":{"type":"array","items":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]}}}},"StringListFilter":{"type":"object","properties":{"anyEqualTo":{"type":"string"},"equalTo":{"type":"array","items":{"type":"string"}},"greaterThan":{"type":"array","items":{"type":"string"}},"greaterThanOrEqualTo":{"type":"array","items":{"type":"string"}},"isNull":{"type":"boolean"},"lessThan":{"type":"array","items":{"type":"string"}},"lessThanOrEqualTo":{"type":"array","items":{"type":"string"}},"notEqualTo":{"type":"array","items":{"type":"string"}}}},"DateFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date"},"greaterThan":{"type":"string","format":"date"},"greaterThanOrEqualTo":{"type":"string","format":"date"},"in":{"type":"array","items":{"type":"string","format":"date"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date"},"lessThanOrEqualTo":{"type":"string","format":"date"},"notEqualTo":{"type":"string","format":"date"},"notIn":{"type":"array","items":{"type":"string","format":"date"}}}}}},"get_discount_code_order_series":{"type":"object","properties":{"filter":{"$ref":"#/$defs/OrderFilter","description":"A filter to be used in determining which values should be returned by the collection."},"id":{"type":"string","format":"uuid"},"reportedFilter":{"$ref":"#/$defs/OrderReportedFilter","description":"A filter to be used in determining which values should be returned by the collection."}},"required":["id","reportedFilter"],"$defs":{"OrderFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/OrderFilter"}},"attributedRevenue":{"$ref":"#/$defs/BigFloatFilter"},"attributionScoredAt":{"$ref":"#/$defs/DatetimeFilter"},"bestTier":{"$ref":"#/$defs/StringFilter"},"connectionByConnectionIdExists":{"type":"boolean"},"connectionId":{"$ref":"#/$defs/UUIDFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"currencyId":{"$ref":"#/$defs/UUIDFilter"},"customerByCustomerIdExists":{"type":"boolean"},"customerId":{"$ref":"#/$defs/UUIDFilter"},"customerRef":{"$ref":"#/$defs/StringFilter"},"discountCodeByDiscountCodeIdExists":{"type":"boolean"},"discountCodeId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"externalRef":{"$ref":"#/$defs/StringFilter"},"financialStatus":{"$ref":"#/$defs/FinancialStatusFilter"},"formResponseByFormResponseIdExists":{"type":"boolean"},"formResponseId":{"$ref":"#/$defs/UUIDFilter"},"fulfillmentStatus":{"$ref":"#/$defs/FulfillmentStatusFilter"},"integrationSlug":{"$ref":"#/$defs/StringFilter"},"isReal":{"$ref":"#/$defs/BooleanFilter"},"not":{"$ref":"#/$defs/OrderFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/OrderFilter"}},"orderCustomByOrderIdExists":{"type":"boolean"},"orderReportedByOrderIdExists":{"type":"boolean"},"orderShopifyByOrderIdExists":{"type":"boolean"},"orderStatus":{"$ref":"#/$defs/OrderStatusFilter"},"orderStripeByOrderIdExists":{"type":"boolean"},"originRefs":{"$ref":"#/$defs/StringListFilter"},"paidAt":{"$ref":"#/$defs/DatetimeFilter"},"partnerByPartnerIdExists":{"type":"boolean"},"partnerId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the partner's name, \"@handle\", or { \"name\": \"…\" } — resolved for you."},"placedAt":{"$ref":"#/$defs/DatetimeFilter"},"placedDay":{"$ref":"#/$defs/DateFilter"},"rowId":{"$ref":"#/$defs/UUIDFilter"},"workspaceId":{"$ref":"#/$defs/UUIDFilter"}}},"BigFloatFilter":{"type":"object","properties":{"equalTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"greaterThan":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"greaterThanOrEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"in":{"type":"array","items":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"lessThanOrEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"notEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"notIn":{"type":"array","items":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"FinancialStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"greaterThan":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"greaterThanOrEqualTo":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"in":{"type":"array","items":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"lessThanOrEqualTo":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"notEqualTo":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]},"notIn":{"type":"array","items":{"type":"string","enum":["AUTHORIZED","PAID","PARTIALLY_PAID","PARTIALLY_REFUNDED","PENDING","REFUNDED","VOIDED"]}}}},"FulfillmentStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"greaterThan":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"greaterThanOrEqualTo":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"in":{"type":"array","items":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"lessThanOrEqualTo":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"notEqualTo":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]},"notIn":{"type":"array","items":{"type":"string","enum":["FULFILLED","INCOMPLETE","NOT_APPLICABLE","OPEN","PARTIALLY_FULFILLED","PENDING","RESTOCKED","SCHEDULED"]}}}},"BooleanFilter":{"type":"object","properties":{"equalTo":{"type":"boolean"},"greaterThan":{"type":"boolean"},"greaterThanOrEqualTo":{"type":"boolean"},"in":{"type":"array","items":{"type":"boolean"}},"isNull":{"type":"boolean"},"lessThan":{"type":"boolean"},"lessThanOrEqualTo":{"type":"boolean"},"notEqualTo":{"type":"boolean"},"notIn":{"type":"array","items":{"type":"boolean"}}}},"OrderStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"greaterThan":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"greaterThanOrEqualTo":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"in":{"type":"array","items":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"lessThanOrEqualTo":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"notEqualTo":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]},"notIn":{"type":"array","items":{"type":"string","enum":["ARCHIVED","CANCELLED","CLOSED","FRAUD","OPEN","PENDING"]}}}},"StringListFilter":{"type":"object","properties":{"anyEqualTo":{"type":"string"},"equalTo":{"type":"array","items":{"type":"string"}},"greaterThan":{"type":"array","items":{"type":"string"}},"greaterThanOrEqualTo":{"type":"array","items":{"type":"string"}},"isNull":{"type":"boolean"},"lessThan":{"type":"array","items":{"type":"string"}},"lessThanOrEqualTo":{"type":"array","items":{"type":"string"}},"notEqualTo":{"type":"array","items":{"type":"string"}}}},"DateFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date"},"greaterThan":{"type":"string","format":"date"},"greaterThanOrEqualTo":{"type":"string","format":"date"},"in":{"type":"array","items":{"type":"string","format":"date"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date"},"lessThanOrEqualTo":{"type":"string","format":"date"},"notEqualTo":{"type":"string","format":"date"},"notIn":{"type":"array","items":{"type":"string","format":"date"}}}},"OrderReportedFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/OrderReportedFilter"}},"bestTier":{"$ref":"#/$defs/StringFilter"},"converted":{"$ref":"#/$defs/BooleanFilter"},"nativeAttributedRevenue":{"$ref":"#/$defs/BigFloatFilter"},"nativeCurrency":{"$ref":"#/$defs/StringFilter"},"nativeTotalPrice":{"$ref":"#/$defs/BigFloatFilter"},"not":{"$ref":"#/$defs/OrderReportedFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/OrderReportedFilter"}},"orderId":{"$ref":"#/$defs/UUIDFilter"},"placedDay":{"$ref":"#/$defs/DateFilter"},"rate":{"$ref":"#/$defs/BigFloatFilter"},"rateProvider":{"$ref":"#/$defs/StringFilter"},"reportedAttributedRevenue":{"$ref":"#/$defs/BigFloatFilter"},"reportedTotalPrice":{"$ref":"#/$defs/BigFloatFilter"},"reportingCurrency":{"$ref":"#/$defs/StringFilter"},"workspaceId":{"$ref":"#/$defs/UUIDFilter"}}}}},"get_discount_code_partners":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]},"get_discount_code_response_series":{"type":"object","properties":{"attributedFilter":{"$ref":"#/$defs/FormResponseFilter","description":"A filter to be used in determining which values should be returned by the collection."},"filter":{"$ref":"#/$defs/FormResponseFilter","description":"A filter to be used in determining which values should be returned by the collection."},"id":{"type":"string","format":"uuid"}},"required":["id"],"$defs":{"FormResponseFilter":{"type":"object","properties":{"and":{"type":"array","items":{"$ref":"#/$defs/FormResponseFilter"}},"channelByChannelIdExists":{"type":"boolean"},"channelId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"clickId":{"$ref":"#/$defs/StringFilter"},"clickIdKind":{"$ref":"#/$defs/StringFilter"},"completedAt":{"$ref":"#/$defs/DatetimeFilter"},"connectionByConnectionIdExists":{"type":"boolean"},"connectionId":{"$ref":"#/$defs/UUIDFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"customerByCustomerIdExists":{"type":"boolean"},"customerId":{"$ref":"#/$defs/UUIDFilter"},"discountCodeByDiscountCodeIdExists":{"type":"boolean"},"discountCodeId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."},"formPlacementByFormPlacementIdExists":{"type":"boolean"},"formPlacementId":{"$ref":"#/$defs/UUIDFilter"},"formVariantId":{"$ref":"#/$defs/UUIDFilter"},"not":{"$ref":"#/$defs/FormResponseFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/FormResponseFilter"}},"originRef":{"$ref":"#/$defs/StringFilter"},"partnerByPartnerIdExists":{"type":"boolean"},"partnerId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the partner's name, \"@handle\", or { \"name\": \"…\" } — resolved for you."},"rowId":{"$ref":"#/$defs/UUIDFilter"},"sessionId":{"$ref":"#/$defs/StringFilter"},"shortLinkByShortLinkIdExists":{"type":"boolean"},"shortLinkId":{"$ref":"#/$defs/UUIDFilter"},"status":{"$ref":"#/$defs/FormResponseStatusFilter"},"visitorId":{"$ref":"#/$defs/UUIDFilter"}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"FormResponseStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"greaterThan":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"greaterThanOrEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"in":{"type":"array","items":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"lessThanOrEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"notEqualTo":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]},"notIn":{"type":"array","items":{"type":"string","enum":["COMPLETE","INCOMPLETE","SKIPPED"]}}}}}},"get_discount_codes_aggregates_filtered":{"type":"object","properties":{"filter":{"$ref":"#/$defs/DiscountCodeFilter","description":"A filter to be used in determining which values should be returned by the collection."}},"$defs":{"DiscountCodeFilter":{"type":"object","properties":{"aliasCount":{"$ref":"#/$defs/IntFilter"},"and":{"type":"array","items":{"$ref":"#/$defs/DiscountCodeFilter"}},"code":{"$ref":"#/$defs/StringFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"createdBy":{"$ref":"#/$defs/DiscountCreatedByFilter"},"displayName":{"$ref":"#/$defs/StringFilter"},"endsAt":{"$ref":"#/$defs/DatetimeFilter"},"not":{"$ref":"#/$defs/DiscountCodeFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/DiscountCodeFilter"}},"partnerByPartnerIdExists":{"type":"boolean"},"partnerId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the partner's name, \"@handle\", or { \"name\": \"…\" } — resolved for you."},"rowId":{"$ref":"#/$defs/UUIDFilter"},"status":{"$ref":"#/$defs/DiscountStatusFilter"},"tier":{"$ref":"#/$defs/StringFilter"},"title":{"$ref":"#/$defs/StringFilter"},"updatedAt":{"$ref":"#/$defs/DatetimeFilter"},"usageCount":{"$ref":"#/$defs/IntFilter"},"valueAmount":{"$ref":"#/$defs/BigFloatFilter"},"valuePercent":{"$ref":"#/$defs/BigFloatFilter"}}},"IntFilter":{"type":"object","properties":{"equalTo":{"type":"integer"},"greaterThan":{"type":"integer"},"greaterThanOrEqualTo":{"type":"integer"},"in":{"type":"array","items":{"type":"integer"}},"isNull":{"type":"boolean"},"lessThan":{"type":"integer"},"lessThanOrEqualTo":{"type":"integer"},"notEqualTo":{"type":"integer"},"notIn":{"type":"array","items":{"type":"integer"}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"DiscountCreatedByFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"greaterThan":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"greaterThanOrEqualTo":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"in":{"type":"array","items":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"lessThanOrEqualTo":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"notEqualTo":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"notIn":{"type":"array","items":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]}}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"DiscountStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"greaterThan":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"greaterThanOrEqualTo":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"in":{"type":"array","items":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"lessThanOrEqualTo":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"notEqualTo":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"notIn":{"type":"array","items":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]}}}},"BigFloatFilter":{"type":"object","properties":{"equalTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"greaterThan":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"greaterThanOrEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"in":{"type":"array","items":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"lessThanOrEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"notEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"notIn":{"type":"array","items":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."}}}}}},"list_discount_codes":{"type":"object","properties":{"filter":{"$ref":"#/$defs/DiscountCodeFilter","description":"A filter to be used in determining which values should be returned by the collection."},"first":{"type":"integer","default":50,"description":"Only read the first `n` values of the set."},"offset":{"type":"integer","default":0,"description":"Skip the first `n` values from our `after` cursor, an alternative to cursor\nbased pagination. May not be used with `last`."},"orderBy":{"type":"array","items":{"type":"string","enum":["ALIAS_COUNT_ASC","ALIAS_COUNT_DESC","CODE_ASC","CODE_DESC","CREATED_AT_ASC","CREATED_AT_DESC","DISPLAY_NAME_ASC","DISPLAY_NAME_DESC","ENDS_AT_ASC","ENDS_AT_DESC","NATURAL","PARTNER_ID_ASC","PARTNER_ID_DESC","PRIMARY_KEY_ASC","PRIMARY_KEY_DESC","ROW_ID_ASC","ROW_ID_DESC","STATUS_ASC","STATUS_DESC","TIER_ASC","TIER_DESC","TITLE_ASC","TITLE_DESC","UPDATED_AT_ASC","UPDATED_AT_DESC","USAGE_COUNT_ASC","USAGE_COUNT_DESC","VALUE_AMOUNT_ASC","VALUE_AMOUNT_DESC","VALUE_PERCENT_ASC","VALUE_PERCENT_DESC","WORKSPACE_ID_ASC","WORKSPACE_ID_DESC"]},"default":["CREATED_AT_DESC"],"description":"The method to use when ordering `DiscountCode`."},"withTotal":{"type":"boolean","default":false,"description":"Included when true."}},"$defs":{"DiscountCodeFilter":{"type":"object","properties":{"aliasCount":{"$ref":"#/$defs/IntFilter"},"and":{"type":"array","items":{"$ref":"#/$defs/DiscountCodeFilter"}},"code":{"$ref":"#/$defs/StringFilter"},"createdAt":{"$ref":"#/$defs/DatetimeFilter"},"createdBy":{"$ref":"#/$defs/DiscountCreatedByFilter"},"displayName":{"$ref":"#/$defs/StringFilter"},"endsAt":{"$ref":"#/$defs/DatetimeFilter"},"not":{"$ref":"#/$defs/DiscountCodeFilter"},"or":{"type":"array","items":{"$ref":"#/$defs/DiscountCodeFilter"}},"partnerByPartnerIdExists":{"type":"boolean"},"partnerId":{"anyOf":[{"$ref":"#/$defs/UUIDFilter"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the partner's name, \"@handle\", or { \"name\": \"…\" } — resolved for you."},"rowId":{"$ref":"#/$defs/UUIDFilter"},"status":{"$ref":"#/$defs/DiscountStatusFilter"},"tier":{"$ref":"#/$defs/StringFilter"},"title":{"$ref":"#/$defs/StringFilter"},"updatedAt":{"$ref":"#/$defs/DatetimeFilter"},"usageCount":{"$ref":"#/$defs/IntFilter"},"valueAmount":{"$ref":"#/$defs/BigFloatFilter"},"valuePercent":{"$ref":"#/$defs/BigFloatFilter"}}},"IntFilter":{"type":"object","properties":{"equalTo":{"type":"integer"},"greaterThan":{"type":"integer"},"greaterThanOrEqualTo":{"type":"integer"},"in":{"type":"array","items":{"type":"integer"}},"isNull":{"type":"boolean"},"lessThan":{"type":"integer"},"lessThanOrEqualTo":{"type":"integer"},"notEqualTo":{"type":"integer"},"notIn":{"type":"array","items":{"type":"integer"}}}},"StringFilter":{"type":"object","properties":{"equalTo":{"type":"string"},"greaterThan":{"type":"string"},"greaterThanOrEqualTo":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"includesInsensitive":{"type":"string"},"isNull":{"type":"boolean"},"lessThan":{"type":"string"},"lessThanOrEqualTo":{"type":"string"},"notEqualTo":{"type":"string"},"notIn":{"type":"array","items":{"type":"string"}}}},"DatetimeFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"greaterThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"in":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"lessThanOrEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notEqualTo":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."},"notIn":{"type":"array","items":{"type":"string","format":"date-time","description":"ISO 8601 with a zone offset."}}}},"DiscountCreatedByFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"greaterThan":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"greaterThanOrEqualTo":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"in":{"type":"array","items":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"lessThanOrEqualTo":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"notEqualTo":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]},"notIn":{"type":"array","items":{"type":"string","enum":["IMPORTED","MISSIN","SHOPIFY"]}}}},"UUIDFilter":{"type":"object","properties":{"equalTo":{"type":"string","format":"uuid"},"greaterThan":{"type":"string","format":"uuid"},"greaterThanOrEqualTo":{"type":"string","format":"uuid"},"in":{"type":"array","items":{"type":"string","format":"uuid"}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","format":"uuid"},"lessThanOrEqualTo":{"type":"string","format":"uuid"},"notEqualTo":{"type":"string","format":"uuid"},"notIn":{"type":"array","items":{"type":"string","format":"uuid"}}}},"DiscountStatusFilter":{"type":"object","properties":{"equalTo":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"greaterThan":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"greaterThanOrEqualTo":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"in":{"type":"array","items":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"lessThanOrEqualTo":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"notEqualTo":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]},"notIn":{"type":"array","items":{"type":"string","enum":["ACTIVE","DRAFT","EXPIRED","SCHEDULED"]}}}},"BigFloatFilter":{"type":"object","properties":{"equalTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"greaterThan":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"greaterThanOrEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"in":{"type":"array","items":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."}},"isNull":{"type":"boolean"},"lessThan":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"lessThanOrEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"notEqualTo":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."},"notIn":{"type":"array","items":{"type":"string","pattern":"^-?\\d+(\\.\\d+)?$","description":"Decimal as a string."}}}}}},"get_discount_code_tag_facets":{"type":"object","properties":{"first":{"type":"integer","default":200,"description":"Only read the first `n` values of the set."}}},"get_discount":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]},"get_discount_placements_by_code":{"type":"object","properties":{"discountCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"A UUID, the name, or { \"name\": \"…\" } — resolved for you."}},"required":["discountCodeId"]},"get_discount_placement_targets":{"type":"object","properties":{"discountCodeId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"Equal to the specified value. A UUID, the name, or { \"name\": \"…\" } — resolved for you."}},"required":["discountCodeId"]},"remove_discount_placement":{"type":"object","properties":{"input":{"$ref":"#/$defs/RemoveDiscountPlacementInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"RemoveDiscountPlacementInput":{"type":"object","properties":{"placementId":{"type":"string","format":"uuid"}},"required":["placementId"]}}},"resync_discount_placement":{"type":"object","properties":{"input":{"$ref":"#/$defs/ResyncDiscountPlacementInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"ResyncDiscountPlacementInput":{"type":"object","properties":{"placementId":{"type":"string","format":"uuid"}},"required":["placementId"]}}},"search_placement_targets":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["COLLECTION","PRICE","PRODUCT"]},"query":{"type":"string"}},"required":["connectionId","kind","query"]},"set_discount_tag_color":{"type":"object","properties":{"input":{"$ref":"#/$defs/SetDiscountTagColorInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SetDiscountTagColorInput":{"type":"object","properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["color","name"]}}},"set_placement_targets":{"type":"object","properties":{"input":{"$ref":"#/$defs/SetPlacementTargetsInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"SetPlacementTargetsInput":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","description":"Must name the placement's own connection — the one its targets narrow."},"placementId":{"type":"string","format":"uuid"},"targets":{"type":"array","items":{"$ref":"#/$defs/PlacementTargetBindInput"},"maxItems":1000,"description":"Replaces the placement's set wholesale. Empty means whole-store."}},"required":["connectionId","placementId","targets"]},"PlacementTargetBindInput":{"type":"object","properties":{"externalId":{"type":"string","minLength":1,"maxLength":512,"description":"The provider's own id for the object, in its own namespace."},"snapshot":{"type":"object","properties":{"title":{"type":"string","maxLength":512},"subtitle":{"type":"string","maxLength":512},"amount":{"type":"number"},"currencyCode":{"type":"string","minLength":3,"maxLength":3}},"required":["title"],"additionalProperties":false,"description":"Title/price captured at bind time, so a chip renders without a live API call."},"targetType":{"type":"string","enum":["COLLECTION","PRICE","PRODUCT"]},"valueAmount":{"type":"number","minimum":0,"maximum":5000,"description":"Amount in this connection's currency. Null inherits the discount's declared value."}},"required":["externalId","targetType"]}}},"sync_all_discount_codes":{"type":"object","properties":{}},"update_discount_code":{"type":"object","properties":{"input":{"$ref":"#/$defs/UpdateDiscountCodeInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"UpdateDiscountCodeInput":{"type":"object","properties":{"body":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":255,"pattern":"^\\S+$"},"aliased_codes":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":255},"code":{"type":"string","minLength":1,"maxLength":255,"pattern":"^\\S+$"}},"required":["code"]}},"title":{"type":"string","minLength":1,"maxLength":255},"display_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}]},"value_kind":{"type":"string","enum":["percent","amount"]},"value_percent":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"value_amount":{"anyOf":[{"type":"number","minimum":0,"maximum":5000},{"type":"null"}]},"usage_limit":{"anyOf":[{"type":"integer","minimum":1,"maximum":999999},{"type":"null"}]},"start_at":{"type":["string","null"]},"ends_at":{"type":["string","null"]},"one_time_purchase":{"default":false,"type":"boolean"},"status":{"type":"string","enum":["EXPIRED","DRAFT","SCHEDULED","ACTIVE"]},"is_public":{"type":"boolean"},"public_tier":{"type":"string","enum":["BASIC","QUICK","ENHANCED"]},"origin":{"type":"string","minLength":1,"maxLength":255},"tags":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":180},"additionalProperties":{"type":"string","enum":["default","gray","brown","orange","yellow","green","blue","purple","pink","red"]}},"placements":{"type":"array","items":{"type":"object","properties":{"connectionId":{"type":"string","minLength":1,"maxLength":255},"child":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["connectionId"]}}}},"connectionId":{"type":"string","format":"uuid","description":"Optional. Omit to edit a workspace-level (unplaced) discount; when present, the store the edit was initiated from (audit stamp + placement push)."},"id":{"type":"string","format":"uuid"},"partnerId":{"anyOf":[{"type":"string","format":"uuid","minLength":1},{"type":"string","minLength":1},{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"],"additionalProperties":false}],"description":"Partner attribution patch, independent of the discount body. Omit BOTH partnerId and tier to preserve the current link; send partnerId: null to clear it; send a partnerId (with an optional tier slug) to attribute. A tier requires a partner. A UUID, the partner's name, \"@handle\", or { \"name\": \"…\" } — resolved for you."},"tier":{"type":"string"}},"required":["body","id"]}}},"update_discount_placement_child":{"type":"object","properties":{"input":{"$ref":"#/$defs/UpdateDiscountPlacementChildInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"UpdateDiscountPlacementChildInput":{"type":"object","properties":{"child":{"description":"The provider block keyed by the placement's slug — only the keys given change."},"placementId":{"type":"string","format":"uuid"}},"required":["child","placementId"]}}},"withdraw_discount_placement":{"type":"object","properties":{"input":{"$ref":"#/$defs/WithdrawDiscountPlacementInput","description":"The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields."}},"required":["input"],"$defs":{"WithdrawDiscountPlacementInput":{"type":"object","properties":{"placementId":{"type":"string","format":"uuid"}},"required":["placementId"]}}}}