1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2021 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.api.demographics
21 
22 import org.make.core.Order
23 import org.make.core.demographics.{DemographicsCard, DemographicsCardId, LabelValue, LabelsValue}
24 import org.make.core.question.QuestionId
25 import org.make.core.reference.Language
26 import org.make.core.technical.{Multilingual, Pagination}
27 
28 import cats.data.NonEmptyList
29 import io.circe.Encoder
30 import io.circe.generic.semiauto.deriveEncoder
31 import io.swagger.annotations.ApiModelProperty
32 
33 import scala.annotation.meta.field
34 import scala.concurrent.Future
35 
36 trait DemographicsCardService {
37   def get(id: DemographicsCardId): Future[Option[DemographicsCard]]
38 
39   def list(
40     offset: Option[Pagination.Offset] = None,
41     end: Option[Pagination.End] = None,
42     sort: Option[String] = None,
43     order: Option[Order] = None,
44     languages: Option[List[Language]] = None,
45     dataType: Option[String] = None,
46     questionId: Option[QuestionId] = None
47   ): Future[Seq[DemographicsCard]]
48 
49   def create(
50     name: String,
51     layout: DemographicsCard.Layout,
52     dataType: String,
53     languages: NonEmptyList[Language],
54     titles: Multilingual[String],
55     parameters: NonEmptyList[LabelsValue],
56     questionId: QuestionId
57   ): Future[DemographicsCard]
58 
59   def update(
60     id: DemographicsCardId,
61     name: String,
62     layout: DemographicsCard.Layout,
63     dataType: String,
64     languages: NonEmptyList[Language],
65     titles: Multilingual[String],
66     parameters: NonEmptyList[LabelsValue],
67     questionId: QuestionId
68   ): Future[Option[DemographicsCard]]
69 
70   def delete(id: DemographicsCardId): Future[Unit]
71 
72   def count(
73     languages: Option[List[Language]] = None,
74     dataType: Option[String] = None,
75     questionId: Option[QuestionId] = None
76   ): Future[Int]
77   def generateToken(id: DemographicsCardId, questionId: QuestionId): String
78 
79   def isTokenValid(token: String, id: DemographicsCardId, questionId: QuestionId): Boolean
80 
81   def getOneRandomCardByQuestion(questionId: QuestionId): Future[Option[DemographicsCardResponse]]
82 
83   def getOrPickRandom(
84     maybeId: Option[DemographicsCardId],
85     maybeToken: Option[String],
86     questionId: QuestionId
87   ): Future[Option[DemographicsCardResponse]]
88 }
89 
90 trait DemographicsCardServiceComponent {
91   def demographicsCardService: DemographicsCardService
92 }
93 
94 final case class DemographicsCardForSequence(
95   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
96   id: DemographicsCardId,
97   name: String,
98   @(ApiModelProperty @field)(
99     dataType = "string",
100     allowableValues = DemographicsCard.Layout.swaggerAllowableValues,
101     required = true
102   )
103   layout: DemographicsCard.Layout,
104   title: String,
105   @(ApiModelProperty @field)(dataType = "object", required = true)
106   parameters: NonEmptyList[LabelValue],
107   token: String,
108   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
109   questionId: QuestionId
110 )
111 
112 object DemographicsCardForSequence {
113   implicit val encoder: Encoder[DemographicsCardForSequence] = deriveEncoder
114 
115   def apply(card: DemographicsCardResponse, language: Language): DemographicsCardForSequence =
116     DemographicsCardForSequence(
117       id = card.id,
118       name = card.name,
119       layout = card.layout,
120       title = card.titles.getTranslationUnsafe(language),
121       parameters = card.parameters.map(lv => LabelValue(lv.label.getTranslationUnsafe(language), lv.value)),
122       token = card.token,
123       questionId = card.questionId
124     )
125 }
126 
127 final case class DemographicsCardResponse(
128   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
129   id: DemographicsCardId,
130   name: String,
131   @(ApiModelProperty @field)(
132     dataType = "string",
133     allowableValues = DemographicsCard.Layout.swaggerAllowableValues,
134     required = true
135   )
136   layout: DemographicsCard.Layout,
137   titles: Multilingual[String],
138   @(ApiModelProperty @field)(dataType = "object", required = true)
139   parameters: NonEmptyList[LabelsValue],
140   token: String,
141   @(ApiModelProperty @field)(dataType = "string", example = "11111111-2222-3333-4444-555555555555", required = true)
142   questionId: QuestionId
143 )
144 
145 object DemographicsCardResponse {
146   implicit val encoder: Encoder[DemographicsCardResponse] = deriveEncoder[DemographicsCardResponse]
147 
148   def apply(card: DemographicsCard, token: String): DemographicsCardResponse =
149     DemographicsCardResponse(
150       id = card.id,
151       name = card.name,
152       layout = card.layout,
153       titles = card.titles,
154       parameters = card.parameters,
155       token = token,
156       questionId = card.questionId
157     )
158 }
Line Stmt Id Pos Tree Symbol Tests Code
113 29552 3775 - 3788 ApplyToImplicitArgs io.circe.generic.semiauto.deriveEncoder org.make.api.sequence.sequenceapitest io.circe.generic.semiauto.deriveEncoder[org.make.api.demographics.DemographicsCardForSequence]({ val inst$macro$32: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.demographics.DemographicsCardForSequence] = { final class anon$lazy$macro$31 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$31 = { anon$lazy$macro$31.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.demographics.DemographicsCardForSequence] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.demographics.DemographicsCardForSequence, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.demographics.DemographicsCardForSequence, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("layout")) :: (Symbol @@ String("title")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.demographics.DemographicsCardForSequence, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("layout")) :: (Symbol @@ String("title")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("name")) :: (Symbol @@ String("layout")) :: (Symbol @@ String("title")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("name"), (Symbol @@ String("layout")) :: (Symbol @@ String("title")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("layout"), (Symbol @@ String("title")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("layout").asInstanceOf[Symbol @@ String("layout")], ::.apply[Symbol @@ String("title"), (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("title").asInstanceOf[Symbol @@ String("title")], ::.apply[Symbol @@ String("parameters"), (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("parameters").asInstanceOf[Symbol @@ String("parameters")], ::.apply[Symbol @@ String("token"), (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("token").asInstanceOf[Symbol @@ String("token")], ::.apply[Symbol @@ String("questionId"), shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], HNil)))))))), Generic.instance[org.make.api.demographics.DemographicsCardForSequence, org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil](((x0$3: org.make.api.demographics.DemographicsCardForSequence) => x0$3 match { case (id: org.make.core.demographics.DemographicsCardId, name: String, layout: org.make.core.demographics.DemographicsCard.Layout, title: String, parameters: cats.data.NonEmptyList[org.make.core.demographics.LabelValue], token: String, questionId: org.make.core.question.QuestionId): org.make.api.demographics.DemographicsCardForSequence((id$macro$23 @ _), (name$macro$24 @ _), (layout$macro$25 @ _), (title$macro$26 @ _), (parameters$macro$27 @ _), (token$macro$28 @ _), (questionId$macro$29 @ _)) => ::.apply[org.make.core.demographics.DemographicsCardId, String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil.type](id$macro$23, ::.apply[String, org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil.type](name$macro$24, ::.apply[org.make.core.demographics.DemographicsCard.Layout, String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil.type](layout$macro$25, ::.apply[String, cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil.type](title$macro$26, ::.apply[cats.data.NonEmptyList[org.make.core.demographics.LabelValue], String :: org.make.core.question.QuestionId :: shapeless.HNil.type](parameters$macro$27, ::.apply[String, org.make.core.question.QuestionId :: shapeless.HNil.type](token$macro$28, ::.apply[org.make.core.question.QuestionId, shapeless.HNil.type](questionId$macro$29, HNil))))))).asInstanceOf[org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil] }), ((x0$4: org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil) => x0$4 match { case (head: org.make.core.demographics.DemographicsCardId, tail: String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil): org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((id$macro$16 @ _), (head: String, tail: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil): String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((name$macro$17 @ _), (head: org.make.core.demographics.DemographicsCard.Layout, tail: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil): org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((layout$macro$18 @ _), (head: String, tail: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil): String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((title$macro$19 @ _), (head: cats.data.NonEmptyList[org.make.core.demographics.LabelValue], tail: String :: org.make.core.question.QuestionId :: shapeless.HNil): cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((parameters$macro$20 @ _), (head: String, tail: org.make.core.question.QuestionId :: shapeless.HNil): String :: org.make.core.question.QuestionId :: shapeless.HNil((token$macro$21 @ _), (head: org.make.core.question.QuestionId, tail: shapeless.HNil): org.make.core.question.QuestionId :: shapeless.HNil((questionId$macro$22 @ _), HNil))))))) => demographics.this.DemographicsCardForSequence.apply(id$macro$16, name$macro$17, layout$macro$18, title$macro$19, parameters$macro$20, token$macro$21, questionId$macro$22) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.demographics.DemographicsCardId, (Symbol @@ String("name")) :: (Symbol @@ String("layout")) :: (Symbol @@ String("title")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, String :: org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("layout")) :: (Symbol @@ String("title")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, org.make.core.demographics.DemographicsCard.Layout :: String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("layout"), org.make.core.demographics.DemographicsCard.Layout, (Symbol @@ String("title")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, String :: cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("title"), String, (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, cats.data.NonEmptyList[org.make.core.demographics.LabelValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("parameters"), cats.data.NonEmptyList[org.make.core.demographics.LabelValue], (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("token"), String, (Symbol @@ String("questionId")) :: shapeless.HNil, org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("token")]](scala.Symbol.apply("token").asInstanceOf[Symbol @@ String("token")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("token")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("parameters")]](scala.Symbol.apply("parameters").asInstanceOf[Symbol @@ String("parameters")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("parameters")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("title")]](scala.Symbol.apply("title").asInstanceOf[Symbol @@ String("title")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("title")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("layout")]](scala.Symbol.apply("layout").asInstanceOf[Symbol @@ String("layout")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("layout")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$31.this.inst$macro$30)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.demographics.DemographicsCardForSequence]]; <stable> <accessor> lazy val inst$macro$30: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericEncoderForid: io.circe.Codec[org.make.core.demographics.DemographicsCardId] = demographics.this.DemographicsCardId.codec; private[this] val circeGenericEncoderForlayout: io.circe.Encoder[org.make.core.demographics.DemographicsCard.Layout] = DemographicsCard.this.Layout.circeEncoder; private[this] val circeGenericEncoderForparameters: io.circe.Encoder.AsArray[cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] = circe.this.Encoder.encodeNonEmptyList[org.make.core.demographics.LabelValue](demographics.this.LabelValue.codec); private[this] val circeGenericEncoderFortoken: io.circe.Encoder[String] = circe.this.Encoder.encodeString; private[this] val circeGenericEncoderForquestionId: io.circe.Encoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdEncoder; final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId], tail: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("name"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForname @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout], tail: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlayout @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("title"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFortitle @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]], tail: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForparameters @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("token"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFortoken @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionId @ _), shapeless.HNil))))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("name", $anon.this.circeGenericEncoderFortoken.apply(circeGenericHListBindingForname)), scala.Tuple2.apply[String, io.circe.Json]("layout", $anon.this.circeGenericEncoderForlayout.apply(circeGenericHListBindingForlayout)), scala.Tuple2.apply[String, io.circe.Json]("title", $anon.this.circeGenericEncoderFortoken.apply(circeGenericHListBindingFortitle)), scala.Tuple2.apply[String, io.circe.Json]("parameters", $anon.this.circeGenericEncoderForparameters.apply(circeGenericHListBindingForparameters)), scala.Tuple2.apply[String, io.circe.Json]("token", $anon.this.circeGenericEncoderFortoken.apply(circeGenericHListBindingFortoken)), scala.Tuple2.apply[String, io.circe.Json]("questionId", $anon.this.circeGenericEncoderForquestionId.apply(circeGenericHListBindingForquestionId)))) } }; new $anon() }: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("title"),String] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$31().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.demographics.DemographicsCardForSequence]](inst$macro$32) })
116 30081 3889 - 4223 Apply org.make.api.demographics.DemographicsCardForSequence.apply DemographicsCardForSequence.apply(card.id, card.name, card.layout, card.titles.getTranslationUnsafe(language), card.parameters.map[org.make.core.demographics.LabelValue](((lv: org.make.core.demographics.LabelsValue) => org.make.core.demographics.LabelValue.apply(lv.label.getTranslationUnsafe(language), lv.value))), card.token, card.questionId)
117 28746 3929 - 3936 Select org.make.api.demographics.DemographicsCardResponse.id card.id
118 30077 3951 - 3960 Select org.make.api.demographics.DemographicsCardResponse.name card.name
119 29293 3977 - 3988 Select org.make.api.demographics.DemographicsCardResponse.layout card.layout
120 28810 4004 - 4046 Apply org.make.core.technical.Multilingual.getTranslationUnsafe card.titles.getTranslationUnsafe(language)
121 30222 4104 - 4143 Apply org.make.core.technical.Multilingual.getTranslationUnsafe lv.label.getTranslationUnsafe(language)
121 29378 4145 - 4153 Select org.make.core.demographics.LabelsValue.value lv.value
121 30044 4067 - 4155 Apply cats.data.NonEmptyList.map card.parameters.map[org.make.core.demographics.LabelValue](((lv: org.make.core.demographics.LabelsValue) => org.make.core.demographics.LabelValue.apply(lv.label.getTranslationUnsafe(language), lv.value)))
121 28572 4093 - 4154 Apply org.make.core.demographics.LabelValue.apply org.make.core.demographics.LabelValue.apply(lv.label.getTranslationUnsafe(language), lv.value)
122 29501 4171 - 4181 Select org.make.api.demographics.DemographicsCardResponse.token card.token
123 28676 4202 - 4217 Select org.make.api.demographics.DemographicsCardResponse.questionId card.questionId
146 29295 5009 - 5048 ApplyToImplicitArgs io.circe.generic.semiauto.deriveEncoder io.circe.generic.semiauto.deriveEncoder[org.make.api.demographics.DemographicsCardResponse]({ val inst$macro$32: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.demographics.DemographicsCardResponse] = { final class anon$lazy$macro$31 extends AnyRef with Serializable { def <init>(): anon$lazy$macro$31 = { anon$lazy$macro$31.super.<init>(); () }; <stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.demographics.DemographicsCardResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.demographics.DemographicsCardResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.demographics.DemographicsCardResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("layout")) :: (Symbol @@ String("titles")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.demographics.DemographicsCardResponse, (Symbol @@ String("id")) :: (Symbol @@ String("name")) :: (Symbol @@ String("layout")) :: (Symbol @@ String("titles")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("name")) :: (Symbol @@ String("layout")) :: (Symbol @@ String("titles")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("name"), (Symbol @@ String("layout")) :: (Symbol @@ String("titles")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")], ::.apply[Symbol @@ String("layout"), (Symbol @@ String("titles")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("layout").asInstanceOf[Symbol @@ String("layout")], ::.apply[Symbol @@ String("titles"), (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("titles").asInstanceOf[Symbol @@ String("titles")], ::.apply[Symbol @@ String("parameters"), (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("parameters").asInstanceOf[Symbol @@ String("parameters")], ::.apply[Symbol @@ String("token"), (Symbol @@ String("questionId")) :: shapeless.HNil.type](scala.Symbol.apply("token").asInstanceOf[Symbol @@ String("token")], ::.apply[Symbol @@ String("questionId"), shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], HNil)))))))), Generic.instance[org.make.api.demographics.DemographicsCardResponse, org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil](((x0$3: org.make.api.demographics.DemographicsCardResponse) => x0$3 match { case (id: org.make.core.demographics.DemographicsCardId, name: String, layout: org.make.core.demographics.DemographicsCard.Layout, titles: org.make.core.technical.Multilingual[String], parameters: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue], token: String, questionId: org.make.core.question.QuestionId): org.make.api.demographics.DemographicsCardResponse((id$macro$23 @ _), (name$macro$24 @ _), (layout$macro$25 @ _), (titles$macro$26 @ _), (parameters$macro$27 @ _), (token$macro$28 @ _), (questionId$macro$29 @ _)) => ::.apply[org.make.core.demographics.DemographicsCardId, String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil.type](id$macro$23, ::.apply[String, org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil.type](name$macro$24, ::.apply[org.make.core.demographics.DemographicsCard.Layout, org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil.type](layout$macro$25, ::.apply[org.make.core.technical.Multilingual[String], cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil.type](titles$macro$26, ::.apply[cats.data.NonEmptyList[org.make.core.demographics.LabelsValue], String :: org.make.core.question.QuestionId :: shapeless.HNil.type](parameters$macro$27, ::.apply[String, org.make.core.question.QuestionId :: shapeless.HNil.type](token$macro$28, ::.apply[org.make.core.question.QuestionId, shapeless.HNil.type](questionId$macro$29, HNil))))))).asInstanceOf[org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil] }), ((x0$4: org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil) => x0$4 match { case (head: org.make.core.demographics.DemographicsCardId, tail: String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil): org.make.core.demographics.DemographicsCardId :: String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((id$macro$16 @ _), (head: String, tail: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil): String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((name$macro$17 @ _), (head: org.make.core.demographics.DemographicsCard.Layout, tail: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil): org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((layout$macro$18 @ _), (head: org.make.core.technical.Multilingual[String], tail: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil): org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((titles$macro$19 @ _), (head: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue], tail: String :: org.make.core.question.QuestionId :: shapeless.HNil): cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil((parameters$macro$20 @ _), (head: String, tail: org.make.core.question.QuestionId :: shapeless.HNil): String :: org.make.core.question.QuestionId :: shapeless.HNil((token$macro$21 @ _), (head: org.make.core.question.QuestionId, tail: shapeless.HNil): org.make.core.question.QuestionId :: shapeless.HNil((questionId$macro$22 @ _), HNil))))))) => demographics.this.DemographicsCardResponse.apply(id$macro$16, name$macro$17, layout$macro$18, titles$macro$19, parameters$macro$20, token$macro$21, questionId$macro$22) })), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.demographics.DemographicsCardId, (Symbol @@ String("name")) :: (Symbol @@ String("layout")) :: (Symbol @@ String("titles")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, String :: org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("name"), String, (Symbol @@ String("layout")) :: (Symbol @@ String("titles")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, org.make.core.demographics.DemographicsCard.Layout :: org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("layout"), org.make.core.demographics.DemographicsCard.Layout, (Symbol @@ String("titles")) :: (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, org.make.core.technical.Multilingual[String] :: cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("titles"), org.make.core.technical.Multilingual[String], (Symbol @@ String("parameters")) :: (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, cats.data.NonEmptyList[org.make.core.demographics.LabelsValue] :: String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("parameters"), cats.data.NonEmptyList[org.make.core.demographics.LabelsValue], (Symbol @@ String("token")) :: (Symbol @@ String("questionId")) :: shapeless.HNil, String :: org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("token"), String, (Symbol @@ String("questionId")) :: shapeless.HNil, org.make.core.question.QuestionId :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("token")]](scala.Symbol.apply("token").asInstanceOf[Symbol @@ String("token")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("token")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("parameters")]](scala.Symbol.apply("parameters").asInstanceOf[Symbol @@ String("parameters")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("parameters")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("titles")]](scala.Symbol.apply("titles").asInstanceOf[Symbol @@ String("titles")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("titles")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("layout")]](scala.Symbol.apply("layout").asInstanceOf[Symbol @@ String("layout")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("layout")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("name")]](scala.Symbol.apply("name").asInstanceOf[Symbol @@ String("name")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("name")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("id")]](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("id")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$31.this.inst$macro$30)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.demographics.DemographicsCardResponse]]; <stable> <accessor> lazy val inst$macro$30: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({ final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] { def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = { $anon.super.<init>(); () }; private[this] val circeGenericEncoderForid: io.circe.Codec[org.make.core.demographics.DemographicsCardId] = demographics.this.DemographicsCardId.codec; private[this] val circeGenericEncoderForlayout: io.circe.Encoder[org.make.core.demographics.DemographicsCard.Layout] = DemographicsCard.this.Layout.circeEncoder; private[this] val circeGenericEncoderFortitles: io.circe.Encoder[org.make.core.technical.Multilingual[String]] = technical.this.Multilingual.circeEncoder[String](circe.this.Encoder.encodeString); private[this] val circeGenericEncoderForparameters: io.circe.Encoder.AsArray[cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] = circe.this.Encoder.encodeNonEmptyList[org.make.core.demographics.LabelsValue](demographics.this.LabelsValue.codec); private[this] val circeGenericEncoderFortoken: io.circe.Encoder[String] = circe.this.Encoder.encodeString; private[this] val circeGenericEncoderForquestionId: io.circe.Encoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdEncoder; final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match { case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId], tail: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("name"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForname @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout], tail: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlayout @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFortitles @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]], tail: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForparameters @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("token"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFortoken @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionId @ _), shapeless.HNil))))))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("id", $anon.this.circeGenericEncoderForid.apply(circeGenericHListBindingForid)), scala.Tuple2.apply[String, io.circe.Json]("name", $anon.this.circeGenericEncoderFortoken.apply(circeGenericHListBindingForname)), scala.Tuple2.apply[String, io.circe.Json]("layout", $anon.this.circeGenericEncoderForlayout.apply(circeGenericHListBindingForlayout)), scala.Tuple2.apply[String, io.circe.Json]("titles", $anon.this.circeGenericEncoderFortitles.apply(circeGenericHListBindingFortitles)), scala.Tuple2.apply[String, io.circe.Json]("parameters", $anon.this.circeGenericEncoderForparameters.apply(circeGenericHListBindingForparameters)), scala.Tuple2.apply[String, io.circe.Json]("token", $anon.this.circeGenericEncoderFortoken.apply(circeGenericHListBindingFortoken)), scala.Tuple2.apply[String, io.circe.Json]("questionId", $anon.this.circeGenericEncoderForquestionId.apply(circeGenericHListBindingForquestionId)))) } }; new $anon() }: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.demographics.DemographicsCardId] :: shapeless.labelled.FieldType[Symbol @@ String("name"),String] :: shapeless.labelled.FieldType[Symbol @@ String("layout"),org.make.core.demographics.DemographicsCard.Layout] :: shapeless.labelled.FieldType[Symbol @@ String("titles"),org.make.core.technical.Multilingual[String]] :: shapeless.labelled.FieldType[Symbol @@ String("parameters"),cats.data.NonEmptyList[org.make.core.demographics.LabelsValue]] :: shapeless.labelled.FieldType[Symbol @@ String("token"),String] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]] }; new anon$lazy$macro$31().inst$macro$1 }; shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.demographics.DemographicsCardResponse]](inst$macro$32) })
149 28742 5133 - 5356 Apply org.make.api.demographics.DemographicsCardResponse.apply DemographicsCardResponse.apply(card.id, card.name, card.layout, card.titles, card.parameters, token, card.questionId)
150 28912 5170 - 5177 Select org.make.core.demographics.DemographicsCard.id card.id
151 30187 5192 - 5201 Select org.make.core.demographics.DemographicsCard.name card.name
152 29366 5218 - 5229 Select org.make.core.demographics.DemographicsCard.layout card.layout
153 28576 5246 - 5257 Select org.make.core.demographics.DemographicsCard.titles card.titles
154 30052 5278 - 5293 Select org.make.core.demographics.DemographicsCard.parameters card.parameters
156 29599 5335 - 5350 Select org.make.core.demographics.DemographicsCard.questionId card.questionId