"""Queries.""" UPDATE_PRODUCT_RELEASE_DATE = """ mutation($data: UpdateProductInput!) { updateProduct(input: $data) { productId } } """ SET_PRODUCT_RELEASE_SCHEDULE = """ mutation($data: UpdateReleaseScheduleInput!) { updateReleaseSchedule(input: $data) { timed { saleDateTime } } } """ # Returns a single value so it doesn't need a selection of fields REPLACE_PRODUCT_TERRITORY_DATES = """ mutation($data: ProductTerritoryDatesInput!) { replaceProductTerritoryDates(input: $data) } """ UPDATE_VIDEO_PRODUCT_RELEASE_DATE = """ mutation ($data: SaveVideoSingleProductInput) { saveVideoSingleProduct(input: $data) { productId } } """ GET_PRODUCT_BY_UPC = """ query($upc: String!) { productByUpc(upc: $upc) { releaseDate timedRelease { timeOfDayProduct } releaseSchedule { timed { saleDateTime } } } } """ GET_TIMED_RELEASE_STORES = """ query { deliveryStoresV2( supportsTimedRelease: true status: [ACTIVE] ) { items { id } } } """