| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
316
|
48567
|
10256
-
10266
|
Select
|
org.make.api.user.AdminUserApi.updateUser
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.updateUser
|
|
316
|
46710
|
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
|
46219
|
10235
-
10243
|
Select
|
org.make.api.user.AdminUserApi.getUsers
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.getUsers
|
|
316
|
34472
|
10235
-
10253
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this._enhanceRouteWithConcatenation(AdminUserApi.this.getUsers).~(AdminUserApi.this.getUser)
|
|
316
|
40725
|
10346
-
10361
|
Select
|
org.make.api.user.AdminUserApi.updateUserRoles
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.updateUserRoles
|
|
316
|
48327
|
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
|
39654
|
10246
-
10253
|
Select
|
org.make.api.user.AdminUserApi.getUser
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.getUser
|
|
316
|
35267
|
10328
-
10343
|
Select
|
org.make.api.user.AdminUserApi.updateUserEmail
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.updateUserEmail
|
|
316
|
32892
|
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
|
41777
|
10285
-
10305
|
Select
|
org.make.api.user.AdminUserApi.anonymizeUserByEmail
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.anonymizeUserByEmail
|
|
316
|
44917
|
10364
-
10378
|
Select
|
org.make.api.user.AdminUserApi.anonymizeUsers
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.anonymizeUsers
|
|
316
|
47277
|
10308
-
10325
|
Select
|
org.make.api.user.AdminUserApi.adminUploadAvatar
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.adminUploadAvatar
|
|
316
|
49911
|
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
|
31818
|
10269
-
10282
|
Select
|
org.make.api.user.AdminUserApi.anonymizeUser
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.anonymizeUser
|
|
316
|
33938
|
10381
-
10400
|
Select
|
org.make.api.user.AdminUserApi.sendEmailToProposer
|
org.make.api.user.adminuserapitest
|
AdminUserApi.this.sendEmailToProposer
|
|
316
|
34180
|
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
|
41818
|
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
|
38382
|
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
|
39978
|
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)
|
|
345
|
39445
|
11153
-
11160
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.Segment
|
|
345
|
48362
|
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
|
35020
|
11165
-
11177
|
Apply
|
org.make.core.user.UserId.apply
|
org.make.api.user.adminuserapitest
|
org.make.core.user.UserId.apply(value)
|
|
347
|
44945
|
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
|
39938
|
11215
-
11218
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.get
|
|
348
|
41569
|
11240
-
11240
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
348
|
46476
|
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
|
45118
|
11242
-
11249
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
348
|
31890
|
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]]))))
}))
}))))))))
|
|
348
|
33977
|
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
|
32314
|
11232
-
11239
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
349
|
30704
|
11261
-
11261
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
349
|
38882
|
11275
-
11290
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"AdminGetUsers"
|
|
349
|
32353
|
11274
-
11274
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
349
|
48117
|
11261
-
11261
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
349
|
39970
|
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)
|
|
349
|
36357
|
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]]))))
}))
})))))))
|
|
350
|
38662
|
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]]
|
|
350
|
46257
|
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])))))
|
|
351
|
46183
|
11333
-
11341
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"_start"
|
|
351
|
41018
|
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
|
38374
|
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))
|
|
351
|
33176
|
11364
-
11364
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.startFromIntUnmarshaller
|
|
351
|
46507
|
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)
|
|
352
|
32112
|
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
|
44909
|
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
|
31785
|
11379
-
11385
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"_end"
|
|
352
|
39731
|
11405
-
11405
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.endFromIntUnmarshaller
|
|
352
|
47554
|
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
|
33934
|
11420
-
11429
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("_sort").?
|
|
353
|
42068
|
11420
-
11427
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"_sort"
|
|
353
|
46544
|
11428
-
11428
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
353
|
39432
|
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
|
30501
|
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]))
|
|
354
|
45983
|
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
|
37080
|
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
|
48070
|
11443
-
11451
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"_order"
|
|
354
|
32917
|
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]))
|
|
354
|
40469
|
11443
-
11463
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
355
|
31586
|
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)
|
|
355
|
39471
|
11485
-
11485
|
Select
|
org.make.core.ParameterExtractors.userIdFromStringUnmarshaller
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.userIdFromStringUnmarshaller
|
|
355
|
33974
|
11477
-
11481
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"id"
|
|
355
|
46995
|
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]
|
|
356
|
48109
|
11507
-
11514
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"email"
|
|
356
|
32067
|
11515
-
11515
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
356
|
46020
|
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
|
40508
|
11507
-
11516
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("email").?
|
|
356
|
37598
|
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]))
|
|
357
|
38626
|
11548
-
11548
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.adminuserapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
357
|
47035
|
11530
-
11549
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("role").as[String].?
|
|
357
|
33723
|
11530
-
11536
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"role"
|
|
357
|
48150
|
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
|
31623
|
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
|
37639
|
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
|
33766
|
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
|
40255
|
11563
-
11573
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"userType"
|
|
358
|
45159
|
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
|
32105
|
11563
-
11588
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._string2NR("userType").as[org.make.core.user.UserType].?
|
|
359
|
43936
|
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
|
44189
|
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
|
31538
|
11971
-
11981
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
370
|
31402
|
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]]))))
}))
})))
|
|
371
|
38410
|
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
|
40293
|
12052
-
12061
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
371
|
31859
|
12030
-
12062
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)
|
|
372
|
45195
|
12122
-
12132
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
372
|
37072
|
12108
-
12133
|
Apply
|
scala.Option.map
|
|
maybeRole.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
373
|
50161
|
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
|
38420
|
12174
-
12487
|
Apply
|
org.make.api.user.UserService.adminCountUsers
|
|
DefaultAdminUserApiComponent.this.userService.adminCountUsers(ids, email, scala.None, scala.None, role, userType)
|
|
378
|
33507
|
12336
-
12340
|
Select
|
scala.None
|
|
scala.None
|
|
379
|
46296
|
12377
-
12381
|
Select
|
scala.None
|
|
scala.None
|
|
383
|
31574
|
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
|
46011
|
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
|
43611
|
12619
-
12632
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
392
|
40824
|
12834
-
12838
|
Select
|
scala.None
|
|
scala.None
|
|
393
|
31894
|
12875
-
12879
|
Select
|
scala.None
|
|
scala.None
|
|
397
|
38134
|
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
|
47356
|
13041
-
13041
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
398
|
44670
|
13041
-
13041
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]
|
|
398
|
38452
|
13041
-
13041
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
398
|
31615
|
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)
|
|
398
|
46543
|
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]]))))
}))
|
|
400
|
50732
|
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
|
32965
|
13193
-
13207
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
401
|
46787
|
13211
-
13245
|
Apply
|
scala.collection.IterableOps.map
|
|
users.map[org.make.api.user.AdminUserResponse](((user: org.make.core.user.User) => AdminUserResponse.apply(user)))
|
|
401
|
37923
|
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
|
45806
|
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
|
40004
|
13155
-
13155
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.api.user.AdminUserResponse]]
|
|
401
|
44708
|
13155
-
13155
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.user.AdminUserResponse](user.this.AdminUserResponse.encoder)
|
|
401
|
40249
|
13156
-
13170
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
401
|
45769
|
13177
-
13208
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
401
|
32392
|
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
|
31360
|
13155
-
13155
|
Select
|
org.make.api.user.AdminUserResponse.encoder
|
|
user.this.AdminUserResponse.encoder
|
|
401
|
39261
|
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
|
38169
|
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
|
50694
|
13221
-
13244
|
Apply
|
org.make.api.user.AdminUserResponse.apply
|
|
AdminUserResponse.apply(user)
|
|
412
|
49839
|
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]))))))
}))
})))))))))))))
|
|
412
|
37963
|
13405
-
13408
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.put
|
|
413
|
50481
|
13424
-
13431
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
413
|
38449
|
13432
-
13432
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
413
|
46583
|
13434
-
13441
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
413
|
44980
|
13423
-
13423
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
413
|
30535
|
13444
-
13450
|
Select
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.userId
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.userId
|
|
413
|
36387
|
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
|
32954
|
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
|
43971
|
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
|
36037
|
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]))))))
}))
}))))))))))))
|
|
414
|
46620
|
13474
-
13474
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
414
|
30572
|
13487
-
13487
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
414
|
50522
|
13474
-
13474
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
414
|
39507
|
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
|
40604
|
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
|
37876
|
13488
-
13505
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"AdminUpdateUser"
|
|
415
|
44422
|
13539
-
13549
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
415
|
48213
|
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
|
36140
|
13539
-
13539
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
416
|
46057
|
13600
-
13636
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
416
|
35700
|
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]))))))
}))
}))))))
|
|
416
|
32993
|
13622
-
13635
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
417
|
37915
|
13655
-
13668
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
417
|
43295
|
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]))))))
}))
})))))
|
|
418
|
43438
|
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))
|
|
418
|
39550
|
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
|
44457
|
13695
-
13695
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserRequest]
|
|
418
|
51436
|
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
|
51259
|
13698
-
13698
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserRequest](user.this.AdminUpdateUserRequest.decoder)
|
|
418
|
31102
|
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))))
|
|
419
|
32741
|
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
|
46093
|
13809
-
13809
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
419
|
34070
|
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
|
36880
|
13781
-
13808
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminUserApiComponent.this.userService.getUser(userId)
|
|
420
|
37953
|
13893
-
13942
|
Apply
|
java.lang.String.toLowerCase
|
|
request.email.getOrElse[String](user.email).toLowerCase()
|
|
421
|
42863
|
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
|
42201
|
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
|
39303
|
14009
-
14009
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
421
|
51008
|
13965
-
14008
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminUserApiComponent.this.userService.getUserByEmail(lowerCasedEmail)
|
|
422
|
51052
|
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
|
37710
|
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
|
45297
|
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
|
31139
|
14234
-
14241
|
Literal
|
<nosymbol>
|
|
"email"
|
|
426
|
44497
|
14273
-
14293
|
Literal
|
<nosymbol>
|
|
"already_registered"
|
|
427
|
49407
|
14337
-
14382
|
Apply
|
java.lang.Object.==
|
|
userToCheck.userId.value.==(user.userId.value)
|
|
427
|
36091
|
14365
-
14382
|
Select
|
org.make.core.user.UserId.value
|
|
user.userId.value
|
|
434
|
46049
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$1
|
|
x$2.copy$default$1
|
|
434
|
50762
|
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
|
39260
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$6
|
|
x$2.copy$default$6
|
|
434
|
44215
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$18
|
|
x$2.copy$default$18
|
|
434
|
46090
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$11
|
|
x$2.copy$default$11
|
|
434
|
35922
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$19
|
|
x$2.copy$default$19
|
|
434
|
31687
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$16
|
|
x$2.copy$default$16
|
|
434
|
37746
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$3
|
|
x$2.copy$default$3
|
|
434
|
42417
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$14
|
|
x$2.copy$default$14
|
|
434
|
50303
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$13
|
|
x$2.copy$default$13
|
|
434
|
45841
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$23
|
|
x$2.copy$default$23
|
|
434
|
35885
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$9
|
|
x$2.copy$default$9
|
|
434
|
49199
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$10
|
|
x$2.copy$default$10
|
|
434
|
31650
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$7
|
|
x$2.copy$default$7
|
|
434
|
38247
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$24
|
|
x$2.copy$default$24
|
|
434
|
49229
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$20
|
|
x$2.copy$default$20
|
|
434
|
38205
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$12
|
|
x$2.copy$default$12
|
|
434
|
50266
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$4
|
|
x$2.copy$default$4
|
|
434
|
44291
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$8
|
|
x$2.copy$default$8
|
|
434
|
35588
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$15
|
|
x$2.copy$default$15
|
|
434
|
42661
|
14679
-
14679
|
Select
|
org.make.core.profile.Profile.copy$default$5
|
|
x$2.copy$default$5
|
|
435
|
38745
|
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
|
42622
|
14745
-
14752
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$3.value
|
|
436
|
31177
|
14802
-
14824
|
Select
|
org.make.api.user.AdminUpdateUserRequest.politicalParty
|
|
request.politicalParty
|
|
437
|
44256
|
14874
-
14897
|
Select
|
org.make.api.user.AdminUpdateUserRequest.optInNewsletter
|
|
request.optInNewsletter
|
|
438
|
49162
|
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))
|
|
438
|
36128
|
14963
-
14970
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$4.value
|
|
441
|
42442
|
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
|
36422
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
442
|
42406
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
442
|
37495
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
442
|
37247
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
442
|
50597
|
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
|
48949
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
442
|
43198
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
442
|
44008
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
442
|
49188
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
442
|
31480
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
442
|
50835
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
442
|
41929
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
442
|
36462
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
442
|
44043
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
442
|
45882
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
442
|
34805
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
442
|
30669
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
442
|
35382
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
442
|
37457
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
442
|
50798
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
442
|
41360
|
15101
-
15101
|
Select
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
443
|
42452
|
15175
-
15182
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$5.value
|
|
443
|
35627
|
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))
|
|
444
|
31438
|
15232
-
15254
|
Select
|
org.make.api.user.AdminUpdateUserRequest.politicalParty
|
|
request.politicalParty
|
|
445
|
44251
|
15304
-
15327
|
Select
|
org.make.api.user.AdminUpdateUserRequest.optInNewsletter
|
|
request.optInNewsletter
|
|
446
|
36388
|
15393
-
15400
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$6.value
|
|
446
|
49761
|
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))
|
|
450
|
43826
|
15494
-
15494
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
450
|
48259
|
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
|
42725
|
15540
-
15540
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.user.User]
|
|
451
|
34596
|
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
|
50338
|
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
|
50095
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
452
|
48462
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
452
|
48495
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
452
|
36212
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
452
|
35153
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
452
|
43784
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
452
|
35120
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
452
|
34082
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
452
|
41953
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
452
|
44576
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
452
|
43544
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
452
|
36169
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
452
|
38038
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
452
|
34114
|
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
|
42694
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
452
|
50060
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
452
|
49228
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
452
|
50592
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
452
|
50547
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
452
|
41710
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
452
|
41916
|
15575
-
15575
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
454
|
48665
|
15678
-
15718
|
Apply
|
scala.Option.orElse
|
|
request.firstName.orElse[String](user.firstName)
|
|
454
|
34570
|
15703
-
15717
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
455
|
36975
|
15761
-
15799
|
Apply
|
scala.Option.orElse
|
|
request.lastName.orElse[String](user.lastName)
|
|
455
|
44082
|
15785
-
15798
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
456
|
41883
|
15841
-
15880
|
Apply
|
scala.Option.getOrElse
|
|
request.country.getOrElse[org.make.core.reference.Country](user.country)
|
|
456
|
48992
|
15867
-
15879
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
457
|
37993
|
15931
-
15955
|
Select
|
org.make.api.user.AdminUpdateUserRequest.organisationName
|
|
request.organisationName
|
|
458
|
50636
|
15998
-
16014
|
Select
|
org.make.api.user.AdminUpdateUserRequest.userType
|
|
request.userType
|
|
459
|
43509
|
16078
-
16088
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
459
|
48426
|
16101
-
16111
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
459
|
44535
|
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
|
34606
|
16072
-
16089
|
Apply
|
scala.collection.IterableOps.map
|
|
x$7.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
460
|
37006
|
16165
-
16191
|
Select
|
org.make.api.user.AdminUpdateUserRequest.availableQuestions
|
|
request.availableQuestions
|
|
465
|
50087
|
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
|
41150
|
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))
|
|
466
|
50050
|
16438
-
16461
|
Apply
|
org.make.api.user.AdminUserResponse.apply
|
|
AdminUserResponse.apply(user)
|
|
466
|
39870
|
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
|
33317
|
16435
-
16435
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
466
|
35999
|
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
|
35664
|
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
|
42488
|
16435
-
16435
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]
|
|
466
|
50380
|
16435
-
16435
|
Select
|
org.make.api.user.AdminUserResponse.encoder
|
|
user.this.AdminUserResponse.encoder
|
|
466
|
35956
|
16420
-
16434
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
466
|
47685
|
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]))
|
|
479
|
42240
|
16669
-
16672
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.get
|
|
479
|
40344
|
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]))))))))))))))
|
|
480
|
48246
|
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
|
40356
|
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
|
49872
|
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
|
33824
|
16686
-
16693
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
480
|
48771
|
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
|
35451
|
16706
-
16712
|
Select
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.userId
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.userId
|
|
480
|
47132
|
16696
-
16703
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
480
|
43331
|
16694
-
16694
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
480
|
35950
|
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
|
33859
|
16734
-
16734
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
481
|
41461
|
16748
-
16757
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"GetUser"
|
|
481
|
42480
|
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
|
35445
|
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
|
34880
|
16747
-
16747
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
481
|
47168
|
16734
-
16734
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
482
|
43579
|
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
|
40393
|
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]]
|
|
482
|
48009
|
16776
-
16786
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
483
|
46434
|
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
|
49025
|
16831
-
16863
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(auth.user)
|
|
483
|
35995
|
16853
-
16862
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
484
|
34352
|
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
|
46401
|
16908
-
16908
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
484
|
33897
|
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
|
|
484
|
42195
|
16880
-
16907
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminUserApiComponent.this.userService.getUser(userId)
|
|
485
|
42520
|
16965
-
16988
|
Apply
|
org.make.api.user.AdminUserResponse.apply
|
|
AdminUserResponse.apply(user)
|
|
485
|
34642
|
16982
-
16982
|
Select
|
org.make.api.user.AdminUserResponse.encoder
|
|
user.this.AdminUserResponse.encoder
|
|
485
|
49065
|
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
|
31997
|
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
|
40430
|
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])
|
|
485
|
41952
|
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
|
48735
|
16982
-
16982
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.user.AdminUserResponse]
|
|
493
|
32034
|
17097
-
17103
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.delete
|
|
493
|
46480
|
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
|
34143
|
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
|
48534
|
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
|
40384
|
17116
-
17116
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
494
|
35192
|
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
|
42318
|
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
|
41989
|
17127
-
17134
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
494
|
46878
|
17137
-
17143
|
Select
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.userId
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.userId
|
|
494
|
48819
|
17117
-
17124
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
494
|
34389
|
17125
-
17125
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
495
|
41736
|
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
|
49613
|
17173
-
17173
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
495
|
46915
|
17186
-
17186
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
495
|
33601
|
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
|
42031
|
17173
-
17173
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
495
|
32493
|
17187
-
17204
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"adminDeleteUser"
|
|
496
|
39057
|
17236
-
17246
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
496
|
45122
|
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
|
35233
|
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
|
40139
|
17295
-
17331
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
497
|
33095
|
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
|
48568
|
17317
-
17330
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
498
|
41781
|
17376
-
17376
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
498
|
39942
|
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
|
32527
|
17348
-
17375
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminUserApiComponent.this.userService.getUser(userId)
|
|
498
|
49061
|
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
|
|
499
|
47786
|
17514
-
17514
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
499
|
46679
|
17490
-
17512
|
Select
|
org.make.api.user.Anonymization.Explicit
|
|
Anonymization.Explicit
|
|
499
|
33637
|
17452
-
17472
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
499
|
48529
|
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
|
38546
|
17424
-
17513
|
Apply
|
org.make.api.user.UserService.anonymize
|
|
DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)
|
|
499
|
34676
|
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
|
40172
|
17571
-
17616
|
Apply
|
org.make.api.technical.auth.MakeDataHandler.removeTokenByUserId
|
|
DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)
|
|
501
|
35740
|
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
|
45085
|
17617
-
17617
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Int]
|
|
501
|
32285
|
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
|
|
502
|
41224
|
17667
-
17681
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
502
|
46715
|
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
|
33394
|
17679
-
17679
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
502
|
38585
|
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
|
44349
|
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
|
39646
|
17831
-
17837
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.delete
|
|
513
|
30497
|
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
|
46189
|
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
|
48282
|
17861
-
17868
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
513
|
31815
|
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])
|
|
513
|
40679
|
17859
-
17859
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
513
|
34470
|
17851
-
17858
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
514
|
38378
|
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
|
39427
|
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
|
46670
|
17880
-
17880
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
514
|
41774
|
17894
-
17912
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"adminDeleteUsers"
|
|
514
|
31791
|
17893
-
17893
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
514
|
33896
|
17880
-
17880
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
515
|
48324
|
17944
-
17954
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
515
|
46261
|
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
|
40721
|
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]]
|
|
516
|
44912
|
18003
-
18039
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
516
|
32275
|
18025
-
18038
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
516
|
33931
|
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])))))))
|
|
517
|
46706
|
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
|
38347
|
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
|
41526
|
18091
-
18111
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
517
|
33935
|
18056
-
18128
|
Apply
|
org.make.api.user.UserService.anonymizeInactiveUsers
|
|
DefaultAdminUserApiComponent.this.userService.anonymizeInactiveUsers(userAuth.user.userId, requestContext)
|
|
517
|
38839
|
18129
-
18129
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance]
|
|
518
|
31284
|
18177
-
18198
|
Select
|
org.make.api.technical.job.JobActor.Protocol.Response.JobAcceptance.isAccepted
|
|
acceptance.isAccepted
|
|
519
|
31745
|
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])))
|
|
519
|
48112
|
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
|
33975
|
18248
-
18248
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]
|
|
519
|
45378
|
18248
-
18248
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
519
|
38876
|
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
|
46469
|
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
|
39931
|
18251
-
18279
|
Select
|
org.make.core.job.Job.JobId.AnonymizeInactiveUsers
|
|
org.make.core.job.Job.JobId.AnonymizeInactiveUsers
|
|
519
|
41564
|
18248
-
18248
|
TypeApply
|
org.make.core.CirceFormatters.stringValueEncoder
|
|
DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId]
|
|
519
|
39967
|
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
|
32308
|
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
|
48074
|
18227
-
18247
|
Select
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
akka.http.scaladsl.model.StatusCodes.Accepted
|
|
521
|
31781
|
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
|
33168
|
18350
-
18350
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
521
|
46503
|
18350
-
18350
|
TypeApply
|
org.make.core.CirceFormatters.stringValueEncoder
|
|
DefaultAdminUserApiComponent.this.stringValueEncoder[org.make.core.job.Job.JobId]
|
|
521
|
37283
|
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
|
32106
|
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
|
38631
|
18350
-
18350
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.core.job.Job.JobId]
|
|
521
|
45943
|
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
|
46179
|
18353
-
18381
|
Select
|
org.make.core.job.Job.JobId.AnonymizeInactiveUsers
|
|
org.make.core.job.Job.JobId.AnonymizeInactiveUsers
|
|
521
|
32069
|
18329
-
18349
|
Select
|
akka.http.scaladsl.model.StatusCodes.Conflict
|
|
akka.http.scaladsl.model.StatusCodes.Conflict
|
|
521
|
39725
|
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
|
47551
|
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
|
46784
|
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
|
40464
|
18497
-
18501
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
530
|
46991
|
18533
-
18533
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
530
|
31864
|
18515
-
18522
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
530
|
33676
|
18535
-
18546
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("anonymize")
|
|
530
|
45976
|
18525
-
18532
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
530
|
39187
|
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
|
37075
|
18523
-
18523
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
530
|
50688
|
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
|
31578
|
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]))
|
|
531
|
37881
|
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
|
44382
|
18572
-
18594
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"anonymizeUserByEmail"
|
|
531
|
46015
|
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)
|
|
531
|
38140
|
18571
-
18571
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
531
|
32063
|
18558
-
18558
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
531
|
40212
|
18558
-
18558
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
532
|
45764
|
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))))))))))))))
|
|
532
|
33719
|
18626
-
18636
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
532
|
46749
|
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]]
|
|
533
|
32959
|
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))))))))))))
|
|
533
|
31618
|
18685
-
18721
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
533
|
38621
|
18707
-
18720
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
534
|
36553
|
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
|
44146
|
18738
-
18751
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
535
|
40250
|
18779
-
18779
|
Select
|
org.make.api.user.AnonymizeUserRequest.decoder
|
|
user.this.AnonymizeUserRequest.decoder
|
|
535
|
37633
|
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
|
32103
|
18779
-
18779
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AnonymizeUserRequest](user.this.AnonymizeUserRequest.decoder)
|
|
535
|
46252
|
18776
-
18776
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.AnonymizeUserRequest]
|
|
535
|
45154
|
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
|
44666
|
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
|
50700
|
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))))
|
|
536
|
40008
|
18876
-
18876
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
536
|
44182
|
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
|
30745
|
18834
-
18875
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)
|
|
536
|
31322
|
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
|
38660
|
18861
-
18874
|
Select
|
org.make.api.user.AnonymizeUserRequest.email
|
|
request.email
|
|
538
|
38091
|
18928
-
19040
|
Apply
|
org.make.api.user.UserService.anonymize
|
|
DefaultAdminUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)
|
|
538
|
31851
|
18979
-
18999
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
538
|
45191
|
19017
-
19039
|
Select
|
org.make.api.user.Anonymization.Explicit
|
|
Anonymization.Explicit
|
|
539
|
46292
|
19064
-
19064
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
539
|
50736
|
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
|
38450
|
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
|
44631
|
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
|
|
541
|
40820
|
19187
-
19187
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Int]
|
|
541
|
31570
|
19136
-
19186
|
Apply
|
org.make.api.technical.auth.MakeDataHandler.removeTokenByUserId
|
|
DefaultAdminUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(user.userId)
|
|
541
|
38412
|
19174
-
19185
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
541
|
47351
|
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))))
|
|
542
|
50158
|
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
|
38129
|
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)
|
|
542
|
31892
|
19241
-
19255
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
542
|
44946
|
19253
-
19253
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
555
|
46091
|
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]))))
}))
}))))))))
|
|
555
|
39511
|
19464
-
19468
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
556
|
44703
|
19494
-
19501
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
556
|
44461
|
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
|
38407
|
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
|
31107
|
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
|
50725
|
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
|
32389
|
19504
-
19519
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("upload-avatar")
|
|
556
|
45518
|
19502
-
19502
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
556
|
31354
|
19484
-
19491
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
556
|
42829
|
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
|
36312
|
19492
-
19492
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
556
|
37918
|
19522
-
19530
|
Select
|
org.make.core.user.UserType
|
org.make.api.user.adminuserapitest
|
org.make.core.user.UserType
|
|
556
|
49982
|
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]))))
}))
})))))))
|
|
557
|
36350
|
19570
-
19593
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"AdminUserUploadAvatar"
|
|
557
|
32145
|
19556
-
19556
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
557
|
44941
|
19556
-
19556
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
557
|
50476
|
19569
-
19569
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
557
|
36590
|
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
|
37957
|
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)
|
|
558
|
39466
|
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
|
44454
|
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]))))
}))
})))
|
|
558
|
42867
|
19614
-
19624
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
559
|
30533
|
19670
-
19683
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
559
|
31653
|
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
|
43965
|
19653
-
19684
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)
|
|
561
|
36096
|
19816
-
19899
|
Apply
|
org.make.api.technical.storage.StorageService.uploadAdminUserAvatar
|
|
DefaultAdminUserApiComponent.this.storageService.uploadAdminUserAvatar(extension, contentType, fileContent, userType)
|
|
563
|
50517
|
19966
-
20004
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Long](DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize)
|
|
563
|
37112
|
19971
-
20003
|
Select
|
org.make.api.technical.storage.StorageConfiguration.maxFileSize
|
|
DefaultAdminUserApiComponent.this.storageConfiguration.maxFileSize
|
|
563
|
32949
|
19934
-
19940
|
Literal
|
<nosymbol>
|
|
"data"
|
|
563
|
42629
|
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
|
39548
|
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
|
44979
|
19942
-
19952
|
Apply
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.uploadFile
|
|
uploadFile(extension, contentType, fileContent)
|
|
563
|
39500
|
19933
-
19933
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac2
|
|
util.this.ApplyConverter.hac2[String, java.io.File]
|
|
565
|
30571
|
20062
-
20075
|
Apply
|
java.io.File.delete
|
|
file.delete()
|
|
566
|
43429
|
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
|
37911
|
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
|
46051
|
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])
|
|
566
|
36134
|
20119
-
20119
|
Select
|
org.make.api.technical.storage.UploadResponse.encoder
|
|
storage.this.UploadResponse.encoder
|
|
566
|
49941
|
20119
-
20119
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]
|
|
566
|
44417
|
20105
-
20125
|
Apply
|
org.make.api.technical.storage.UploadResponse.apply
|
|
org.make.api.technical.storage.UploadResponse.apply(path)
|
|
566
|
50969
|
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])))
|
|
576
|
37669
|
20262
-
20266
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
576
|
34524
|
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
|
36087
|
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
|
42574
|
20292
-
20299
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
577
|
51004
|
20282
-
20289
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
577
|
42403
|
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
|
44218
|
20300
-
20300
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
577
|
35596
|
20290
-
20290
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
577
|
31136
|
20302
-
20321
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-email")
|
|
577
|
49399
|
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]))
|
|
578
|
50768
|
20335
-
20335
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
578
|
35016
|
20348
-
20348
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
578
|
50549
|
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
|
45847
|
20349
-
20371
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"AdminUserUpdateEmail"
|
|
578
|
37706
|
20335
-
20335
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
578
|
42616
|
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
|
30885
|
20392
-
20402
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
579
|
44252
|
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]]
|
|
579
|
37493
|
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]]))))
}))
}))))))
|
|
580
|
49156
|
20431
-
20467
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
580
|
41314
|
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
|
36124
|
20453
-
20466
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
581
|
48908
|
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
|
46047
|
20486
-
20499
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
582
|
36419
|
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
|
34774
|
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)))
|
|
582
|
37462
|
20529
-
20529
|
Select
|
org.make.api.user.AdminUpdateUserEmail.decoder
|
|
user.this.AdminUpdateUserEmail.decoder
|
|
582
|
50259
|
20529
-
20529
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.AdminUpdateUserEmail](user.this.AdminUpdateUserEmail.decoder)
|
|
582
|
42655
|
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
|
31647
|
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
|
44013
|
20526
-
20526
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.AdminUpdateUserEmail]
|
|
584
|
42095
|
20683
-
20683
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
584
|
49192
|
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
|
35880
|
20646
-
20682
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminUserApiComponent.this.userService.getUserByEmail(oldEmail)
|
|
584
|
44001
|
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]]))))
}))
|
|
587
|
38203
|
20766
-
20843
|
Apply
|
org.make.api.user.UserService.adminUpdateUserEmail
|
|
DefaultAdminUserApiComponent.this.userService.adminUpdateUserEmail(user, newEmail)
|
|
588
|
50297
|
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
|
|
588
|
42410
|
20873
-
20873
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
589
|
44745
|
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
|
35584
|
20934
-
20955
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
589
|
35916
|
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
|
31397
|
20946
-
20946
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
589
|
48954
|
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
|
48699
|
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
|
50795
|
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
|
44248
|
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
|
41888
|
21082
-
21082
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
592
|
42902
|
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
|
35374
|
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
|
37994
|
21082
-
21082
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
592
|
42129
|
21059
-
21081
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
592
|
36384
|
21082
-
21082
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
592
|
49752
|
21082
-
21082
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
593
|
31434
|
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
|
42445
|
21193
-
21237
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("No user found for email \'".+(oldEmail).+("\'"): String))
|
|
594
|
38246
|
21168
-
21178
|
Literal
|
<nosymbol>
|
|
"oldEmail"
|
|
594
|
35336
|
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)))
|
|
594
|
50758
|
21180
-
21191
|
Literal
|
<nosymbol>
|
|
"not_found"
|
|
608
|
46919
|
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
|
47862
|
21478
-
21482
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
609
|
34242
|
21516
-
21516
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
609
|
50594
|
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
|
36173
|
21508
-
21515
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
609
|
41355
|
21518
-
21537
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("update-user-roles")
|
|
609
|
48945
|
21506
-
21506
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
609
|
44040
|
21498
-
21505
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
609
|
33606
|
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
|
43468
|
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]))
|
|
610
|
48659
|
21551
-
21551
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
610
|
48985
|
21564
-
21564
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
610
|
44493
|
21551
-
21551
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
610
|
34566
|
21565
-
21582
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"UpdateUserRoles"
|
|
610
|
42192
|
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
|
36970
|
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)
|
|
611
|
34277
|
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
|
49023
|
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
|
41115
|
21616
-
21626
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
612
|
51046
|
21677
-
21690
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
612
|
31958
|
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
|
43504
|
21655
-
21691
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireSuperAdminRole
|
|
DefaultAdminUserApiComponent.this.requireSuperAdminRole(userAuth.user)
|
|
613
|
34600
|
21710
-
21723
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
613
|
40387
|
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
|
48002
|
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
|
36123
|
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)))
|
|
614
|
48420
|
21753
-
21753
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRolesRequest](user.this.UpdateUserRolesRequest.decoder)
|
|
614
|
50053
|
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
|
44532
|
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
|
41911
|
21750
-
21750
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRolesRequest]
|
|
615
|
35668
|
21854
-
21854
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
615
|
51084
|
21812
-
21853
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminUserApiComponent.this.userService.getUserByEmail(request.email)
|
|
615
|
34878
|
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
|
42939
|
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
|
34039
|
21839
-
21852
|
Select
|
org.make.api.user.UpdateUserRolesRequest.email
|
|
request.email
|
|
617
|
33830
|
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
|
40609
|
21986
-
21986
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
618
|
48456
|
21963
-
21985
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
618
|
50588
|
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)))))
|
|
618
|
41105
|
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
|
49224
|
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
|
34558
|
21986
-
21986
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
618
|
36209
|
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
|
48218
|
21986
-
21986
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
618
|
42691
|
21986
-
21986
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
619
|
34075
|
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
|
41668
|
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
|
40575
|
22109
-
22116
|
Literal
|
<nosymbol>
|
|
"email"
|
|
622
|
36165
|
22156
-
22167
|
Literal
|
<nosymbol>
|
|
"not_found"
|
|
623
|
49476
|
22211
-
22260
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("The email ".+(request.email).+(" was not found"): String))
|
|
628
|
47643
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$3
|
|
user.copy$default$3
|
|
628
|
42161
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
628
|
42478
|
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
|
35447
|
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
|
35411
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
628
|
35997
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
628
|
50047
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
628
|
35952
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
628
|
43291
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
628
|
40100
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$4
|
|
user.copy$default$4
|
|
628
|
42235
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
628
|
47092
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
628
|
40599
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$23
|
|
user.copy$default$23
|
|
628
|
49795
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$16
|
|
user.copy$default$16
|
|
628
|
42196
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
628
|
40563
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
628
|
42438
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
628
|
42483
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
628
|
49834
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$25
|
|
user.copy$default$25
|
|
628
|
33819
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
628
|
34064
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$18
|
|
user.copy$default$18
|
|
628
|
35661
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
628
|
47127
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
628
|
32198
|
22483
-
22483
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
628
|
48700
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
628
|
48736
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
628
|
50333
|
22451
-
22464
|
Select
|
org.make.api.user.UpdateUserRolesRequest.roles
|
|
request.roles
|
|
628
|
35622
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$2
|
|
user.copy$default$2
|
|
628
|
46639
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
628
|
40350
|
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
|
42724
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
628
|
33250
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
628
|
32699
|
22438
-
22438
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
628
|
48241
|
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
|
33853
|
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
|
48988
|
22537
-
22558
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
629
|
46882
|
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
|
41992
|
22549
-
22549
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
641
|
38515
|
22750
-
22754
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
1000
|
|
644
|
34639
|
22810
-
22814
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this.post
|
|
644
|
33893
|
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))))
}))))))))))
|
|
645
|
38055
|
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
|
31990
|
22838
-
22838
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
645
|
47451
|
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
|
41948
|
22848
-
22848
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.adminuserapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
645
|
40145
|
22840
-
22847
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("users")
|
|
645
|
49063
|
22850
-
22874
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApi.this._segmentStringToPathMatcher("send-email-to-proposer")
|
|
645
|
48730
|
22830
-
22837
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"admin"
|
|
645
|
34347
|
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])
|
|
646
|
35441
|
22888
-
22888
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$2
|
|
646
|
46182
|
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
|
40898
|
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
|
48490
|
22888
-
22888
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOperation$default$3
|
|
646
|
32030
|
22901
-
22901
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.adminuserapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
646
|
38549
|
22902
-
22921
|
Literal
|
<nosymbol>
|
org.make.api.user.adminuserapitest
|
"SendProposerEmail"
|
|
647
|
50123
|
22955
-
22965
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.adminuserapitest
|
DefaultAdminUserApiComponent.this.makeOAuth2
|
|
647
|
32843
|
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
|
41985
|
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
|
34109
|
23011
-
23024
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
648
|
46872
|
22994
-
23025
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminUserApiComponent.this.requireAdminRole(userAuth.user)
|
|
648
|
40675
|
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))))
}))))
|
|
649
|
38588
|
23044
-
23057
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminUserApi.this.decodeRequest
|
|
649
|
48278
|
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))))
})))
|
|
650
|
41739
|
23084
-
23084
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.SendProposerEmailRequest]
|
|
650
|
48530
|
23087
-
23087
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminUserApiComponent.this.unmarshaller[org.make.api.user.SendProposerEmailRequest](user.this.SendProposerEmailRequest.decoder)
|
|
650
|
45904
|
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))))
|
|
650
|
31752
|
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
|
40099
|
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
|
35188
|
23087
-
23087
|
Select
|
org.make.api.user.SendProposerEmailRequest.decoder
|
|
user.this.SendProposerEmailRequest.decoder
|
|
650
|
32487
|
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)))
|
|
651
|
46910
|
23190
-
23208
|
Select
|
org.make.api.user.DefaultAdminUserApiComponent.DefaultAdminUserApi.MaximumEmailLength
|
|
DefaultAdminUserApi.this.MaximumEmailLength
|
|
651
|
39051
|
23185
-
23209
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength)
|
|
651
|
35228
|
23147
-
23210
|
Apply
|
org.make.core.SanitizedHtml.fromString
|
|
org.make.core.SanitizedHtml.fromString(entity.text, scala.Some.apply[Int](DefaultAdminUserApi.this.MaximumEmailLength))
|
|
651
|
34144
|
23172
-
23183
|
Select
|
org.make.api.user.SendProposerEmailRequest.text
|
|
entity.text
|
|
653
|
33388
|
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
|
33632
|
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
|
30635
|
23343
-
23343
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
654
|
45080
|
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]]))
|
|
654
|
32279
|
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
|
48285
|
23320
-
23342
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
654
|
38541
|
23343
-
23343
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
654
|
40168
|
23343
-
23343
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
654
|
48326
|
23343
-
23343
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
654
|
42234
|
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
|
46672
|
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)))))
|
|
655
|
41776
|
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
|
40132
|
23426
-
23432
|
Literal
|
<nosymbol>
|
|
"text"
|
|
657
|
32523
|
23464
-
23474
|
Literal
|
<nosymbol>
|
|
"too_long"
|
|
658
|
45038
|
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
|
48527
|
23754
-
24080
|
Apply
|
org.make.api.technical.crm.SendMailPublisherService.sendEmailToProposer
|
|
DefaultAdminUserApiComponent.this.sendMailPublisherService.sendEmailToProposer(entity.proposalId, userAuth.user.userId, sanitizedHtml, entity.dryRun, requestContext)
|
|
665
|
46708
|
23855
-
23872
|
Select
|
org.make.api.user.SendProposerEmailRequest.proposalId
|
|
entity.proposalId
|
|
666
|
39607
|
23902
-
23922
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
668
|
30667
|
23995
-
24008
|
Select
|
org.make.api.user.SendProposerEmailRequest.dryRun
|
|
entity.dryRun
|
|
671
|
39936
|
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
|
|
671
|
32312
|
24108
-
24108
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
672
|
34140
|
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
|
42277
|
24179
-
24179
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
672
|
46146
|
24167
-
24188
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
672
|
39641
|
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
|
46474
|
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))
|
|
687
|
47209
|
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
|
39400
|
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
|
44906
|
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
|
40425
|
25732
-
25736
|
Select
|
scala.None
|
|
scala.None
|
|
714
|
32270
|
25698
-
25737
|
Apply
|
org.make.core.Validation.validateUserInput
|
|
org.make.core.Validation.validateUserInput("email", AdminUserResponse.this.email, scala.None)
|
|
714
|
48320
|
25725
-
25730
|
Select
|
org.make.api.user.AdminUserResponse.email
|
|
AdminUserResponse.this.email
|
|
714
|
31784
|
25716
-
25723
|
Literal
|
<nosymbol>
|
|
"email"
|
|
718
|
37809
|
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
|
33932
|
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
|
38625
|
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
|
46429
|
26039
-
26050
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
723
|
38834
|
26064
-
26074
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
724
|
31278
|
26092
-
26106
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
725
|
48068
|
26131
-
26152
|
Select
|
org.make.core.user.User.organisationName
|
|
user.organisationName
|
|
726
|
40467
|
26169
-
26182
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
727
|
32029
|
26199
-
26212
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
728
|
33678
|
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
|
45371
|
26260
-
26270
|
Select
|
org.make.core.user.Role.value
|
|
role.value
|
|
728
|
37843
|
26249
-
26271
|
Apply
|
org.make.core.user.CustomRole.apply
|
|
org.make.core.user.CustomRole.apply(role.value)
|
|
729
|
46463
|
26288
-
26300
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
730
|
38872
|
26327
-
26350
|
Select
|
org.make.core.user.User.availableQuestions
|
|
user.availableQuestions
|
|
731
|
31738
|
26394
-
26410
|
Select
|
org.make.core.profile.Profile.politicalParty
|
|
x$18.politicalParty
|
|
731
|
44388
|
26373
-
26411
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$18: org.make.core.profile.Profile) => x$18.politicalParty))
|
|
732
|
32064
|
26427
-
26458
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$19: org.make.core.profile.Profile) => x$19.website))
|
|
732
|
39682
|
26448
-
26457
|
Select
|
org.make.core.profile.Profile.website
|
|
x$19.website
|
|
733
|
46173
|
26499
-
26516
|
Select
|
org.make.core.profile.Profile.optInNewsletter
|
|
x$20.optInNewsletter
|
|
733
|
38301
|
26482
-
26517
|
Apply
|
scala.Option.map
|
|
user.profile.map[Boolean](((x$20: org.make.core.profile.Profile) => x$20.optInNewsletter))
|
|
734
|
46217
|
26535
-
26568
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$21: org.make.core.profile.Profile) => x$21.avatarUrl))
|
|
734
|
33722
|
26556
-
26567
|
Select
|
org.make.core.profile.Profile.avatarUrl
|
|
x$21.avatarUrl
|
|
760
|
31776
|
27604
-
27605
|
Literal
|
<nosymbol>
|
|
3
|
|
762
|
39717
|
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()))
|
|
762
|
44840
|
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()
|
|
763
|
32104
|
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
|
45936
|
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
|
38343
|
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
|
50858
|
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
|
46255
|
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
|
39425
|
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()
|