/** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.0.1-dev * User agent: apibuilder app.apibuilder.io/sullis/email-markup/0.0.1-dev/play_2_6 */ package com.github.sullis.email.markup.v0.models package object bodyparsers { private def bodyParser[A](parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[A] ): _root_.play.api.mvc.BodyParser[A] = parser.validate( _.validate[A].asEither.left.map(e => _root_.play.api.mvc.Results.BadRequest(_root_.play.api.libs.json.JsError.toJson(e)) ) ) def bodyParserActionTypes(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.ActionTypes] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.ActionTypes] = bodyParser[com.github.sullis.email.markup.v0.models.ActionTypes](parser) def bodyParserActionHandler(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.ActionHandler] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.ActionHandler] = bodyParser[com.github.sullis.email.markup.v0.models.ActionHandler](parser) def bodyParserAddress(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.Address] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.Address] = bodyParser[com.github.sullis.email.markup.v0.models.Address](parser) def bodyParserCustomer(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.Customer] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.Customer] = bodyParser[com.github.sullis.email.markup.v0.models.Customer](parser) def bodyParserGotoAction(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.GotoAction] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.GotoAction] = bodyParser[com.github.sullis.email.markup.v0.models.GotoAction](parser) def bodyParserMerchant(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.Merchant] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.Merchant] = bodyParser[com.github.sullis.email.markup.v0.models.Merchant](parser) def bodyParserOffer(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.Offer] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.Offer] = bodyParser[com.github.sullis.email.markup.v0.models.Offer](parser) def bodyParserOneClickAction(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.OneClickAction] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.OneClickAction] = bodyParser[com.github.sullis.email.markup.v0.models.OneClickAction](parser) def bodyParserOrder(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.Order] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.Order] = bodyParser[com.github.sullis.email.markup.v0.models.Order](parser) def bodyParserOrganization(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.Organization] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.Organization] = bodyParser[com.github.sullis.email.markup.v0.models.Organization](parser) def bodyParserPaymentMethod(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.PaymentMethod] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.PaymentMethod] = bodyParser[com.github.sullis.email.markup.v0.models.PaymentMethod](parser) def bodyParserPlace(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.Place] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.Place] = bodyParser[com.github.sullis.email.markup.v0.models.Place](parser) def bodyParserPotentialAction(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.PotentialAction] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.PotentialAction] = bodyParser[com.github.sullis.email.markup.v0.models.PotentialAction](parser) def bodyParserPriceSpecification(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.PriceSpecification] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.PriceSpecification] = bodyParser[com.github.sullis.email.markup.v0.models.PriceSpecification](parser) def bodyParserProduct(parser: _root_.play.api.mvc.BodyParser[_root_.play.api.libs.json.JsValue])( implicit ec: _root_.scala.concurrent.ExecutionContext, rds: _root_.play.api.libs.json.Reads[com.github.sullis.email.markup.v0.models.Product] ): _root_.play.api.mvc.BodyParser[com.github.sullis.email.markup.v0.models.Product] = bodyParser[com.github.sullis.email.markup.v0.models.Product](parser) }