| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
316
|
38602
|
10235
-
10361
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)).~(AdminUserApi.this.updateUser)).~(AdminUserApi.this.anonymizeUser)).~(AdminUserApi.this.anonymizeUserByEmail)).~(AdminUserApi.this.adminUploadAvatar)).~(AdminUserApi.this.updateUserEmail)).~(AdminUserApi.this.updateUserRoles)
|
|
316
|
46955
|
10235
-
10266
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)).~(AdminUserApi.this.updateUser)
|
|
316
|
31574
|
10235
-
10282
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)).~(AdminUserApi.this.updateUser)).~(AdminUserApi.this.anonymizeUser)
|
|
316
|
39167
|
10269
-
10282
|
Select
|
org.make.api.user.AdminUserApi.anonymizeUser
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.anonymizeUser
|
|
316
|
45979
|
10235
-
10325
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)).~(AdminUserApi.this.updateUser)).~(AdminUserApi.this.anonymizeUser)).~(AdminUserApi.this.anonymizeUserByEmail)).~(AdminUserApi.this.adminUploadAvatar)
|
|
316
|
32058
|
10308
-
10325
|
Select
|
org.make.api.user.AdminUserApi.adminUploadAvatar
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.adminUploadAvatar
|
|
316
|
45940
|
10246
-
10253
|
Select
|
org.make.api.user.AdminUserApi.getUser
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.getUser
|
|
316
|
33714
|
10235
-
10343
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)).~(AdminUserApi.this.updateUser)).~(AdminUserApi.this.anonymizeUser)).~(AdminUserApi.this.anonymizeUserByEmail)).~(AdminUserApi.this.adminUploadAvatar)).~(AdminUserApi.this.updateUserEmail)
|
|
316
|
40192
|
10235
-
10305
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)).~(AdminUserApi.this.updateUser)).~(AdminUserApi.this.anonymizeUser)).~(AdminUserApi.this.anonymizeUserByEmail)
|
|
316
|
38122
|
10328
-
10343
|
Select
|
org.make.api.user.AdminUserApi.updateUserEmail
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.updateUserEmail
|
|
316
|
37060
|
10235
-
10253
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)
|
|
316
|
31614
|
10364
-
10378
|
Select
|
org.make.api.user.AdminUserApi.anonymizeUsers
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.anonymizeUsers
|
|
316
|
44115
|
10235
-
10378
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)).~(AdminUserApi.this.updateUser)).~(AdminUserApi.this.anonymizeUser)).~(AdminUserApi.this.anonymizeUserByEmail)).~(AdminUserApi.this.adminUploadAvatar)).~(AdminUserApi.this.updateUserEmail)).~(AdminUserApi.this.updateUserRoles)).~(AdminUserApi.this.anonymizeUsers)
|
|
316
|
40230
|
10381
-
10400
|
Select
|
org.make.api.user.AdminUserApi.sendEmailToProposer
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.sendEmailToProposer
|
|
316
|
31859
|
10235
-
10243
|
Select
|
org.make.api.user.AdminUserApi.getUsers
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.getUsers
|
|
316
|
44351
|
10285
-
10305
|
Select
|
org.make.api.user.AdminUserApi.anonymizeUserByEmail
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.anonymizeUserByEmail
|
|
316
|
32098
|
10235
-
10400
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)).~(AdminUserApi.this.updateUser)).~(AdminUserApi.this.anonymizeUser)).~(AdminUserApi.this.anonymizeUserByEmail)).~(AdminUserApi.this.adminUploadAvatar)).~(AdminUserApi.this.updateUserEmail)).~(AdminUserApi.this.updateUserRoles)).~(AdminUserApi.this.anonymizeUsers)).~(AdminUserApi.this.sendEmailToProposer)
|
|
316
|
46713
|
10346
-
10361
|
Select
|
org.make.api.user.AdminUserApi.updateUserRoles
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.updateUserRoles
|
|
316
|
33671
|
10256
-
10266
|
Select
|
org.make.api.user.AdminUserApi.updateUser
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.updateUser
|
|
345
|
45121
|
11153
-
11160
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.Segment
|
|
345
|
50656
|
11153
-
11178
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.user.adminuserapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminUserApi.this.Segment).map[org.make.core.user.UserId](((value: String) => org.make.core.user.UserId.apply(value)))
|
|
345
|
37616
|
11165
-
11177
|
Apply
|
org.make.core.user.UserId.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.user.UserId.apply(value)
|
|
347
|
31643
|
11215
-
13360
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminGetUsers", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType])](DefaultAdminUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminUserApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminUserApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminUserApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminUserApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminUserApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminUserApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("role").as[String].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserType](DefaultAdminUserApi.this._string2NR("userType").as[org.make.core.user.UserType].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserType](DefaultAdminUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))))(util.this.ApplyConverter.hac8[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], ids: Option[Seq[org.make.core.user.UserId]], email: Option[String], maybeRole: Option[String], userType: Option[org.make.core.user.UserType]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply({
val role: Option[org.make.core.user.Role] = maybeRole.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)));
server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))))
}))
})))))))))
|
|
347
|
46216
|
11215
-
11218
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.get
|
|
348
|
38641
|
11232
-
11239
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
348
|
31846
|
11227
-
11250
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit]))
|
|
348
|
44151
|
11240
-
11240
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
348
|
30744
|
11242
-
11249
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
348
|
39988
|
11232
-
11249
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])
|
|
348
|
34769
|
11227
-
13354
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminGetUsers", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType])](DefaultAdminUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminUserApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminUserApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminUserApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminUserApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminUserApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminUserApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("role").as[String].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserType](DefaultAdminUserApi.this._string2NR("userType").as[org.make.core.user.UserType].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserType](DefaultAdminUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))))(util.this.ApplyConverter.hac8[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], ids: Option[Seq[org.make.core.user.UserId]], email: Option[String], maybeRole: Option[String], userType: Option[org.make.core.user.UserType]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply({
val role: Option[org.make.core.user.Role] = maybeRole.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)));
server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))))
}))
}))))))))
|
|
349
|
38393
|
11274
-
11274
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
349
|
45158
|
11275
-
11290
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"AdminGetUsers"
|
|
349
|
38073
|
11261
-
11261
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
349
|
42633
|
11261
-
13346
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminGetUsers", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType])](DefaultAdminUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminUserApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminUserApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminUserApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminUserApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminUserApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminUserApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("role").as[String].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserType](DefaultAdminUserApi.this._string2NR("userType").as[org.make.core.user.UserType].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserType](DefaultAdminUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))))(util.this.ApplyConverter.hac8[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], ids: Option[Seq[org.make.core.user.UserId]], email: Option[String], maybeRole: Option[String], userType: Option[org.make.core.user.UserType]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply({
val role: Option[org.make.core.user.Role] = maybeRole.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)));
server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))))
}))
})))))))
|
|
349
|
50692
|
11261
-
11261
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
349
|
46256
|
11261
-
11291
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("AdminGetUsers", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
350
|
32944
|
11309
-
11600
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminUserApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminUserApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminUserApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminUserApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminUserApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminUserApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("role").as[String].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserType](DefaultAdminUserApi.this._string2NR("userType").as[org.make.core.user.UserType].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserType](DefaultAdminUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType])))))
|
|
350
|
44946
|
11319
-
11319
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac8
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac8[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType]]
|
|
351
|
40800
|
11364
-
11364
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.startFromIntUnmarshaller
|
|
351
|
31887
|
11364
-
11364
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminUserApiComponent.this.startFromIntUnmarshaller)
|
|
351
|
44599
|
11333
-
11365
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
351
|
31566
|
11333
-
11341
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"_start"
|
|
351
|
44913
|
11333
-
11365
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminuserapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminUserApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminUserApiComponent.this.startFromIntUnmarshaller))
|
|
352
|
38431
|
11405
-
11405
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminUserApiComponent.this.endFromIntUnmarshaller)
|
|
352
|
38111
|
11379
-
11385
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"_end"
|
|
352
|
47315
|
11405
-
11405
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.endFromIntUnmarshaller
|
|
352
|
31318
|
11379
-
11406
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminuserapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminUserApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminUserApiComponent.this.endFromIntUnmarshaller))
|
|
352
|
50117
|
11379
-
11406
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
353
|
44634
|
11420
-
11427
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"_sort"
|
|
353
|
37863
|
11420
-
11429
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminuserapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
353
|
45728
|
11428
-
11428
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
353
|
36543
|
11420
-
11429
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("_sort").?
|
|
353
|
32954
|
11428
-
11428
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
354
|
31350
|
11462
-
11462
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
354
|
46748
|
11443
-
11463
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
354
|
50644
|
11443
-
11451
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"_order"
|
|
354
|
44671
|
11443
-
11463
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminuserapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminUserApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
354
|
39491
|
11462
-
11462
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
355
|
36302
|
11477
-
11481
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"id"
|
|
355
|
45483
|
11485
-
11485
|
Select
|
org.make.core.ParameterExtractors.userIdFromStringUnmarshaller
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.userIdFromStringUnmarshaller
|
|
355
|
32384
|
11477
-
11493
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
org.make.api.user.adminuserapitest
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId]
|
|
355
|
37900
|
11477
-
11493
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
org.make.api.user.adminuserapitest
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminUserApiComponent.this.userIdFromStringUnmarshaller)
|
|
356
|
50681
|
11507
-
11514
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"email"
|
|
356
|
31104
|
11515
-
11515
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
356
|
44430
|
11507
-
11516
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminuserapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
356
|
42806
|
11507
-
11516
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("email").?
|
|
356
|
38388
|
11515
-
11515
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
357
|
50433
|
11530
-
11549
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminuserapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("role").as[String].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
357
|
36340
|
11530
-
11536
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"role"
|
|
357
|
44908
|
11548
-
11548
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
357
|
32140
|
11530
-
11549
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("role").as[String].?
|
|
357
|
37939
|
11548
-
11548
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
358
|
36087
|
11563
-
11588
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.adminuserapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserType](DefaultAdminUserApi.this._string2NR("userType").as[org.make.core.user.UserType].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserType](DefaultAdminUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))
|
|
358
|
43934
|
11587
-
11587
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserType](DefaultAdminUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType])))
|
|
358
|
30532
|
11587
-
11587
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))
|
|
358
|
42844
|
11563
-
11573
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"userType"
|
|
358
|
39446
|
11563
-
11588
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("userType").as[org.make.core.user.UserType].?
|
|
359
|
50218
|
11309
-
13336
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType])](DefaultAdminUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminUserApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminUserApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminUserApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminUserApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminUserApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminUserApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminUserApi.this._string2NR("role").as[String].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.user.UserType](DefaultAdminUserApi.this._string2NR("userType").as[org.make.core.user.UserType].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.user.UserType](DefaultAdminUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.user.UserType]((UserType: enumeratum.values.StringEnum[org.make.core.user.UserType]))))))(util.this.ApplyConverter.hac8[Option[org.make.core.technical.Pagination.Offset], Option[org.make.core.technical.Pagination.End], Option[String], Option[org.make.core.Order], Option[Seq[org.make.core.user.UserId]], Option[String], Option[String], Option[org.make.core.user.UserType]]).apply(((offset: Option[org.make.core.technical.Pagination.Offset], end: Option[org.make.core.technical.Pagination.End], sort: Option[String], order: Option[org.make.core.Order], ids: Option[Seq[org.make.core.user.UserId]], email: Option[String], maybeRole: Option[String], userType: Option[org.make.core.user.UserType]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply({
val role: Option[org.make.core.user.Role] = maybeRole.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)));
server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))))
}))
})))))
|
|
370
|
37445
|
11971
-
13324
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply({
val role: Option[org.make.core.user.Role] = maybeRole.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)));
server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))))
}))
})))
|
|
370
|
50474
|
11971
-
11971
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
370
|
37097
|
11971
-
11981
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
371
|
39480
|
12030
-
12062
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)
|
|
371
|
46011
|
12030
-
13308
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply({
val role: Option[org.make.core.user.Role] = maybeRole.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)));
server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))))
}))
})
|
|
371
|
42607
|
12052
-
12061
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
372
|
44386
|
12108
-
12133
|
Apply
|
scala.Option.map
|
|
maybeRole.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
372
|
30570
|
12122
-
12132
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
373
|
36580
|
12152
-
13040
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)
|
|
375
|
46015
|
12174
-
12487
|
Apply
|
org.make.api.user.UserService.adminCountUsers
|
|
DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)
|
|
378
|
36125
|
12336
-
12340
|
Select
|
scala.None
|
|
scala.None
|
|
379
|
49901
|
12377
-
12381
|
Select
|
scala.None
|
|
scala.None
|
|
383
|
37893
|
12174
-
12522
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective
|
|
385
|
31649
|
12544
-
12985
|
Apply
|
org.make.api.user.UserService.adminFindUsers
|
|
DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)
|
|
386
|
50924
|
12619
-
12632
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
392
|
43404
|
12834
-
12838
|
Select
|
scala.None
|
|
scala.None
|
|
393
|
39528
|
12875
-
12879
|
Select
|
scala.None
|
|
scala.None
|
|
397
|
44423
|
12544
-
13020
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective
|
|
398
|
46055
|
13041
-
13041
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
398
|
49120
|
12152
-
13290
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[((Int, Seq[org.make.core.user.User]),)](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]).apply(((x0$1: (Int, Seq[org.make.core.user.User])) => x0$1 match {
case (_1: Int, _2: Seq[org.make.core.user.User]): (Int, Seq[org.make.core.user.User])((count @ _), (users @ _)) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))))
}))
|
|
398
|
50959
|
13041
-
13041
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]
|
|
398
|
49942
|
13041
-
13041
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
398
|
37652
|
12152
-
13047
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.tupled
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, Int, Seq[org.make.core.user.User]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[Int], akka.http.scaladsl.server.Directive1[Seq[org.make.core.user.User]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, scala.None, scala.None, role, userType)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
400
|
36115
|
13121
-
13270
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))))
|
|
401
|
36078
|
13221
-
13244
|
Apply
|
org.make.api.user.AdminUserResponse.apply
|
|
AdminUserResponse.apply(user)
|
|
401
|
49362
|
13211
-
13245
|
Apply
|
scala.collection.IterableOps.map
|
|
users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))
|
|
401
|
35010
|
13155
-
13155
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]])
|
|
401
|
42594
|
13155
-
13155
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]
|
|
401
|
37689
|
13155
-
13155
|
Select
|
org.make.api.user.AdminUserResponse.encoder
|
|
user.this.AdminUserResponse.encoder
|
|
401
|
42552
|
13156
-
13170
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
401
|
44221
|
13155
-
13246
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]])))
|
|
401
|
31133
|
13177
-
13208
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
401
|
45811
|
13155
-
13246
|
Apply
|
scala.Tuple3.apply
|
|
scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.AdminUserResponse]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString())), users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user))))
|
|
401
|
44187
|
13172
-
13209
|
Apply
|
scala.collection.IterableFactory.apply
|
|
scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(count.toString()))
|
|
401
|
50724
|
13155
-
13155
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder)
|
|
401
|
30884
|
13155
-
13155
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.AdminUserResponse]](DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.api.user.AdminUserResponse]](circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]))
|
|
401
|
35588
|
13193
-
13207
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
412
|
43982
|
13405
-
13408
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.put
|
|
412
|
35221
|
13405
-
16633
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUpdateUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]).apply(((request: org.make.api.user.AdminUpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
})))))))))))))
|
|
413
|
35576
|
13419
-
13451
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
413
|
42388
|
13424
-
13450
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
413
|
49156
|
13434
-
13441
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
413
|
50256
|
13442
-
13442
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
413
|
35871
|
13424
-
13431
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
413
|
42073
|
13432
-
13432
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
413
|
38185
|
13444
-
13450
|
Select
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.userId
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.userId
|
|
413
|
39031
|
13419
-
16625
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUpdateUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]).apply(((request: org.make.api.user.AdminUpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
}))))))))))))
|
|
413
|
31393
|
13423
-
13423
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
414
|
46874
|
13474
-
16615
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUpdateUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]).apply(((request: org.make.api.user.AdminUpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
}))))))))))
|
|
414
|
38228
|
13487
-
13487
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
414
|
42107
|
13474
-
13506
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("AdminUpdateUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
414
|
35907
|
13474
-
13474
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
414
|
48918
|
13474
-
13474
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
414
|
44713
|
13488
-
13505
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"AdminUpdateUser"
|
|
415
|
50714
|
13539
-
13549
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
415
|
34139
|
13539
-
16603
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]).apply(((request: org.make.api.user.AdminUpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
}))))))))
|
|
415
|
42423
|
13539
-
13539
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
416
|
31430
|
13600
-
13636
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
416
|
35329
|
13622
-
13635
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
416
|
41717
|
13600
-
16588
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]).apply(((request: org.make.api.user.AdminUpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
}))))))
|
|
417
|
45868
|
13655
-
16572
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]).apply(((request: org.make.api.user.AdminUpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
})))))
|
|
417
|
44217
|
13655
-
13668
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
418
|
36374
|
13698
-
13698
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)
|
|
418
|
32482
|
13689
-
16554
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]).apply(((request: org.make.api.user.AdminUpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
}))))
|
|
418
|
37976
|
13689
-
13723
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder))))
|
|
418
|
41866
|
13696
-
13722
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)))
|
|
418
|
50751
|
13695
-
13695
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]
|
|
418
|
49713
|
13698
-
13698
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder))
|
|
419
|
42879
|
13781
-
13808
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminUserApiComponent.this.userService.getUser(userId)
|
|
419
|
40079
|
13781
-
16534
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val lowerCasedEmail: String = request.email.getOrElse[String](user.email).toLowerCase();
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
}))
|
|
419
|
35367
|
13781
-
13830
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound
|
|
419
|
48663
|
13809
-
13809
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
420
|
43970
|
13893
-
13942
|
Apply
|
java.lang.String.toLowerCase
|
|
request.email.getOrElse[String](user.email).toLowerCase()
|
|
421
|
48872
|
13965
-
14020
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective
|
|
421
|
48494
|
13965
-
16512
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))));
val profile: Option[org.make.core.profile.Profile] = user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
});
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
}))
|
|
421
|
36409
|
13965
-
14008
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)
|
|
421
|
41294
|
14009
-
14009
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
422
|
36164
|
14060
-
14548
|
Apply
|
scala.Option.foreach
|
|
maybeUser.foreach[Unit](((userToCheck: org.make.core.user.User) => org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))))
|
|
423
|
44009
|
14121
-
14522
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String)))
|
|
424
|
47826
|
14170
-
14494
|
Apply
|
org.make.core.Validation.validateField
|
|
org.make.core.Validation.validateField("email", "already_registered", userToCheck.userId.value.==(user.userId.value), ("Email ".+(lowerCasedEmail).+(" already exists"): String))
|
|
425
|
37476
|
14234
-
14241
|
Literal
|
<nosymbol>
|
|
"email"
|
|
426
|
50506
|
14273
-
14293
|
Literal
|
<nosymbol>
|
|
"already_registered"
|
|
427
|
34519
|
14337
-
14382
|
Apply
|
java.lang.Object.==
|
|
userToCheck.userId.value.==(user.userId.value)
|
|
427
|
42381
|
14365
-
14382
|
Select
|
org.make.core.user.UserId.value
|
|
user.userId.value
|
|
434
|
40555
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$24
|
|
x$2.copy$default$24
|
|
434
|
36114
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$13
|
|
x$2.copy$default$13
|
|
434
|
51001
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$8
|
|
x$2.copy$default$8
|
|
434
|
48420
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$23
|
|
x$2.copy$default$23
|
|
434
|
48384
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$11
|
|
x$2.copy$default$11
|
|
434
|
36957
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$4
|
|
x$2.copy$default$4
|
|
434
|
35659
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$20
|
|
x$2.copy$default$20
|
|
434
|
48623
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$1
|
|
x$2.copy$default$1
|
|
434
|
48949
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$5
|
|
x$2.copy$default$5
|
|
434
|
41095
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$6
|
|
x$2.copy$default$6
|
|
434
|
51039
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$18
|
|
x$2.copy$default$18
|
|
434
|
44501
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$12
|
|
x$2.copy$default$12
|
|
434
|
42916
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$19
|
|
x$2.copy$default$19
|
|
434
|
34034
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$16
|
|
x$2.copy$default$16
|
|
434
|
44462
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$3
|
|
x$2.copy$default$3
|
|
434
|
43478
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$9
|
|
x$2.copy$default$9
|
|
434
|
50012
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$14
|
|
x$2.copy$default$14
|
|
434
|
34595
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$10
|
|
x$2.copy$default$10
|
|
434
|
34272
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$7
|
|
x$2.copy$default$7
|
|
434
|
36156
|
14677
-
15001
|
Apply
|
org.make.core.profile.Profile.copy
|
|
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
|
|
434
|
41889
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$15
|
|
x$2.copy$default$15
|
|
435
|
41335
|
14725
-
14753
|
Apply
|
scala.Option.map
|
|
request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value))
|
|
435
|
48909
|
14745
-
14752
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$3.value
|
|
436
|
34237
|
14802
-
14824
|
Select
|
org.make.api.user.AdminUpdateUserRequest.politicalParty
|
|
request.politicalParty
|
|
437
|
50550
|
14874
-
14897
|
Select
|
org.make.api.user.AdminUpdateUserRequest.optInNewsletter
|
|
request.optInNewsletter
|
|
438
|
43443
|
14963
-
14970
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$4.value
|
|
438
|
34561
|
14941
-
14971
|
Apply
|
scala.Option.map
|
|
request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value))
|
|
441
|
49755
|
14604
-
15459
|
Apply
|
scala.Option.orElse
|
|
user.profile.map[org.make.core.profile.Profile](((x$2: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$3: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$3.value));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$3: Boolean = request.optInNewsletter;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$4: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$4.value));
<artifact> val x$5: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$1;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$4;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$5;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$6;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$7;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$8;
<artifact> val x$12: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$9;
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$10;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$11;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$12;
<artifact> val x$16: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$13;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$14;
<artifact> val x$18: org.make.core.reference.Country = x$2.copy$default$15;
<artifact> val x$19: org.make.core.reference.Language = x$2.copy$default$16;
<artifact> val x$20: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$18;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$2.copy$default$24;
x$2.copy(x$5, x$4, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$3, x$20, x$21, x$22, x$2, x$1, x$23, x$24)
})).orElse[org.make.core.profile.Profile]({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value));
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$27: Boolean = request.optInNewsletter;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value));
<artifact> val x$29: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$34: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$36: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$37: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$39: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$40: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$41: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$42: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$43: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$44: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$45: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$46: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
})
|
|
442
|
47607
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
442
|
40543
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
442
|
35988
|
15093
-
15431
|
Apply
|
org.make.core.profile.Profile.parseProfile
|
|
org.make.core.profile.Profile.parseProfile(x$29, x$28, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$27, x$44, x$45, x$46, x$26, x$25, x$47, x$48)
|
|
442
|
35943
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
442
|
35614
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
442
|
42702
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
442
|
33825
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
442
|
33245
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
442
|
49188
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
442
|
42139
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
442
|
35652
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
442
|
48664
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
442
|
50291
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
442
|
36199
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
442
|
42461
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
442
|
40589
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
442
|
40080
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
442
|
48182
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
442
|
41085
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
442
|
46603
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
442
|
50006
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
443
|
41646
|
15155
-
15183
|
Apply
|
scala.Option.map
|
|
request.website.map[String](((x$5: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$5.value))
|
|
443
|
49439
|
15175
-
15182
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$5.value
|
|
444
|
34070
|
15232
-
15254
|
Select
|
org.make.api.user.AdminUpdateUserRequest.politicalParty
|
|
request.politicalParty
|
|
445
|
50544
|
15304
-
15327
|
Select
|
org.make.api.user.AdminUpdateUserRequest.optInNewsletter
|
|
request.optInNewsletter
|
|
446
|
34553
|
15371
-
15401
|
Apply
|
scala.Option.map
|
|
request.avatarUrl.map[String](((x$6: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$6.value))
|
|
446
|
42669
|
15393
-
15400
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$6.value
|
|
450
|
47415
|
15494
-
15494
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
450
|
34342
|
15485
-
16368
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User]))
|
|
451
|
49027
|
15540
-
15540
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.user.User]
|
|
451
|
41926
|
15522
-
16342
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])
|
|
451
|
31985
|
15522
-
16342
|
Apply
|
org.make.api.user.UserService.update
|
|
DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext)
|
|
452
|
34634
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
452
|
47966
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
452
|
40367
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
452
|
42170
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
452
|
46883
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
452
|
48205
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
452
|
32193
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
452
|
40330
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
452
|
48952
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
452
|
42456
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
452
|
33601
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
452
|
31953
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
452
|
46846
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
452
|
38496
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
452
|
48987
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
452
|
48694
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
452
|
33848
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
452
|
35439
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
452
|
40125
|
15570
-
16270
|
Apply
|
org.make.core.user.User.copy
|
|
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
|
|
452
|
34873
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
452
|
41970
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
454
|
34059
|
15678
-
15718
|
Apply
|
scala.Option.orElse
|
|
request.firstName.orElse[String](user.firstName)
|
|
454
|
42174
|
15703
-
15717
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
455
|
47056
|
15785
-
15798
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
455
|
43266
|
15761
-
15799
|
Apply
|
scala.Option.orElse
|
|
request.lastName.orElse[String](user.lastName)
|
|
456
|
48700
|
15841
-
15880
|
Apply
|
scala.Option.getOrElse
|
|
request.country.getOrElse[org.make.core.reference.Country](user.country)
|
|
456
|
35403
|
15867
-
15879
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
457
|
40579
|
15931
-
15955
|
Select
|
org.make.api.user.AdminUpdateUserRequest.organisationName
|
|
request.organisationName
|
|
458
|
32694
|
15998
-
16014
|
Select
|
org.make.api.user.AdminUpdateUserRequest.userType
|
|
request.userType
|
|
459
|
33814
|
16101
-
16111
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
459
|
47091
|
16054
-
16112
|
Apply
|
scala.Option.getOrElse
|
|
request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles)
|
|
459
|
42213
|
16072
-
16089
|
Apply
|
scala.collection.IterableOps.map
|
|
x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
459
|
49794
|
16078
-
16088
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
460
|
42416
|
16165
-
16191
|
Select
|
org.make.api.user.AdminUpdateUserRequest.availableQuestions
|
|
request.availableQuestions
|
|
465
|
35181
|
15485
-
16488
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultAdminUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$49: String = lowerCasedEmail;
<artifact> val x$50: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$51: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$52: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName;
<artifact> val x$54: org.make.core.user.UserType = request.userType;
<artifact> val x$55: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$7: Seq[String]) => x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
<artifact> val x$56: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableQuestions;
<artifact> val x$57: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = profile;
<artifact> val x$58: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$59: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$61: Boolean = user.copy$default$7;
<artifact> val x$62: Boolean = user.copy$default$8;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$64: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$65: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$66: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$68: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$69: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$70: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$71: Boolean = user.copy$default$21;
<artifact> val x$72: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$73: Boolean = user.copy$default$24;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$58, x$49, x$50, x$51, x$59, x$60, x$61, x$62, x$54, x$63, x$64, x$65, x$66, x$67, x$55, x$52, x$68, x$57, x$69, x$70, x$71, x$72, x$53, x$73, x$56, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
|
|
466
|
40878
|
16435
-
16435
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
466
|
38569
|
16411
-
16462
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))
|
|
466
|
34104
|
16435
-
16435
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))
|
|
466
|
41963
|
16435
-
16435
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse])
|
|
466
|
38530
|
16420
-
16434
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
466
|
32025
|
16435
-
16435
|
Select
|
org.make.api.user.AdminUserResponse.encoder
|
|
user.this.AdminUserResponse.encoder
|
|
466
|
50082
|
16435
-
16435
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]
|
|
466
|
35433
|
16438
-
16461
|
Apply
|
org.make.api.user.AdminUserResponse.apply
|
|
AdminUserResponse.apply(user)
|
|
466
|
46836
|
16420
-
16461
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.AdminUserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse])))
|
|
466
|
48454
|
16420
-
16461
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))
|
|
479
|
47173
|
16669
-
17055
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("GetUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))))))))))
|
|
479
|
48249
|
16669
-
16672
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.get
|
|
480
|
45005
|
16694
-
16694
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
480
|
41754
|
16706
-
16712
|
Select
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.userId
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.userId
|
|
480
|
40112
|
16686
-
16693
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
480
|
33888
|
16681
-
17049
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("GetUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse])))))))))))))
|
|
480
|
30634
|
16685
-
16685
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
480
|
32518
|
16696
-
16703
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
480
|
33627
|
16704
-
16704
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
480
|
46636
|
16686
-
16712
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
480
|
38522
|
16681
-
16713
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
481
|
32274
|
16734
-
16734
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
481
|
38037
|
16734
-
17041
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("GetUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$8: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse])))))))))))
|
|
481
|
45047
|
16734
-
16758
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("GetUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
481
|
40148
|
16734
-
16734
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
481
|
48290
|
16748
-
16757
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"GetUser"
|
|
481
|
42212
|
16747
-
16747
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
482
|
33383
|
16776
-
16786
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
482
|
46146
|
16776
-
17031
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((auth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse])))))))))
|
|
482
|
46672
|
16776
-
16776
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
483
|
32838
|
16831
-
17019
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse])))))))
|
|
483
|
30666
|
16831
-
16863
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)
|
|
483
|
39587
|
16853
-
16862
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
484
|
32307
|
16908
-
16908
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
484
|
48491
|
16880
-
16907
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminUserApiComponent.this.userService.getUser(userId)
|
|
484
|
40655
|
16880
-
17005
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))))
|
|
484
|
39916
|
16880
-
16929
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound
|
|
485
|
39621
|
16982
-
16982
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))
|
|
485
|
46110
|
16965
-
16988
|
Apply
|
org.make.api.user.AdminUserResponse.apply
|
|
AdminUserResponse.apply(user)
|
|
485
|
42255
|
16982
-
16982
|
Select
|
org.make.api.user.AdminUserResponse.encoder
|
|
user.this.AdminUserResponse.encoder
|
|
485
|
48242
|
16956
-
16989
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]))))
|
|
485
|
34135
|
16982
-
16982
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]
|
|
485
|
31748
|
16965
-
16988
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.AdminUserResponse](AdminUserResponse.apply(user))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.AdminUserResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse])))
|
|
485
|
46438
|
16982
-
16982
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse])
|
|
493
|
39380
|
17097
-
17103
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.delete
|
|
493
|
31852
|
17097
-
17788
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.delete).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("adminDeleteUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$9: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$10: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))))))
|
|
494
|
32265
|
17137
-
17143
|
Select
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.userId
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.userId
|
|
494
|
33927
|
17112
-
17144
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
494
|
40441
|
17112
-
17782
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.path[(org.make.core.user.UserId,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("adminDeleteUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$9: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$10: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))))))
|
|
494
|
44873
|
17135
-
17135
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
494
|
40405
|
17125
-
17125
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
494
|
37791
|
17117
-
17143
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
494
|
31779
|
17117
-
17124
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
494
|
48284
|
17127
-
17134
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
494
|
46393
|
17116
-
17116
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
495
|
38814
|
17187
-
17204
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"adminDeleteUser"
|
|
495
|
40447
|
17173
-
17205
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("adminDeleteUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
495
|
31274
|
17173
-
17173
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
495
|
44842
|
17173
-
17774
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("adminDeleteUser", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$9: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$10: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))))
|
|
495
|
32024
|
17186
-
17186
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
495
|
48032
|
17173
-
17173
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
496
|
45337
|
17236
-
17246
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
496
|
31532
|
17236
-
17764
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$9: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$10: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
496
|
37825
|
17236
-
17236
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
497
|
33673
|
17317
-
17330
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
497
|
39405
|
17295
-
17752
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$9: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$10: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
497
|
46427
|
17295
-
17331
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
498
|
46219
|
17348
-
17738
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$9: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$10: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))
|
|
498
|
38852
|
17348
-
17375
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminUserApiComponent.this.userService.getUser(userId)
|
|
498
|
31734
|
17348
-
17397
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound
|
|
498
|
44357
|
17376
-
17376
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
499
|
32059
|
17490
-
17512
|
Select
|
org.make.api.user.Anonymization.Explicit
|
|
Anonymization.Explicit
|
|
499
|
33717
|
17514
-
17514
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
499
|
46137
|
17424
-
17513
|
Apply
|
org.make.api.user.UserService.anonymize
|
|
DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)
|
|
499
|
39662
|
17452
-
17472
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
499
|
50814
|
17424
-
17722
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$9: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$10: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))
|
|
499
|
38283
|
17424
-
17525
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective
|
|
501
|
38324
|
17571
-
17704
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$10: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
|
|
501
|
31771
|
17617
-
17617
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Int]
|
|
501
|
38606
|
17571
-
17628
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective
|
|
501
|
46181
|
17571
-
17616
|
Apply
|
org.make.api.technical.auth.MakeDataHandler.removeTokenByUserId
|
|
DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)
|
|
502
|
44808
|
17667
-
17681
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
502
|
39697
|
17679
-
17679
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
502
|
32099
|
17667
-
17681
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
|
|
502
|
45900
|
17658
-
17682
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
|
|
512
|
51168
|
17831
-
18448
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.delete).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("adminDeleteUsers", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))))))))))))
|
|
512
|
45936
|
17831
-
17837
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.delete
|
|
513
|
38081
|
17851
-
17858
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
513
|
46953
|
17859
-
17859
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
513
|
37856
|
17846
-
18442
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("adminDeleteUsers", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))))))))))
|
|
513
|
31569
|
17846
-
17869
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit]))
|
|
513
|
50849
|
17861
-
17868
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
513
|
39162
|
17851
-
17868
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])
|
|
514
|
38115
|
17893
-
17893
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
514
|
45726
|
17880
-
18434
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("adminDeleteUsers", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))))))))))
|
|
514
|
45699
|
17880
-
17913
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("adminDeleteUsers", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
514
|
40190
|
17880
-
17880
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
514
|
32593
|
17880
-
17880
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
514
|
44070
|
17894
-
17912
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"adminDeleteUsers"
|
|
515
|
32947
|
17944
-
18424
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))))))))
|
|
515
|
46709
|
17944
-
17944
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
515
|
50888
|
17944
-
17954
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
516
|
31323
|
18003
-
18039
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
516
|
36257
|
18003
-
18412
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))))))
|
|
516
|
38600
|
18025
-
18038
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
517
|
31804
|
18056
-
18140
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)).asDirective
|
|
517
|
44109
|
18091
-
18111
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
517
|
44629
|
18056
-
18398
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance](DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]).apply(((acceptance: org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance) => if (acceptance.isAccepted)
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
else
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))))
|
|
517
|
36548
|
18056
-
18128
|
Apply
|
org.make.api.user.UserService.anonymizeInactiveUsers
|
|
DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)
|
|
517
|
45119
|
18129
-
18129
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]
|
|
518
|
37611
|
18177
-
18198
|
Select
|
org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance.isAccepted
|
|
acceptance.isAccepted
|
|
519
|
30740
|
18248
-
18248
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
519
|
38354
|
18227
-
18279
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers)
|
|
519
|
44146
|
18248
-
18248
|
TypeApply
|
org.make.core.CirceFormatters.stringValueEncoder
|
|
DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId]
|
|
519
|
36307
|
18248
-
18248
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]
|
|
519
|
46750
|
18251
-
18279
|
Select
|
org.make.core.job.Job.JobId.AnonymizeInactiveUsers
|
|
org.make.core.job.Job.JobId.AnonymizeInactiveUsers
|
|
519
|
31842
|
18248
-
18248
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])
|
|
519
|
44872
|
18248
-
18248
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))
|
|
519
|
47270
|
18218
-
18280
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
|
|
519
|
50649
|
18227
-
18247
|
Select
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
519
|
50685
|
18218
-
18280
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
|
|
519
|
38067
|
18227
-
18279
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Accepted).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))
|
|
521
|
44909
|
18350
-
18350
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]
|
|
521
|
42316
|
18329
-
18381
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])))
|
|
521
|
38108
|
18350
-
18350
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId])
|
|
521
|
38389
|
18329
-
18349
|
Select
|
akka.http.scaladsl.model.StatusCodes.Conflict
|
|
akka.http.scaladsl.model.StatusCodes.Conflict
|
|
521
|
32910
|
18350
-
18350
|
TypeApply
|
org.make.core.CirceFormatters.stringValueEncoder
|
|
DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId]
|
|
521
|
44591
|
18329
-
18381
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers)
|
|
521
|
39450
|
18320
-
18382
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
|
|
521
|
36345
|
18350
-
18350
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
521
|
31563
|
18353
-
18381
|
Select
|
org.make.core.job.Job.JobId.AnonymizeInactiveUsers
|
|
org.make.core.job.Job.JobId.AnonymizeInactiveUsers
|
|
521
|
31312
|
18320
-
18382
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Conflict).->[org.make.core.job.Job.JobId](org.make.core.job.Job.JobId.AnonymizeInactiveUsers))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))))
|
|
521
|
51131
|
18350
-
18350
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, org.make.core.job.Job.JobId](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[org.make.core.job.Job.JobId](DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId], DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]))
|
|
529
|
49078
|
18497
-
19410
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("anonymize"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("anonymizeUserByEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AnonymizeUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]).apply(((request: org.make.api.user.AnonymizeUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))))))))
|
|
529
|
42761
|
18497
-
18501
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
530
|
44389
|
18523
-
18523
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
530
|
39484
|
18515
-
18522
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
530
|
31347
|
18525
-
18532
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
530
|
36616
|
18510
-
19404
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("anonymize"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("anonymizeUserByEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AnonymizeUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]).apply(((request: org.make.api.user.AnonymizeUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))))))))
|
|
530
|
45477
|
18515
-
18546
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("anonymize"))(TupleOps.this.Join.join0P[Unit])
|
|
530
|
36298
|
18535
-
18546
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("anonymize")
|
|
530
|
37895
|
18510
-
18547
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("anonymize"))(TupleOps.this.Join.join0P[Unit]))
|
|
530
|
49570
|
18533
-
18533
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
531
|
44425
|
18571
-
18571
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
531
|
50391
|
18572
-
18594
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"anonymizeUserByEmail"
|
|
531
|
42801
|
18558
-
18558
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
531
|
44182
|
18558
-
19396
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("anonymizeUserByEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AnonymizeUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]).apply(((request: org.make.api.user.AnonymizeUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))))))
|
|
531
|
38936
|
18558
-
18558
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
531
|
30493
|
18558
-
18595
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("anonymizeUserByEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
532
|
36045
|
18626
-
18636
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
532
|
49323
|
18626
-
18626
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
532
|
30840
|
18626
-
19386
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AnonymizeUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]).apply(((request: org.make.api.user.AnonymizeUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
|
|
533
|
44906
|
18707
-
18720
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
533
|
37055
|
18685
-
18721
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
533
|
34970
|
18685
-
19374
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AnonymizeUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]).apply(((request: org.make.api.user.AnonymizeUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))
|
|
534
|
42546
|
18738
-
19360
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AnonymizeUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]).apply(((request: org.make.api.user.AnonymizeUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
534
|
50426
|
18738
-
18751
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
535
|
36081
|
18770
-
18802
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminUserApi.this.entity[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder))))
|
|
535
|
50956
|
18770
-
19344
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.AnonymizeUserRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]).apply(((request: org.make.api.user.AnonymizeUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))
|
|
535
|
49367
|
18776
-
18776
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]
|
|
535
|
44346
|
18777
-
18801
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminUserApi.this.as[org.make.api.user.AnonymizeUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)))
|
|
535
|
30529
|
18779
-
18779
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AnonymizeUserRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder))
|
|
535
|
42838
|
18779
-
18779
|
Select
|
org.make.api.user.AnonymizeUserRequest.decoder
|
|
user.this.AnonymizeUserRequest.decoder
|
|
535
|
39440
|
18779
-
18779
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)
|
|
536
|
37095
|
18834
-
18875
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)
|
|
536
|
45973
|
18861
-
18874
|
Select
|
org.make.api.user.AnonymizeUserRequest.email
|
|
request.email
|
|
536
|
51161
|
18834
-
18897
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound
|
|
536
|
37646
|
18834
-
19326
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))
|
|
536
|
42598
|
18876
-
18876
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
538
|
44383
|
18928
-
19040
|
Apply
|
org.make.api.user.UserService.anonymize
|
|
DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)
|
|
538
|
34479
|
18979
-
18999
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
538
|
31608
|
19017
-
19039
|
Select
|
org.make.api.user.Anonymization.Explicit
|
|
Anonymization.Explicit
|
|
539
|
49895
|
19064
-
19064
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
539
|
36823
|
18928
-
19075
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective
|
|
540
|
45768
|
18928
-
19306
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$11: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))
|
|
541
|
43342
|
19187
-
19187
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Int]
|
|
541
|
49314
|
19136
-
19282
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$12: Int) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
|
|
541
|
46012
|
19174
-
19185
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
541
|
37610
|
19136
-
19186
|
Apply
|
org.make.api.technical.auth.MakeDataHandler.removeTokenByUserId
|
|
DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)
|
|
541
|
50918
|
19136
-
19198
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)).asDirective
|
|
542
|
35545
|
19241
-
19255
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
542
|
31645
|
19253
-
19253
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
542
|
36575
|
19232
-
19256
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
|
|
542
|
44419
|
19241
-
19255
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
|
|
555
|
41503
|
19464
-
19468
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
555
|
48389
|
19464
-
20204
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserType,)](DefaultAdminUserApi.this.path[(org.make.core.user.UserType,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("upload-avatar"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserType,)](DefaultAdminUserApiComponent.this.stringEnumPathMatcher[org.make.core.user.UserType](org.make.core.user.UserType))(TupleOps.this.Join.join0P[(org.make.core.user.UserType,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserType]).apply(((userType: org.make.core.user.UserType) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUserUploadAvatar", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$13: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultAdminUserApiComponent.this.storageService.uploadAdminUserAvatar(extension, contentType, fileContent, userType);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultAdminUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))
}))
}))))))))
|
|
556
|
50753
|
19483
-
19483
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserType]
|
|
556
|
38144
|
19479
-
19531
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[(org.make.core.user.UserType,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("upload-avatar"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserType,)](DefaultAdminUserApiComponent.this.stringEnumPathMatcher[org.make.core.user.UserType](org.make.core.user.UserType))(TupleOps.this.Join.join0P[(org.make.core.user.UserType,)]))
|
|
556
|
35826
|
19522
-
19530
|
ApplyImplicitView
|
org.make.api.technical.MakeDirectives.stringEnumPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.stringEnumPathMatcher[org.make.core.user.UserType](org.make.core.user.UserType)
|
|
556
|
50716
|
19494
-
19501
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
556
|
42590
|
19492
-
19492
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
556
|
34758
|
19479
-
20196
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserType,)](DefaultAdminUserApi.this.path[(org.make.core.user.UserType,)](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("upload-avatar"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserType,)](DefaultAdminUserApiComponent.this.stringEnumPathMatcher[org.make.core.user.UserType](org.make.core.user.UserType))(TupleOps.this.Join.join0P[(org.make.core.user.UserType,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserType]).apply(((userType: org.make.core.user.UserType) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUserUploadAvatar", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$13: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultAdminUserApiComponent.this.storageService.uploadAdminUserAvatar(extension, contentType, fileContent, userType);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultAdminUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))
}))
})))))))
|
|
556
|
41008
|
19484
-
19530
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("upload-avatar"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserType,)](DefaultAdminUserApiComponent.this.stringEnumPathMatcher[org.make.core.user.UserType](org.make.core.user.UserType))(TupleOps.this.Join.join0P[(org.make.core.user.UserType,)])
|
|
556
|
31602
|
19502
-
19502
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
556
|
49115
|
19520
-
19520
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserType,)]
|
|
556
|
37685
|
19484
-
19491
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
556
|
34727
|
19504
-
19519
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("upload-avatar")
|
|
556
|
44219
|
19522
-
19530
|
Select
|
org.make.core.user.UserType
|
org.make.api.user.adminuserapitest
|
org.make.core.user.UserType
|
|
557
|
35866
|
19569
-
19569
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
557
|
34765
|
19556
-
19556
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
557
|
42878
|
19556
-
20186
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUserUploadAvatar", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$13: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultAdminUserApiComponent.this.storageService.uploadAdminUserAvatar(extension, contentType, fileContent, userType);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultAdminUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))
}))
})))))
|
|
557
|
42351
|
19570
-
19593
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"AdminUserUploadAvatar"
|
|
557
|
44668
|
19556
-
19594
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("AdminUserUploadAvatar", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
557
|
47527
|
19556
-
19556
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
558
|
42068
|
19614
-
19614
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
558
|
48877
|
19614
-
19624
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
558
|
50468
|
19614
-
20174
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultAdminUserApiComponent.this.storageService.uploadAdminUserAvatar(extension, contentType, fileContent, userType);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultAdminUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))
}))
})))
|
|
559
|
50675
|
19653
-
19684
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)
|
|
559
|
34276
|
19653
-
20160
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultAdminUserApiComponent.this.storageService.uploadAdminUserAvatar(extension, contentType, fileContent, userType);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultAdminUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))
}))
})
|
|
559
|
38184
|
19670
-
19683
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
561
|
42383
|
19816
-
19899
|
Apply
|
org.make.api.technical.storage.StorageService.uploadAdminUserAvatar
|
|
DefaultAdminUserApiComponent.this.storageService.uploadAdminUserAvatar(extension, contentType, fileContent, userType)
|
|
563
|
44712
|
19971
-
20003
|
Select
|
org.make.api.technical.storage.StorageConfiguration.maxFileSize
|
|
DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize
|
|
563
|
41859
|
19917
-
20144
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultAdminUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))
}))
|
|
563
|
48590
|
19942
-
19952
|
Apply
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.uploadFile
|
|
uploadFile(extension, contentType, fileContent)
|
|
563
|
34797
|
19934
-
19940
|
Literal
|
<nosymbol>
|
|
"data"
|
|
563
|
36334
|
19966
-
20004
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize)
|
|
563
|
48912
|
19917
-
20005
|
Apply
|
org.make.api.technical.MakeDirectives.uploadImageAsync
|
|
DefaultAdminUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize))
|
|
563
|
42102
|
19933
-
19933
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac2
|
|
util.this.ApplyConverter.hac2[String, java.io.File]
|
|
565
|
37934
|
20062
-
20075
|
Apply
|
java.io.File.delete
|
|
file.delete()
|
|
566
|
42837
|
20119
-
20119
|
Select
|
org.make.api.technical.storage.UploadResponse.encoder
|
|
storage.this.UploadResponse.encoder
|
|
566
|
49649
|
20096
-
20126
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))
|
|
566
|
43930
|
20119
-
20119
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))
|
|
566
|
36372
|
20105
-
20125
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse])))
|
|
566
|
50712
|
20105
-
20125
|
Apply
|
org.make.api.technical.storage.UploadResponse.apply
|
|
org.make.api.technical.storage.UploadResponse.apply(path)
|
|
566
|
35322
|
20119
-
20119
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]
|
|
566
|
48627
|
20119
-
20119
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse])
|
|
576
|
43966
|
20262
-
20266
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
576
|
42135
|
20262
-
21420
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-email"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUserUpdateEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$14: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserEmail,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]).apply(((x0$1: org.make.api.user.AdminUpdateUserEmail) => x0$1 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail @ _), (newEmail @ _)) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$2: Option[org.make.core.user.User]) => x0$2 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
}))))))))))
|
|
577
|
49225
|
20277
-
21412
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-email"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUserUpdateEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$14: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserEmail,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]).apply(((x0$1: org.make.api.user.AdminUpdateUserEmail) => x0$1 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail @ _), (newEmail @ _)) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$2: Option[org.make.core.user.User]) => x0$2 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
})))))))))
|
|
577
|
34513
|
20277
-
20322
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-email"))(TupleOps.this.Join.join0P[Unit]))
|
|
577
|
41289
|
20290
-
20290
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
577
|
48867
|
20292
-
20299
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
577
|
33483
|
20302
-
20321
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-email")
|
|
577
|
36408
|
20282
-
20289
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
577
|
42918
|
20282
-
20321
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-email"))(TupleOps.this.Join.join0P[Unit])
|
|
577
|
50502
|
20300
-
20300
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
578
|
43716
|
20335
-
20335
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
578
|
36158
|
20335
-
20335
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
578
|
47821
|
20349
-
20371
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"AdminUserUpdateEmail"
|
|
578
|
32197
|
20335
-
21402
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("AdminUserUpdateEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$14: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserEmail,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]).apply(((x0$1: org.make.api.user.AdminUpdateUserEmail) => x0$1 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail @ _), (newEmail @ _)) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$2: Option[org.make.core.user.User]) => x0$2 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
}))))))))
|
|
578
|
41052
|
20348
-
20348
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
578
|
48905
|
20335
-
20372
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("AdminUserUpdateEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
579
|
39801
|
20392
-
21390
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserEmail,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]).apply(((x0$1: org.make.api.user.AdminUpdateUserEmail) => x0$1 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail @ _), (newEmail @ _)) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$2: Option[org.make.core.user.User]) => x0$2 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
}))))))
|
|
579
|
34231
|
20392
-
20402
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
579
|
50547
|
20392
-
20392
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
580
|
34556
|
20431
-
20467
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
580
|
47603
|
20431
-
21376
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserEmail,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]).apply(((x0$1: org.make.api.user.AdminUpdateUserEmail) => x0$1 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail @ _), (newEmail @ _)) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$2: Option[org.make.core.user.User]) => x0$2 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
}))))
|
|
580
|
43437
|
20453
-
20466
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
581
|
35610
|
20486
-
21360
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserEmail,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]).apply(((x0$1: org.make.api.user.AdminUpdateUserEmail) => x0$1 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail @ _), (newEmail @ _)) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$2: Option[org.make.core.user.User]) => x0$2 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
})))
|
|
581
|
48341
|
20486
-
20499
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
582
|
49969
|
20529
-
20529
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder))
|
|
582
|
42417
|
20520
-
21342
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.AdminUpdateUserEmail,)](DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]).apply(((x0$1: org.make.api.user.AdminUpdateUserEmail) => x0$1 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail @ _), (newEmail @ _)) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$2: Option[org.make.core.user.User]) => x0$2 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
}))
|
|
582
|
40757
|
20529
-
20529
|
Select
|
org.make.api.user.AdminUpdateUserEmail.decoder
|
|
user.this.AdminUpdateUserEmail.decoder
|
|
582
|
34267
|
20520
-
20552
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminUserApi.this.entity[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder))))
|
|
582
|
50996
|
20526
-
20526
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]
|
|
582
|
36201
|
20529
-
20529
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)
|
|
582
|
41091
|
20527
-
20551
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminUserApi.this.as[org.make.api.user.AdminUpdateUserEmail](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.AdminUpdateUserEmail](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)))
|
|
584
|
46563
|
20646
-
21322
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$2: Option[org.make.core.user.User]) => x0$2 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
|
|
584
|
48378
|
20683
-
20683
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
584
|
35617
|
20646
-
20694
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)).asDirective
|
|
584
|
43472
|
20646
-
20682
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)
|
|
587
|
40796
|
20766
-
20843
|
Apply
|
org.make.api.user.UserService.adminUpdateUserEmail
|
|
DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)
|
|
588
|
50008
|
20873
-
20873
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
588
|
36109
|
20766
-
20884
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective
|
|
589
|
47310
|
20934
-
20955
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
589
|
42626
|
20925
-
20956
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
589
|
42144
|
20934
-
20955
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
589
|
34027
|
20946
-
20946
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
589
|
35654
|
20766
-
20957
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$15: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
|
|
591
|
33818
|
21021
-
21298
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
|
|
592
|
40582
|
21082
-
21082
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
592
|
49186
|
21082
-
21082
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
|
|
592
|
48416
|
21059
-
21081
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
592
|
42668
|
21082
-
21082
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
592
|
46529
|
21059
-
21270
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String)))))
|
|
592
|
41083
|
21059
-
21270
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
|
|
592
|
35900
|
21082
-
21082
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
|
|
592
|
34799
|
21082
-
21082
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
592
|
48176
|
21082
-
21082
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
593
|
34063
|
21115
-
21270
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))))
|
|
594
|
49150
|
21193
-
21237
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))
|
|
594
|
40548
|
21168
-
21178
|
Literal
|
<nosymbol>
|
|
"oldEmail"
|
|
594
|
36154
|
21180
-
21191
|
Literal
|
<nosymbol>
|
|
"not_found"
|
|
594
|
41638
|
21152
-
21238
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("oldEmail", "not_found", scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String)))
|
|
608
|
32301
|
21478
-
22705
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-roles"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("UpdateUserRoles", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRolesRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]).apply(((request: org.make.api.user.UpdateUserRolesRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))))))))))
|
|
608
|
33239
|
21478
-
21482
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
609
|
39909
|
21493
-
22697
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-roles"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("UpdateUserRoles", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRolesRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]).apply(((request: org.make.api.user.UpdateUserRolesRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
})))))))))))
|
|
609
|
40537
|
21516
-
21516
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
609
|
42457
|
21508
-
21515
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
609
|
31959
|
21498
-
21537
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-roles"))(TupleOps.this.Join.join0P[Unit])
|
|
609
|
49750
|
21493
-
21538
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-roles"))(TupleOps.this.Join.join0P[Unit]))
|
|
609
|
48658
|
21518
-
21537
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-roles")
|
|
609
|
35649
|
21506
-
21506
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
609
|
46328
|
21498
-
21505
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
610
|
42496
|
21551
-
21583
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("UpdateUserRoles", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
610
|
33775
|
21551
-
21551
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
610
|
48733
|
21551
-
22687
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("UpdateUserRoles", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRolesRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]).apply(((request: org.make.api.user.UpdateUserRolesRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))))))))
|
|
610
|
47049
|
21551
-
21551
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
610
|
42171
|
21565
-
21582
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"UpdateUserRoles"
|
|
610
|
35397
|
21564
-
21564
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
611
|
40285
|
21616
-
21616
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
611
|
30660
|
21616
-
22675
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRolesRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]).apply(((request: org.make.api.user.UpdateUserRolesRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))))))
|
|
611
|
48696
|
21616
-
21626
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
612
|
32687
|
21677
-
21690
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
612
|
39579
|
21655
-
22661
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRolesRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]).apply(((request: org.make.api.user.UpdateUserRolesRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))))
|
|
612
|
49788
|
21655
-
21691
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
613
|
41928
|
21710
-
21723
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
613
|
46397
|
21710
-
22645
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRolesRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]).apply(((request: org.make.api.user.UpdateUserRolesRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
})))))
|
|
614
|
35435
|
21744
-
21778
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminUserApi.this.entity[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder))))
|
|
614
|
33808
|
21753
-
21753
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)
|
|
614
|
46804
|
21753
-
21753
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder))
|
|
614
|
33376
|
21744
-
22627
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRolesRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]).apply(((request: org.make.api.user.UpdateUserRolesRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))
|
|
614
|
48458
|
21750
-
21750
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]
|
|
614
|
38699
|
21751
-
21777
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminUserApi.this.as[org.make.api.user.UpdateUserRolesRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRolesRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)))
|
|
615
|
40322
|
21839
-
21852
|
Select
|
org.make.api.user.UpdateUserRolesRequest.email
|
|
request.email
|
|
615
|
37189
|
21812
-
22607
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))
|
|
615
|
48945
|
21812
-
21865
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)).asDirective
|
|
615
|
41965
|
21854
-
21854
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
615
|
32727
|
21812
-
21853
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)
|
|
617
|
40117
|
21927
-
22348
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
|
|
618
|
33557
|
21963
-
21985
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
618
|
46877
|
21986
-
21986
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
618
|
33595
|
21986
-
21986
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
618
|
38487
|
21986
-
21986
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
|
|
618
|
45255
|
21986
-
21986
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
618
|
41128
|
21986
-
21986
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
618
|
34632
|
21986
-
21986
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
|
|
618
|
48415
|
21963
-
22322
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
|
|
618
|
31943
|
21963
-
22322
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String)))))
|
|
619
|
40361
|
22017
-
22322
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))))
|
|
620
|
47960
|
22052
-
22292
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("email", "not_found", scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String)))
|
|
621
|
46840
|
22109
-
22116
|
Literal
|
<nosymbol>
|
|
"email"
|
|
622
|
38737
|
22156
-
22167
|
Literal
|
<nosymbol>
|
|
"not_found"
|
|
623
|
34589
|
22211
-
22260
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))
|
|
628
|
46118
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
628
|
45050
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
628
|
31981
|
22451
-
22464
|
Select
|
org.make.api.user.UpdateUserRolesRequest.roles
|
|
request.roles
|
|
628
|
44999
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
628
|
34137
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
628
|
35689
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
628
|
48492
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
628
|
33054
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
628
|
41712
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
628
|
32474
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
628
|
38781
|
22483
-
22483
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
628
|
40874
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
628
|
31454
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$16
|
|
user.copy$default$16
|
|
628
|
41750
|
22433
-
22465
|
Apply
|
org.make.core.user.User.copy
|
|
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
|
|
628
|
48452
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
628
|
32231
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
628
|
34100
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
628
|
46831
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
628
|
31492
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$25
|
|
user.copy$default$25
|
|
628
|
38526
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
628
|
48245
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
628
|
34339
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$3
|
|
user.copy$default$3
|
|
628
|
45042
|
22414
-
22585
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$16: org.make.core.user.User) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
|
|
628
|
46633
|
22414
-
22494
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)).asDirective
|
|
628
|
39025
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
628
|
41959
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
628
|
46597
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$23
|
|
user.copy$default$23
|
|
628
|
41923
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$2
|
|
user.copy$default$2
|
|
628
|
45012
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
628
|
39593
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
628
|
47410
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$4
|
|
user.copy$default$4
|
|
628
|
40074
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$18
|
|
user.copy$default$18
|
|
628
|
40110
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
628
|
33339
|
22414
-
22482
|
Apply
|
org.make.api.user.UserService.update
|
|
DefaultAdminUserApiComponent.this.userService.update({
<artifact> val x$1: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles;
<artifact> val x$2: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$3: String = user.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$8: Boolean = user.copy$default$7;
<artifact> val x$9: Boolean = user.copy$default$8;
<artifact> val x$10: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$11: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$13: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$15: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$16: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$17: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$19: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$21: Boolean = user.copy$default$21;
<artifact> val x$22: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$24: Boolean = user.copy$default$24;
<artifact> val x$25: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$26: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$27: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$28: Int = user.copy$default$28;
<artifact> val x$29: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$1, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29)
}, requestContext)
|
|
629
|
30626
|
22537
-
22558
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
629
|
32267
|
22528
-
22559
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
629
|
39878
|
22537
-
22558
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
629
|
48286
|
22549
-
22549
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
641
|
46102
|
22750
-
22754
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
1000
|
|
644
|
36510
|
22810
-
24310
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("send-email-to-proposer"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("SendProposerEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SendProposerEmailRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]).apply(((entity: org.make.api.user.SendProposerEmailRequest) => org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)) match {
case (exception: Throwable): scala.util.Failure[org.make.core.SanitizedHtml](_) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.SanitizedHtml): scala.util.Success[org.make.core.SanitizedHtml]((sanitizedHtml @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))))))))
|
|
644
|
37224
|
22810
-
22814
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
645
|
32833
|
22825
-
22875
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("send-email-to-proposer"))(TupleOps.this.Join.join0P[Unit]))
|
|
645
|
44598
|
22825
-
24302
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.path[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("send-email-to-proposer"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("SendProposerEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SendProposerEmailRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]).apply(((entity: org.make.api.user.SendProposerEmailRequest) => org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)) match {
case (exception: Throwable): scala.util.Failure[org.make.core.SanitizedHtml](_) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.SanitizedHtml): scala.util.Success[org.make.core.SanitizedHtml]((sanitizedHtml @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
})))))))))
|
|
645
|
46431
|
22840
-
22847
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
645
|
44523
|
22848
-
22848
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
645
|
40363
|
22830
-
22874
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("users"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminUserApi.this._segmentStringToPathMatcher("send-email-to-proposer"))(TupleOps.this.Join.join0P[Unit])
|
|
645
|
33843
|
22830
-
22837
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
645
|
39617
|
22838
-
22838
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
645
|
31739
|
22850
-
22874
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("send-email-to-proposer")
|
|
646
|
47170
|
22888
-
22922
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation("SendProposerEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3)
|
|
646
|
39374
|
22901
-
22901
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
646
|
33886
|
22888
-
22888
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
646
|
38291
|
22888
-
22888
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
646
|
31565
|
22888
-
24292
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminUserApiComponent.this.makeOperation("SendProposerEmail", DefaultAdminUserApiComponent.this.makeOperation$default$2, DefaultAdminUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SendProposerEmailRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]).apply(((entity: org.make.api.user.SendProposerEmailRequest) => org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)) match {
case (exception: Throwable): scala.util.Failure[org.make.core.SanitizedHtml](_) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.SanitizedHtml): scala.util.Success[org.make.core.SanitizedHtml]((sanitizedHtml @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))))))
|
|
646
|
46142
|
22902
-
22921
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"SendProposerEmail"
|
|
647
|
38557
|
22955
-
24280
|
Apply
|
scala.Function1.apply
|
org.make.api.user.adminuserapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SendProposerEmailRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]).apply(((entity: org.make.api.user.SendProposerEmailRequest) => org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)) match {
case (exception: Throwable): scala.util.Failure[org.make.core.SanitizedHtml](_) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.SanitizedHtml): scala.util.Success[org.make.core.SanitizedHtml]((sanitizedHtml @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))))
|
|
647
|
31774
|
22955
-
22965
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
647
|
44280
|
22955
-
22955
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
648
|
46668
|
22994
-
24266
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SendProposerEmailRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]).apply(((entity: org.make.api.user.SendProposerEmailRequest) => org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)) match {
case (exception: Throwable): scala.util.Failure[org.make.core.SanitizedHtml](_) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.SanitizedHtml): scala.util.Success[org.make.core.SanitizedHtml]((sanitizedHtml @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))))
|
|
648
|
32262
|
22994
-
23025
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)
|
|
648
|
40402
|
23011
-
23024
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
649
|
50845
|
23044
-
24250
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SendProposerEmailRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]).apply(((entity: org.make.api.user.SendProposerEmailRequest) => org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)) match {
case (exception: Throwable): scala.util.Failure[org.make.core.SanitizedHtml](_) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.SanitizedHtml): scala.util.Success[org.make.core.SanitizedHtml]((sanitizedHtml @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
})))
|
|
649
|
45906
|
23044
-
23057
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
650
|
33925
|
23087
-
23087
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)
|
|
650
|
44317
|
23084
-
23084
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]
|
|
650
|
38072
|
23078
-
24232
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.SendProposerEmailRequest,)](DefaultAdminUserApi.this.entity[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]).apply(((entity: org.make.api.user.SendProposerEmailRequest) => org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)) match {
case (exception: Throwable): scala.util.Failure[org.make.core.SanitizedHtml](_) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.SanitizedHtml): scala.util.Success[org.make.core.SanitizedHtml]((sanitizedHtml @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
}))
|
|
650
|
38810
|
23085
-
23113
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)))
|
|
650
|
37784
|
23087
-
23087
|
Select
|
org.make.api.user.SendProposerEmailRequest.decoder
|
|
user.this.SendProposerEmailRequest.decoder
|
|
650
|
46388
|
23087
-
23087
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder))
|
|
650
|
31542
|
23078
-
23114
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminUserApi.this.entity[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApi.this.as[org.make.api.user.SendProposerEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SendProposerEmailRequest](DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder))))
|
|
651
|
38243
|
23147
-
23210
|
Apply
|
org.make.core.SanitizedHtml.fromString
|
|
org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength))
|
|
651
|
32019
|
23190
-
23208
|
Select
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.MaximumEmailLength
|
|
DefaultAdminUserApi.this.MaximumEmailLength
|
|
651
|
45333
|
23185
-
23209
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)
|
|
651
|
40443
|
23172
-
23183
|
Select
|
org.make.api.user.SendProposerEmailRequest.text
|
|
entity.text
|
|
653
|
40398
|
23284
-
23676
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
|
|
654
|
39658
|
23346
-
23650
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))
|
|
654
|
50289
|
23343
-
23343
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
654
|
38601
|
23343
-
23343
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
|
|
654
|
46176
|
23343
-
23343
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
654
|
50853
|
23320
-
23342
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
654
|
32057
|
23320
-
23650
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String)))))
|
|
654
|
45087
|
23343
-
23343
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
654
|
44803
|
23320
-
23650
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
|
|
654
|
38277
|
23343
-
23343
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
654
|
31491
|
23343
-
23343
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultAdminUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
|
|
655
|
43749
|
23379
-
23622
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("text", "too_long", scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String)))
|
|
656
|
46426
|
23426
-
23432
|
Literal
|
<nosymbol>
|
|
"text"
|
|
657
|
38563
|
23464
-
23474
|
Literal
|
<nosymbol>
|
|
"too_long"
|
|
658
|
31728
|
23506
-
23592
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("The length of the email\'s body must not exceed ".+(DefaultAdminUserApi.this.MaximumEmailLength).+(" characters"): String))
|
|
664
|
51346
|
23754
-
24080
|
Apply
|
org.make.api.technical.crm.SendMailPublisherService.sendEmailToProposer
|
|
DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)
|
|
665
|
31808
|
23855
-
23872
|
Select
|
org.make.api.user.SendProposerEmailRequest.proposalId
|
|
entity.proposalId
|
|
666
|
45897
|
23902
-
23922
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
668
|
38318
|
23995
-
24008
|
Select
|
org.make.api.user.SendProposerEmailRequest.dryRun
|
|
entity.dryRun
|
|
671
|
38358
|
24108
-
24108
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
671
|
46911
|
23754
-
24119
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective
|
|
672
|
36469
|
24167
-
24188
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
672
|
32551
|
24158
-
24189
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
672
|
45931
|
23754
-
24190
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$17: Unit) => DefaultAdminUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
|
|
672
|
31525
|
24167
-
24188
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
672
|
44838
|
24179
-
24179
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
687
|
32300
|
24382
-
24412
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(AnonymizeUserRequest.this.email).toEmail).throwIfInvalid()
|
|
691
|
45080
|
24502
-
24537
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.AnonymizeUserRequest]({
val inst$macro$8: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AnonymizeUserRequest] = {
final class anon$lazy$macro$7 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$7 = {
anon$lazy$macro$7.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AnonymizeUserRequest] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.AnonymizeUserRequest, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.AnonymizeUserRequest, (Symbol @@ String("email")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.AnonymizeUserRequest, (Symbol @@ String("email")) :: shapeless.HNil](::.apply[Symbol @@ String("email"), shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], HNil)), Generic.instance[org.make.api.user.AnonymizeUserRequest, String :: shapeless.HNil](((x0$3: org.make.api.user.AnonymizeUserRequest) => x0$3 match {
case (email: String): org.make.api.user.AnonymizeUserRequest((email$macro$5 @ _)) => ::.apply[String, shapeless.HNil.type](email$macro$5, HNil).asInstanceOf[String :: shapeless.HNil]
}), ((x0$4: String :: shapeless.HNil) => x0$4 match {
case (head: String, tail: shapeless.HNil): String :: shapeless.HNil((email$macro$4 @ _), HNil) => user.this.AnonymizeUserRequest.apply(email$macro$4)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("email")]](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("email")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$7.this.inst$macro$6)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AnonymizeUserRequest]];
<stable> <accessor> lazy val inst$macro$6: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForemail: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("email"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecode(c.downField("email")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("email"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecodeAccumulating(c.downField("email")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$7().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AnonymizeUserRequest]](inst$macro$8)
})
|
|
714
|
38598
|
25698
-
25737
|
Apply
|
org.make.core.Validation.validateUserInput
|
|
org.make.core.Validation.validateUserInput("email", AdminUserResponse.this.email, scala.None)
|
|
714
|
50608
|
25725
-
25730
|
Select
|
org.make.api.user.AdminUserResponse.email
|
|
AdminUserResponse.this.email
|
|
714
|
30699
|
25678
-
25738
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateUserInput("email", AdminUserResponse.this.email, scala.None))
|
|
714
|
38110
|
25716
-
25723
|
Literal
|
<nosymbol>
|
|
"email"
|
|
714
|
43020
|
25732
-
25736
|
Select
|
scala.None
|
|
scala.None
|
|
718
|
44104
|
25846
-
25878
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.user.AdminUserResponse]({
val inst$macro$56: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.AdminUserResponse] = {
final class anon$lazy$macro$55 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$55 = {
anon$lazy$macro$55.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.AdminUserResponse] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.user.AdminUserResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.AdminUserResponse, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.AdminUserResponse, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("organisationName"), (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("organisationName").asInstanceOf[Symbol @@ String("organisationName")], ::.apply[Symbol @@ String("userType"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("userType").asInstanceOf[Symbol @@ String("userType")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("availableQuestions"), (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")], ::.apply[Symbol @@ String("website"), (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("website").asInstanceOf[Symbol @@ String("website")], ::.apply[Symbol @@ String("politicalParty"), (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("politicalParty").asInstanceOf[Symbol @@ String("politicalParty")], ::.apply[Symbol @@ String("optInNewsletter"), (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("optInNewsletter").asInstanceOf[Symbol @@ String("optInNewsletter")], ::.apply[Symbol @@ String("avatarUrl"), shapeless.HNil.type](scala.Symbol.apply("avatarUrl").asInstanceOf[Symbol @@ String("avatarUrl")], HNil)))))))))))))), Generic.instance[org.make.api.user.AdminUserResponse, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil](((x0$3: org.make.api.user.AdminUserResponse) => x0$3 match {
case (id: org.make.core.user.UserId, email: String, firstName: Option[String], lastName: Option[String], organisationName: Option[String], userType: org.make.core.user.UserType, roles: Seq[org.make.core.user.Role], country: org.make.core.reference.Country, availableQuestions: Seq[org.make.core.question.QuestionId], website: Option[String], politicalParty: Option[String], optInNewsletter: Option[Boolean], avatarUrl: Option[String]): org.make.api.user.AdminUserResponse((id$macro$41 @ _), (email$macro$42 @ _), (firstName$macro$43 @ _), (lastName$macro$44 @ _), (organisationName$macro$45 @ _), (userType$macro$46 @ _), (roles$macro$47 @ _), (country$macro$48 @ _), (availableQuestions$macro$49 @ _), (website$macro$50 @ _), (politicalParty$macro$51 @ _), (optInNewsletter$macro$52 @ _), (avatarUrl$macro$53 @ _)) => ::.apply[org.make.core.user.UserId, String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](id$macro$41, ::.apply[String, Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](email$macro$42, ::.apply[Option[String], Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](firstName$macro$43, ::.apply[Option[String], Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](lastName$macro$44, ::.apply[Option[String], org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](organisationName$macro$45, ::.apply[org.make.core.user.UserType, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](userType$macro$46, ::.apply[Seq[org.make.core.user.Role], org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](roles$macro$47, ::.apply[org.make.core.reference.Country, Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](country$macro$48, ::.apply[Seq[org.make.core.question.QuestionId], Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](availableQuestions$macro$49, ::.apply[Option[String], Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](website$macro$50, ::.apply[Option[String], Option[Boolean] :: Option[String] :: shapeless.HNil.type](politicalParty$macro$51, ::.apply[Option[Boolean], Option[String] :: shapeless.HNil.type](optInNewsletter$macro$52, ::.apply[Option[String], shapeless.HNil.type](avatarUrl$macro$53, HNil))))))))))))).asInstanceOf[org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil]
}), ((x0$4: org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.user.UserId, tail: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((id$macro$28 @ _), (head: String, tail: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((email$macro$29 @ _), (head: Option[String], tail: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((firstName$macro$30 @ _), (head: Option[String], tail: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((lastName$macro$31 @ _), (head: Option[String], tail: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((organisationName$macro$32 @ _), (head: org.make.core.user.UserType, tail: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((userType$macro$33 @ _), (head: Seq[org.make.core.user.Role], tail: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((roles$macro$34 @ _), (head: org.make.core.reference.Country, tail: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((country$macro$35 @ _), (head: Seq[org.make.core.question.QuestionId], tail: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((availableQuestions$macro$36 @ _), (head: Option[String], tail: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((website$macro$37 @ _), (head: Option[String], tail: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((politicalParty$macro$38 @ _), (head: Option[Boolean], tail: Option[String] :: shapeless.HNil): Option[Boolean] :: Option[String] :: shapeless.HNil((optInNewsletter$macro$39 @ _), (head: Option[String], tail: shapeless.HNil): Option[String] :: shapeless.HNil((avatarUrl$macro$40 @ _), HNil))))))))))))) => user.this.AdminUserResponse.apply(id$macro$28, email$macro$29, firstName$macro$30, lastName$macro$31, organisationName$macro$32, userType$macro$33, roles$macro$34, country$macro$35, availableQuestions$macro$36, website$macro$37, politicalParty$macro$38, optInNewsletter$macro$39, avatarUrl$macro$40)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.user.UserId, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("organisationName"), Option[String], (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userType"), org.make.core.user.UserType, (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Seq[org.make.core.user.Role], (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("website"), Option[String], (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("politicalParty"), Option[String], (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("optInNewsletter"), Option[Boolean], (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("avatarUrl"), Option[String], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("avatarUrl")]](scala.Symbol.apply("avatarUrl").asInstanceOf[Symbol @@ String("avatarUrl")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("avatarUrl")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("optInNewsletter")]](scala.Symbol.apply("optInNewsletter").asInstanceOf[Symbol @@ String("optInNewsletter")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("optInNewsletter")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("politicalParty")]](scala.Symbol.apply("politicalParty").asInstanceOf[Symbol @@ String("politicalParty")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("politicalParty")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("website")]](scala.Symbol.apply("website").asInstanceOf[Symbol @@ String("website")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("website")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableQuestions")]](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableQuestions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("roles")]](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("roles")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userType")]](scala.Symbol.apply("userType").asInstanceOf[Symbol @@ String("userType")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userType")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("organisationName")]](scala.Symbol.apply("organisationName").asInstanceOf[Symbol @@ String("organisationName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("organisationName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("lastName")]](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("lastName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("firstName")]](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("firstName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("email")]](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("email")]])), 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.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$55.this.inst$macro$54)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.AdminUserResponse]];
<stable> <accessor> lazy val inst$macro$54: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.user.UserId] = AdminUserResponse.this.stringValueEncoder[org.make.core.user.UserId];
private[this] val circeGenericEncoderForemail: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
private[this] val circeGenericEncoderForuserType: io.circe.Encoder[org.make.core.user.UserType] = user.this.UserType.encoder(circe.this.Encoder.encodeString);
private[this] val circeGenericEncoderForroles: io.circe.Encoder.AsArray[Seq[org.make.core.user.Role]] = circe.this.Encoder.encodeSeq[org.make.core.user.Role](user.this.Role.encoder(circe.this.Encoder.encodeString));
private[this] val circeGenericEncoderForcountry: io.circe.Encoder[org.make.core.reference.Country] = AdminUserResponse.this.stringValueEncoder[org.make.core.reference.Country];
private[this] val circeGenericEncoderForavailableQuestions: io.circe.Encoder.AsArray[Seq[org.make.core.question.QuestionId]] = circe.this.Encoder.encodeSeq[org.make.core.question.QuestionId](AdminUserResponse.this.stringValueEncoder[org.make.core.question.QuestionId]);
private[this] val circeGenericEncoderForoptInNewsletter: io.circe.Encoder[Option[Boolean]] = circe.this.Encoder.encodeOption[Boolean](circe.this.Encoder.encodeBoolean);
private[this] val circeGenericEncoderForavatarUrl: io.circe.Encoder[Option[String]] = circe.this.Encoder.encodeOption[String](circe.this.Encoder.encodeString);
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId], tail: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForid @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("email"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForemail @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForfirstName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlastName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFororganisationName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType], tail: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForuserType @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]], tail: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForroles @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country], tail: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountry @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]], tail: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForavailableQuestions @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForwebsite @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]], tail: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForpoliticalParty @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]], tail: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForoptInNewsletter @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForavatarUrl @ _), 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]("email", $anon.this.circeGenericEncoderForemail.apply(circeGenericHListBindingForemail)), scala.Tuple2.apply[String, io.circe.Json]("firstName", $anon.this.circeGenericEncoderForavatarUrl.apply(circeGenericHListBindingForfirstName)), scala.Tuple2.apply[String, io.circe.Json]("lastName", $anon.this.circeGenericEncoderForavatarUrl.apply(circeGenericHListBindingForlastName)), scala.Tuple2.apply[String, io.circe.Json]("organisationName", $anon.this.circeGenericEncoderForavatarUrl.apply(circeGenericHListBindingFororganisationName)), scala.Tuple2.apply[String, io.circe.Json]("userType", $anon.this.circeGenericEncoderForuserType.apply(circeGenericHListBindingForuserType)), scala.Tuple2.apply[String, io.circe.Json]("roles", $anon.this.circeGenericEncoderForroles.apply(circeGenericHListBindingForroles)), scala.Tuple2.apply[String, io.circe.Json]("country", $anon.this.circeGenericEncoderForcountry.apply(circeGenericHListBindingForcountry)), scala.Tuple2.apply[String, io.circe.Json]("availableQuestions", $anon.this.circeGenericEncoderForavailableQuestions.apply(circeGenericHListBindingForavailableQuestions)), scala.Tuple2.apply[String, io.circe.Json]("website", $anon.this.circeGenericEncoderForavatarUrl.apply(circeGenericHListBindingForwebsite)), scala.Tuple2.apply[String, io.circe.Json]("politicalParty", $anon.this.circeGenericEncoderForavatarUrl.apply(circeGenericHListBindingForpoliticalParty)), scala.Tuple2.apply[String, io.circe.Json]("optInNewsletter", $anon.this.circeGenericEncoderForoptInNewsletter.apply(circeGenericHListBindingForoptInNewsletter)), scala.Tuple2.apply[String, io.circe.Json]("avatarUrl", $anon.this.circeGenericEncoderForavatarUrl.apply(circeGenericHListBindingForavatarUrl))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$55().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.AdminUserResponse]](inst$macro$56)
})
|
|
719
|
36263
|
25932
-
25964
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.AdminUserResponse]({
val inst$macro$112: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AdminUserResponse] = {
final class anon$lazy$macro$111 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$111 = {
anon$lazy$macro$111.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$57: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AdminUserResponse] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.AdminUserResponse, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.AdminUserResponse, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.AdminUserResponse, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("organisationName"), (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("organisationName").asInstanceOf[Symbol @@ String("organisationName")], ::.apply[Symbol @@ String("userType"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("userType").asInstanceOf[Symbol @@ String("userType")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("availableQuestions"), (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")], ::.apply[Symbol @@ String("website"), (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("website").asInstanceOf[Symbol @@ String("website")], ::.apply[Symbol @@ String("politicalParty"), (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("politicalParty").asInstanceOf[Symbol @@ String("politicalParty")], ::.apply[Symbol @@ String("optInNewsletter"), (Symbol @@ String("avatarUrl")) :: shapeless.HNil.type](scala.Symbol.apply("optInNewsletter").asInstanceOf[Symbol @@ String("optInNewsletter")], ::.apply[Symbol @@ String("avatarUrl"), shapeless.HNil.type](scala.Symbol.apply("avatarUrl").asInstanceOf[Symbol @@ String("avatarUrl")], HNil)))))))))))))), Generic.instance[org.make.api.user.AdminUserResponse, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil](((x0$7: org.make.api.user.AdminUserResponse) => x0$7 match {
case (id: org.make.core.user.UserId, email: String, firstName: Option[String], lastName: Option[String], organisationName: Option[String], userType: org.make.core.user.UserType, roles: Seq[org.make.core.user.Role], country: org.make.core.reference.Country, availableQuestions: Seq[org.make.core.question.QuestionId], website: Option[String], politicalParty: Option[String], optInNewsletter: Option[Boolean], avatarUrl: Option[String]): org.make.api.user.AdminUserResponse((id$macro$97 @ _), (email$macro$98 @ _), (firstName$macro$99 @ _), (lastName$macro$100 @ _), (organisationName$macro$101 @ _), (userType$macro$102 @ _), (roles$macro$103 @ _), (country$macro$104 @ _), (availableQuestions$macro$105 @ _), (website$macro$106 @ _), (politicalParty$macro$107 @ _), (optInNewsletter$macro$108 @ _), (avatarUrl$macro$109 @ _)) => ::.apply[org.make.core.user.UserId, String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](id$macro$97, ::.apply[String, Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](email$macro$98, ::.apply[Option[String], Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](firstName$macro$99, ::.apply[Option[String], Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](lastName$macro$100, ::.apply[Option[String], org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](organisationName$macro$101, ::.apply[org.make.core.user.UserType, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](userType$macro$102, ::.apply[Seq[org.make.core.user.Role], org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](roles$macro$103, ::.apply[org.make.core.reference.Country, Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](country$macro$104, ::.apply[Seq[org.make.core.question.QuestionId], Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](availableQuestions$macro$105, ::.apply[Option[String], Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil.type](website$macro$106, ::.apply[Option[String], Option[Boolean] :: Option[String] :: shapeless.HNil.type](politicalParty$macro$107, ::.apply[Option[Boolean], Option[String] :: shapeless.HNil.type](optInNewsletter$macro$108, ::.apply[Option[String], shapeless.HNil.type](avatarUrl$macro$109, HNil))))))))))))).asInstanceOf[org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil]
}), ((x0$8: org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil) => x0$8 match {
case (head: org.make.core.user.UserId, tail: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((id$macro$84 @ _), (head: String, tail: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((email$macro$85 @ _), (head: Option[String], tail: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((firstName$macro$86 @ _), (head: Option[String], tail: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((lastName$macro$87 @ _), (head: Option[String], tail: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((organisationName$macro$88 @ _), (head: org.make.core.user.UserType, tail: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((userType$macro$89 @ _), (head: Seq[org.make.core.user.Role], tail: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((roles$macro$90 @ _), (head: org.make.core.reference.Country, tail: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((country$macro$91 @ _), (head: Seq[org.make.core.question.QuestionId], tail: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((availableQuestions$macro$92 @ _), (head: Option[String], tail: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((website$macro$93 @ _), (head: Option[String], tail: Option[Boolean] :: Option[String] :: shapeless.HNil): Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil((politicalParty$macro$94 @ _), (head: Option[Boolean], tail: Option[String] :: shapeless.HNil): Option[Boolean] :: Option[String] :: shapeless.HNil((optInNewsletter$macro$95 @ _), (head: Option[String], tail: shapeless.HNil): Option[String] :: shapeless.HNil((avatarUrl$macro$96 @ _), HNil))))))))))))) => user.this.AdminUserResponse.apply(id$macro$84, email$macro$85, firstName$macro$86, lastName$macro$87, organisationName$macro$88, userType$macro$89, roles$macro$90, country$macro$91, availableQuestions$macro$92, website$macro$93, politicalParty$macro$94, optInNewsletter$macro$95, avatarUrl$macro$96)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.user.UserId, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("lastName")) :: (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("organisationName")) :: (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("organisationName"), Option[String], (Symbol @@ String("userType")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, org.make.core.user.UserType :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("userType"), org.make.core.user.UserType, (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Seq[org.make.core.user.Role], (Symbol @@ String("country")) :: (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, org.make.core.reference.Country :: Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("availableQuestions")) :: (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Seq[org.make.core.question.QuestionId] :: Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], (Symbol @@ String("website")) :: (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("website"), Option[String], (Symbol @@ String("politicalParty")) :: (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("politicalParty"), Option[String], (Symbol @@ String("optInNewsletter")) :: (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[Boolean] :: Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("optInNewsletter"), Option[Boolean], (Symbol @@ String("avatarUrl")) :: shapeless.HNil, Option[String] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("avatarUrl"), Option[String], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("avatarUrl")]](scala.Symbol.apply("avatarUrl").asInstanceOf[Symbol @@ String("avatarUrl")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("avatarUrl")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("optInNewsletter")]](scala.Symbol.apply("optInNewsletter").asInstanceOf[Symbol @@ String("optInNewsletter")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("optInNewsletter")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("politicalParty")]](scala.Symbol.apply("politicalParty").asInstanceOf[Symbol @@ String("politicalParty")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("politicalParty")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("website")]](scala.Symbol.apply("website").asInstanceOf[Symbol @@ String("website")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("website")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableQuestions")]](scala.Symbol.apply("availableQuestions").asInstanceOf[Symbol @@ String("availableQuestions")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableQuestions")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("country")]](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("country")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("roles")]](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("roles")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("userType")]](scala.Symbol.apply("userType").asInstanceOf[Symbol @@ String("userType")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("userType")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("organisationName")]](scala.Symbol.apply("organisationName").asInstanceOf[Symbol @@ String("organisationName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("organisationName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("lastName")]](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("lastName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("firstName")]](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("firstName")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("email")]](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("email")]])), 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.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$111.this.inst$macro$110)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AdminUserResponse]];
<stable> <accessor> lazy val inst$macro$110: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForid: io.circe.Decoder[org.make.core.user.UserId] = user.this.UserId.userIdDecoder;
private[this] val circeGenericDecoderForemail: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForuserType: io.circe.Decoder[org.make.core.user.UserType] = user.this.UserType.decoder(circe.this.Decoder.decodeString);
private[this] val circeGenericDecoderForroles: io.circe.Decoder[Seq[org.make.core.user.Role]] = circe.this.Decoder.decodeSeq[org.make.core.user.Role](user.this.Role.decoder(circe.this.Decoder.decodeString));
private[this] val circeGenericDecoderForcountry: io.circe.Decoder[org.make.core.reference.Country] = reference.this.Country.countryDecoder;
private[this] val circeGenericDecoderForavailableQuestions: io.circe.Decoder[Seq[org.make.core.question.QuestionId]] = circe.this.Decoder.decodeSeq[org.make.core.question.QuestionId](question.this.QuestionId.QuestionIdDecoder);
private[this] val circeGenericDecoderForoptInNewsletter: io.circe.Decoder[Option[Boolean]] = circe.this.Decoder.decodeOption[Boolean](circe.this.Decoder.decodeBoolean);
private[this] val circeGenericDecoderForavatarUrl: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("id"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecode(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecode(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("lastName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecode(c.downField("lastName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("organisationName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecode(c.downField("organisationName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("userType"), org.make.core.user.UserType, shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserType.tryDecode(c.downField("userType")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("roles"), Seq[org.make.core.user.Role], shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecode(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableQuestions.tryDecode(c.downField("availableQuestions")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("website"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecode(c.downField("website")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("politicalParty"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecode(c.downField("politicalParty")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("optInNewsletter"), Option[Boolean], shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoptInNewsletter.tryDecode(c.downField("optInNewsletter")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("avatarUrl"), Option[String], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecode(c.downField("avatarUrl")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("id"), org.make.core.user.UserId, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForid.tryDecodeAccumulating(c.downField("id")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForemail.tryDecodeAccumulating(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("lastName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecodeAccumulating(c.downField("lastName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("organisationName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecodeAccumulating(c.downField("organisationName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("userType"), org.make.core.user.UserType, shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForuserType.tryDecodeAccumulating(c.downField("userType")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("roles"), Seq[org.make.core.user.Role], shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecodeAccumulating(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("country"), org.make.core.reference.Country, shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableQuestions"), Seq[org.make.core.question.QuestionId], shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableQuestions.tryDecodeAccumulating(c.downField("availableQuestions")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("website"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecodeAccumulating(c.downField("website")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("politicalParty"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecodeAccumulating(c.downField("politicalParty")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("optInNewsletter"), Option[Boolean], shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForoptInNewsletter.tryDecodeAccumulating(c.downField("optInNewsletter")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("avatarUrl"), Option[String], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavatarUrl.tryDecodeAccumulating(c.downField("avatarUrl")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("id"),org.make.core.user.UserId] :: shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("organisationName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("userType"),org.make.core.user.UserType] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("availableQuestions"),Seq[org.make.core.question.QuestionId]] :: shapeless.labelled.FieldType[Symbol @@ String("website"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("politicalParty"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("optInNewsletter"),Option[Boolean]] :: shapeless.labelled.FieldType[Symbol @@ String("avatarUrl"),Option[String]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$111().inst$macro$57
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AdminUserResponse]](inst$macro$112)
})
|
|
721
|
44907
|
26011
-
26572
|
Apply
|
org.make.api.user.AdminUserResponse.apply
|
|
AdminUserResponse.apply(x$1, x$2, x$3, x$6, x$4, x$5, x$7, x$8, x$9, x$11, x$10, x$12, x$13)
|
|
722
|
31800
|
26039
-
26050
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
723
|
45117
|
26064
-
26074
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
724
|
37264
|
26092
-
26106
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
725
|
50642
|
26131
-
26152
|
Select
|
org.make.core.user.User.organisationName
|
|
user.organisationName
|
|
726
|
42770
|
26169
-
26182
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
727
|
38347
|
26199
-
26212
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
728
|
36301
|
26226
-
26272
|
Apply
|
scala.collection.IterableOps.map
|
|
user.roles.map[org.make.core.user.CustomRole](((role: org.make.core.user.Role) => org.make.core.user.CustomRole.apply(role.value)))
|
|
728
|
30737
|
26260
-
26270
|
Select
|
org.make.core.user.Role.value
|
|
role.value
|
|
728
|
44554
|
26249
-
26271
|
Apply
|
org.make.core.user.CustomRole.apply
|
|
org.make.core.user.CustomRole.apply(role.value)
|
|
729
|
31840
|
26288
-
26300
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
730
|
44868
|
26327
-
26350
|
Select
|
org.make.core.user.User.availableQuestions
|
|
user.availableQuestions
|
|
731
|
51093
|
26373
-
26411
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$18: org.make.core.profile.Profile) => x$18.politicalParty))
|
|
731
|
38065
|
26394
-
26410
|
Select
|
org.make.core.profile.Profile.politicalParty
|
|
x$18.politicalParty
|
|
732
|
38387
|
26427
-
26458
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$19: org.make.core.profile.Profile) => x$19.website))
|
|
732
|
42273
|
26448
-
26457
|
Select
|
org.make.core.profile.Profile.website
|
|
x$19.website
|
|
733
|
30494
|
26499
-
26516
|
Select
|
org.make.core.profile.Profile.optInNewsletter
|
|
x$20.optInNewsletter
|
|
733
|
44588
|
26482
-
26517
|
Apply
|
scala.Option.map
|
|
user.profile.map[Boolean](((x$20: org.make.core.profile.Profile) => x$20.optInNewsletter))
|
|
734
|
48809
|
26535
-
26568
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$21: org.make.core.profile.Profile) => x$21.avatarUrl))
|
|
734
|
37024
|
26556
-
26567
|
Select
|
org.make.core.profile.Profile.avatarUrl
|
|
x$21.avatarUrl
|
|
760
|
37819
|
27604
-
27605
|
Literal
|
<nosymbol>
|
|
3
|
|
762
|
51128
|
27623
-
27649
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$22).toEmail).throwIfInvalid()
|
|
762
|
43014
|
27609
-
27650
|
Apply
|
scala.Option.foreach
|
|
AdminUpdateUserRequest.this.email.foreach[org.make.core.Validation.Email](((x$22: String) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$22).toEmail).throwIfInvalid()))
|
|
763
|
39444
|
27669
-
27736
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.StringWithMaxLength]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$23.value);
<artifact> val x$1: Int = AdminUpdateUserRequest.this.maxCountryLength;
<artifact> val x$2: String("country") = "country";
<artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4;
qual$1.withMaxLength(x$1, "country", x$3, x$4)
}).throwIfInvalid()
|
|
763
|
31309
|
27653
-
27737
|
Apply
|
scala.Option.foreach
|
|
AdminUpdateUserRequest.this.country.foreach[org.make.core.Validation.StringWithMaxLength](((x$23: org.make.core.reference.Country) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.StringWithMaxLength]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$23.value);
<artifact> val x$1: Int = AdminUpdateUserRequest.this.maxCountryLength;
<artifact> val x$2: String("country") = "country";
<artifact> val x$3: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.withMaxLength$default$4;
qual$1.withMaxLength(x$1, "country", x$3, x$4)
}).throwIfInvalid()))
|
|
775
|
44350
|
28160
-
28220
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
org.make.api.user.adminuserapitest
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[(org.make.core.Validation.Email, org.make.core.Validation.Email)](cats.implicits.catsSyntaxTuple2Semigroupal[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.Email, org.make.core.Validation.Email](scala.Tuple2.apply[cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.Email], cats.data.ValidatedNec[org.make.core.ValidationError,org.make.core.Validation.Email]](org.make.core.Validation.StringWithParsers(AdminUpdateUserEmail.this.oldEmail).toEmail, org.make.core.Validation.StringWithParsers(AdminUpdateUserEmail.this.newEmail).toEmail)).tupled(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]), data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]))).throwIfInvalid()
|
|
779
|
36249
|
28310
-
28323
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
org.make.api.user.adminuserapitest
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.AdminUpdateUserEmail]({
val inst$macro$12: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AdminUpdateUserEmail] = {
final class anon$lazy$macro$11 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$11 = {
anon$lazy$macro$11.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AdminUpdateUserEmail] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.AdminUpdateUserEmail, shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.AdminUpdateUserEmail, (Symbol @@ String("oldEmail")) :: (Symbol @@ String("newEmail")) :: shapeless.HNil, String :: String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.AdminUpdateUserEmail, (Symbol @@ String("oldEmail")) :: (Symbol @@ String("newEmail")) :: shapeless.HNil](::.apply[Symbol @@ String("oldEmail"), (Symbol @@ String("newEmail")) :: shapeless.HNil.type](scala.Symbol.apply("oldEmail").asInstanceOf[Symbol @@ String("oldEmail")], ::.apply[Symbol @@ String("newEmail"), shapeless.HNil.type](scala.Symbol.apply("newEmail").asInstanceOf[Symbol @@ String("newEmail")], HNil))), Generic.instance[org.make.api.user.AdminUpdateUserEmail, String :: String :: shapeless.HNil](((x0$3: org.make.api.user.AdminUpdateUserEmail) => x0$3 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail$macro$8 @ _), (newEmail$macro$9 @ _)) => ::.apply[String, String :: shapeless.HNil.type](oldEmail$macro$8, ::.apply[String, shapeless.HNil.type](newEmail$macro$9, HNil)).asInstanceOf[String :: String :: shapeless.HNil]
}), ((x0$4: String :: String :: shapeless.HNil) => x0$4 match {
case (head: String, tail: String :: shapeless.HNil): String :: String :: shapeless.HNil((oldEmail$macro$6 @ _), (head: String, tail: shapeless.HNil): String :: shapeless.HNil((newEmail$macro$7 @ _), HNil)) => user.this.AdminUpdateUserEmail.apply(oldEmail$macro$6, newEmail$macro$7)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("oldEmail"), String, (Symbol @@ String("newEmail")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("newEmail"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("newEmail")]](scala.Symbol.apply("newEmail").asInstanceOf[Symbol @@ String("newEmail")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("newEmail")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("oldEmail")]](scala.Symbol.apply("oldEmail").asInstanceOf[Symbol @@ String("oldEmail")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("oldEmail")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$11.this.inst$macro$10)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AdminUpdateUserEmail]];
<stable> <accessor> lazy val inst$macro$10: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderFornewEmail: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("oldEmail"), String, shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFornewEmail.tryDecode(c.downField("oldEmail")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("newEmail"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFornewEmail.tryDecode(c.downField("newEmail")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("oldEmail"), String, shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFornewEmail.tryDecodeAccumulating(c.downField("oldEmail")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("newEmail"), String, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFornewEmail.tryDecodeAccumulating(c.downField("newEmail")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$11().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.AdminUpdateUserEmail]](inst$macro$12)
})
|
|
780
|
49526
|
28380
-
28393
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
org.make.api.user.adminuserapitest
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.user.AdminUpdateUserEmail]({
val inst$macro$24: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.AdminUpdateUserEmail] = {
final class anon$lazy$macro$23 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$23 = {
anon$lazy$macro$23.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$13: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.AdminUpdateUserEmail] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.user.AdminUpdateUserEmail, shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.AdminUpdateUserEmail, (Symbol @@ String("oldEmail")) :: (Symbol @@ String("newEmail")) :: shapeless.HNil, String :: String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.AdminUpdateUserEmail, (Symbol @@ String("oldEmail")) :: (Symbol @@ String("newEmail")) :: shapeless.HNil](::.apply[Symbol @@ String("oldEmail"), (Symbol @@ String("newEmail")) :: shapeless.HNil.type](scala.Symbol.apply("oldEmail").asInstanceOf[Symbol @@ String("oldEmail")], ::.apply[Symbol @@ String("newEmail"), shapeless.HNil.type](scala.Symbol.apply("newEmail").asInstanceOf[Symbol @@ String("newEmail")], HNil))), Generic.instance[org.make.api.user.AdminUpdateUserEmail, String :: String :: shapeless.HNil](((x0$7: org.make.api.user.AdminUpdateUserEmail) => x0$7 match {
case (oldEmail: String, newEmail: String): org.make.api.user.AdminUpdateUserEmail((oldEmail$macro$20 @ _), (newEmail$macro$21 @ _)) => ::.apply[String, String :: shapeless.HNil.type](oldEmail$macro$20, ::.apply[String, shapeless.HNil.type](newEmail$macro$21, HNil)).asInstanceOf[String :: String :: shapeless.HNil]
}), ((x0$8: String :: String :: shapeless.HNil) => x0$8 match {
case (head: String, tail: String :: shapeless.HNil): String :: String :: shapeless.HNil((oldEmail$macro$18 @ _), (head: String, tail: shapeless.HNil): String :: shapeless.HNil((newEmail$macro$19 @ _), HNil)) => user.this.AdminUpdateUserEmail.apply(oldEmail$macro$18, newEmail$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("oldEmail"), String, (Symbol @@ String("newEmail")) :: shapeless.HNil, String :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("newEmail"), String, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("newEmail")]](scala.Symbol.apply("newEmail").asInstanceOf[Symbol @@ String("newEmail")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("newEmail")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("oldEmail")]](scala.Symbol.apply("oldEmail").asInstanceOf[Symbol @@ String("oldEmail")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("oldEmail")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$23.this.inst$macro$22)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.AdminUpdateUserEmail]];
<stable> <accessor> lazy val inst$macro$22: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderFornewEmail: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String], tail: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForoldEmail @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFornewEmail @ _), shapeless.HNil)) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("oldEmail", $anon.this.circeGenericEncoderFornewEmail.apply(circeGenericHListBindingForoldEmail)), scala.Tuple2.apply[String, io.circe.Json]("newEmail", $anon.this.circeGenericEncoderFornewEmail.apply(circeGenericHListBindingFornewEmail))))
}
};
new $anon()
}: io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.encoding.ReprAsObjectEncoder[shapeless.labelled.FieldType[Symbol @@ String("oldEmail"),String] :: shapeless.labelled.FieldType[Symbol @@ String("newEmail"),String] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$23().inst$macro$13
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.AdminUpdateUserEmail]](inst$macro$24)
})
|
|
790
|
45978
|
28707
-
28737
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
org.make.api.user.adminuserapitest
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(UpdateUserRolesRequest.this.email).toEmail).throwIfInvalid()
|