| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
187
|
38270
|
6007
-
6028
|
Select
|
org.make.api.user.AdminDialogueModeratorApi.getDialogueModerators
|
org.make.api.user.admindialoguemoderatorapitest
|
AdminDialogueModeratorApi.this.getDialogueModerators
|
|
187
|
35378
|
5984
-
6054
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.admindialoguemoderatorapitest
|
AdminDialogueModeratorApi.this._enhanceRouteWithConcatenation(AdminDialogueModeratorApi.this._enhanceRouteWithConcatenation(AdminDialogueModeratorApi.this.getDialogueModerator).~(AdminDialogueModeratorApi.this.getDialogueModerators)).~(AdminDialogueModeratorApi.this.createDialogueModerator)
|
|
187
|
42468
|
6031
-
6054
|
Select
|
org.make.api.user.AdminDialogueModeratorApi.createDialogueModerator
|
org.make.api.user.admindialoguemoderatorapitest
|
AdminDialogueModeratorApi.this.createDialogueModerator
|
|
187
|
45847
|
5984
-
6004
|
Select
|
org.make.api.user.AdminDialogueModeratorApi.getDialogueModerator
|
org.make.api.user.admindialoguemoderatorapitest
|
AdminDialogueModeratorApi.this.getDialogueModerator
|
|
187
|
31477
|
6057
-
6080
|
Select
|
org.make.api.user.AdminDialogueModeratorApi.updateDialogueModerator
|
org.make.api.user.admindialoguemoderatorapitest
|
AdminDialogueModeratorApi.this.updateDialogueModerator
|
|
187
|
44794
|
5984
-
6080
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.admindialoguemoderatorapitest
|
AdminDialogueModeratorApi.this._enhanceRouteWithConcatenation(AdminDialogueModeratorApi.this._enhanceRouteWithConcatenation(AdminDialogueModeratorApi.this._enhanceRouteWithConcatenation(AdminDialogueModeratorApi.this.getDialogueModerator).~(AdminDialogueModeratorApi.this.getDialogueModerators)).~(AdminDialogueModeratorApi.this.createDialogueModerator)).~(AdminDialogueModeratorApi.this.updateDialogueModerator)
|
|
187
|
51358
|
5984
-
6028
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.admindialoguemoderatorapitest
|
AdminDialogueModeratorApi.this._enhanceRouteWithConcatenation(AdminDialogueModeratorApi.this.getDialogueModerator).~(AdminDialogueModeratorApi.this.getDialogueModerators)
|
|
210
|
37004
|
6784
-
6791
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.Segment
|
|
210
|
45601
|
6784
-
6809
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminDialogueModeratorApi.this.Segment).map[org.make.core.user.UserId](((value: String) => org.make.core.user.UserId.apply(value)))
|
|
210
|
49001
|
6796
-
6808
|
Apply
|
org.make.core.user.UserId.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
org.make.core.user.UserId.apply(value)
|
|
213
|
43527
|
6926
-
6945
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
213
|
38024
|
6882
-
6908
|
Select
|
org.make.core.user.Role.RoleDialogueModerator
|
|
org.make.core.user.Role.RoleDialogueModerator
|
|
213
|
31519
|
6878
-
6983
|
Select
|
scala.collection.IterableOnceOps.nonEmpty
|
|
scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(user.roles.toSet[org.make.core.user.Role]).nonEmpty
|
|
213
|
50793
|
6910
-
6924
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
213
|
35409
|
6957
-
6973
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
user.roles.toSet[org.make.core.user.Role]
|
|
216
|
43320
|
7038
-
7637
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((moderatorId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("GetDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminDialogueModeratorApi.this.isDialogueModerator(moderator))
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
else
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))))))))))))
|
|
216
|
44013
|
7038
-
7041
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.get
|
|
217
|
42971
|
7093
-
7104
|
Select
|
org.make.api.user.DefaultAdminDialogueModeratorApiComponent.DefaultAdminDialogueModeratorApi.moderatorId
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.moderatorId
|
|
217
|
51120
|
7050
-
7631
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((moderatorId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("GetDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminDialogueModeratorApi.this.isDialogueModerator(moderator))
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
else
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
217
|
50555
|
7076
-
7076
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
217
|
31259
|
7055
-
7104
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
217
|
36454
|
7055
-
7062
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"admin"
|
|
217
|
44053
|
7050
-
7105
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
217
|
45635
|
7063
-
7063
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
217
|
49510
|
7065
-
7075
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue")
|
|
217
|
38062
|
7078
-
7090
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
217
|
35161
|
7091
-
7091
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
217
|
36207
|
7054
-
7054
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
218
|
37274
|
7131
-
7131
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3
|
|
218
|
50593
|
7131
-
7168
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation("GetDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3)
|
|
218
|
42712
|
7144
-
7144
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
218
|
48959
|
7145
-
7167
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"GetDialogueModerator"
|
|
218
|
41979
|
7131
-
7131
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2
|
|
218
|
37807
|
7131
-
7623
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("GetDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminDialogueModeratorApi.this.isDialogueModerator(moderator))
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
else
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
219
|
34603
|
7186
-
7196
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOAuth2
|
|
219
|
41690
|
7186
-
7613
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminDialogueModeratorApi.this.isDialogueModerator(moderator))
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
else
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)))))))
|
|
219
|
31306
|
7186
-
7186
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
220
|
48784
|
7241
-
7601
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminDialogueModeratorApi.this.isDialogueModerator(moderator))
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
else
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)))))
|
|
220
|
43804
|
7258
-
7267
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
220
|
36243
|
7241
-
7268
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
221
|
37310
|
7318
-
7318
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
221
|
41141
|
7285
-
7339
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound
|
|
221
|
48991
|
7285
-
7317
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)
|
|
221
|
36792
|
7285
-
7587
|
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](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((moderator: org.make.core.user.User) => if (DefaultAdminDialogueModeratorApi.this.isDialogueModerator(moderator))
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
else
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))))
|
|
222
|
50345
|
7375
-
7405
|
Apply
|
org.make.api.user.DefaultAdminDialogueModeratorApiComponent.DefaultAdminDialogueModeratorApi.isDialogueModerator
|
|
DefaultAdminDialogueModeratorApi.this.isDialogueModerator(moderator)
|
|
223
|
41174
|
7427
-
7479
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
|
|
223
|
50056
|
7436
-
7478
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response])))
|
|
223
|
34639
|
7467
-
7467
|
Select
|
org.make.api.user.DialogueModerator.Response.encoder
|
|
DialogueModerator.this.Response.encoder
|
|
223
|
35999
|
7467
-
7467
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))
|
|
223
|
48428
|
7467
-
7467
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]
|
|
223
|
43846
|
7467
-
7467
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response])
|
|
223
|
43520
|
7436
-
7478
|
Apply
|
org.make.api.user.DialogueModerator.Response.from
|
|
DialogueModerator.Response.from(moderator)
|
|
223
|
37769
|
7427
-
7479
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(moderator))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.DialogueModerator.Response](DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
|
|
225
|
35704
|
7532
-
7552
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode)
|
|
225
|
50379
|
7532
-
7552
|
Select
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
akka.http.scaladsl.model.StatusCodes.NotFound
|
|
225
|
48461
|
7523
-
7553
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
|
|
225
|
44301
|
7523
-
7553
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.NotFound)(marshalling.this.Marshaller.fromStatusCode))
|
|
225
|
43555
|
7544
-
7544
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
234
|
34433
|
7687
-
7690
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.get
|
|
234
|
48328
|
7687
-
9867
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.path[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("GetDialogueModerators", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: 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])](DefaultAdminDialogueModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminDialogueModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminDialogueModeratorApiComponent.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])(DefaultAdminDialogueModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac7[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]]).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], firstName: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).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 @ _)) => DefaultAdminDialogueModeratorApi.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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))))
})))))))))))
|
|
235
|
36240
|
7712
-
7712
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
235
|
35019
|
7699
-
9861
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.path[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("GetDialogueModerators", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: 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])](DefaultAdminDialogueModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminDialogueModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminDialogueModeratorApiComponent.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])(DefaultAdminDialogueModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac7[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]]).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], firstName: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).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 @ _)) => DefaultAdminDialogueModeratorApi.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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))))
}))))))))))
|
|
235
|
48225
|
7704
-
7711
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"admin"
|
|
235
|
33870
|
7704
-
7739
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])
|
|
235
|
49843
|
7727
-
7739
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
235
|
44337
|
7714
-
7724
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue")
|
|
235
|
41722
|
7725
-
7725
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
235
|
50338
|
7699
-
7740
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.path[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))
|
|
236
|
48256
|
7751
-
7751
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3
|
|
236
|
35991
|
7764
-
7764
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
236
|
38406
|
7751
-
9853
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("GetDialogueModerators", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: 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])](DefaultAdminDialogueModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminDialogueModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminDialogueModeratorApiComponent.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])(DefaultAdminDialogueModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac7[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]]).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], firstName: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).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 @ _)) => DefaultAdminDialogueModeratorApi.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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))))
})))))))))
|
|
236
|
44378
|
7751
-
7789
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation("GetDialogueModerators", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3)
|
|
236
|
42745
|
7765
-
7788
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"GetDialogueModerators"
|
|
236
|
34945
|
7751
-
7751
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2
|
|
237
|
36284
|
7817
-
7817
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac7
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac7[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]]
|
|
237
|
40412
|
7807
-
8053
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminDialogueModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminDialogueModeratorApiComponent.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])(DefaultAdminDialogueModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])))
|
|
238
|
49267
|
7831
-
7839
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"_start"
|
|
238
|
50373
|
7862
-
7862
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApiComponent.this.startFromIntUnmarshaller)
|
|
238
|
42501
|
7831
-
7863
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.admindialoguemoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApiComponent.this.startFromIntUnmarshaller))
|
|
238
|
41481
|
7831
-
7863
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?
|
|
238
|
33902
|
7862
-
7862
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.startFromIntUnmarshaller
|
|
239
|
49801
|
7877
-
7904
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.admindialoguemoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApiComponent.this.endFromIntUnmarshaller))
|
|
239
|
36029
|
7903
-
7903
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApiComponent.this.endFromIntUnmarshaller)
|
|
239
|
35693
|
7877
-
7883
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"_end"
|
|
239
|
48017
|
7877
-
7904
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?
|
|
239
|
43585
|
7903
-
7903
|
Select
|
org.make.core.ParameterExtractors.endFromIntUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.endFromIntUnmarshaller
|
|
240
|
33939
|
7918
-
7927
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._string2NR("_sort").?
|
|
240
|
50124
|
7926
-
7926
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
240
|
42539
|
7926
-
7926
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
240
|
35445
|
7918
-
7927
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.admindialoguemoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
240
|
42221
|
7918
-
7925
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"_sort"
|
|
241
|
39924
|
7941
-
7961
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._string2NR("_order").as[org.make.core.Order].?
|
|
241
|
48746
|
7941
-
7949
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"_order"
|
|
241
|
49834
|
7960
-
7960
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminDialogueModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
241
|
35774
|
7960
-
7960
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
241
|
40956
|
7941
-
7961
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.admindialoguemoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminDialogueModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminDialogueModeratorApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
242
|
33855
|
7975
-
7979
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"id"
|
|
242
|
42303
|
7983
-
7983
|
Select
|
org.make.core.ParameterExtractors.userIdFromStringUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.userIdFromStringUnmarshaller
|
|
242
|
50165
|
7975
-
7991
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
org.make.api.user.admindialoguemoderatorapitest
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId]
|
|
242
|
35481
|
7975
-
7991
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
org.make.api.user.admindialoguemoderatorapitest
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.user.UserId](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("id").csv[org.make.core.user.UserId])(DefaultAdminDialogueModeratorApiComponent.this.userIdFromStringUnmarshaller)
|
|
243
|
47478
|
8005
-
8012
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"email"
|
|
243
|
35815
|
8013
-
8013
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
243
|
40375
|
8005
-
8014
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._string2NR("email").?
|
|
243
|
49585
|
8013
-
8013
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
243
|
42015
|
8005
-
8014
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.admindialoguemoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
244
|
33894
|
8028
-
8039
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"firstName"
|
|
244
|
46891
|
8028
-
8041
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._string2NR("firstName").?
|
|
244
|
35520
|
8040
-
8040
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
244
|
43101
|
8040
-
8040
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
org.make.api.user.admindialoguemoderatorapitest
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
244
|
48005
|
8028
-
8041
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
org.make.api.user.admindialoguemoderatorapitest
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
245
|
46681
|
7807
-
9843
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
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])](DefaultAdminDialogueModeratorApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApi.this._string2NR("_start").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultAdminDialogueModeratorApiComponent.this.startFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApi.this._string2NR("_end").as[org.make.core.technical.Pagination.End].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.End](DefaultAdminDialogueModeratorApiComponent.this.endFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("_sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultAdminDialogueModeratorApi.this._string2NR("_order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultAdminDialogueModeratorApiComponent.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])(DefaultAdminDialogueModeratorApiComponent.this.userIdFromStringUnmarshaller), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("email").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultAdminDialogueModeratorApi.this._string2NR("firstName").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))))(util.this.ApplyConverter.hac7[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]]).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], firstName: Option[String]) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).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 @ _)) => DefaultAdminDialogueModeratorApi.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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))))
})))))))
|
|
255
|
34218
|
8382
-
9831
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).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 @ _)) => DefaultAdminDialogueModeratorApi.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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))))
})))))
|
|
255
|
42050
|
8382
-
8382
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
255
|
49621
|
8382
-
8392
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOAuth2
|
|
256
|
41799
|
8441
-
9815
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).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 @ _)) => DefaultAdminDialogueModeratorApi.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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))))
})))
|
|
256
|
33643
|
8458
-
8467
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
256
|
46926
|
8441
-
8468
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
257
|
32067
|
8489
-
9435
|
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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective)
|
|
259
|
35769
|
8511
-
8853
|
Apply
|
org.make.api.user.UserService.adminCountUsers
|
|
DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)
|
|
263
|
43554
|
8719
-
8723
|
Select
|
scala.None
|
|
scala.None
|
|
264
|
35273
|
8761
-
8787
|
Select
|
org.make.core.user.Role.RoleDialogueModerator
|
|
org.make.core.user.Role.RoleDialogueModerator
|
|
264
|
48039
|
8756
-
8788
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator)
|
|
265
|
40166
|
8825
-
8829
|
Select
|
scala.None
|
|
scala.None
|
|
267
|
49066
|
8511
-
8888
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective
|
|
269
|
47799
|
8910
-
9380
|
Apply
|
org.make.api.user.UserService.adminFindUsers
|
|
DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)
|
|
270
|
41266
|
8985
-
8998
|
Select
|
org.make.core.technical.Pagination.RichOptionOffset.orZero
|
|
technical.this.Pagination.RichOptionOffset(offset).orZero
|
|
277
|
33680
|
9246
-
9250
|
Select
|
scala.None
|
|
scala.None
|
|
278
|
42297
|
9283
-
9315
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator)
|
|
278
|
46696
|
9288
-
9314
|
Select
|
org.make.core.user.Role.RoleDialogueModerator
|
|
org.make.core.user.Role.RoleDialogueModerator
|
|
279
|
34712
|
9352
-
9356
|
Select
|
scala.None
|
|
scala.None
|
|
281
|
40202
|
8910
-
9415
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective
|
|
282
|
48826
|
9436
-
9436
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
282
|
49920
|
8489
-
9797
|
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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).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 @ _)) => DefaultAdminDialogueModeratorApi.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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))))
}))
|
|
282
|
46188
|
9436
-
9436
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[(Int, Seq[org.make.core.user.User])]
|
|
282
|
42010
|
9436
-
9436
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
282
|
33438
|
8489
-
9442
|
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](DefaultAdminDialogueModeratorApiComponent.this.userService.adminCountUsers(ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective, org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.adminFindUsers(technical.this.Pagination.RichOptionOffset(offset).orZero, end, sort, order, ids, email, firstName, scala.None, scala.Some.apply[org.make.core.user.Role.RoleDialogueModerator.type](org.make.core.user.Role.RoleDialogueModerator), scala.None)).asDirective)).tupled(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
284
|
31860
|
9516
-
9777
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminDialogueModeratorApi.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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))))
|
|
285
|
46228
|
9550
-
9550
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder)
|
|
285
|
35264
|
9550
-
9550
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]])
|
|
285
|
40153
|
9550
-
9753
|
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.DialogueModerator.Response])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.api.user.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]])))
|
|
285
|
43386
|
9550
-
9550
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]
|
|
285
|
48296
|
9550
-
9550
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.api.user.DialogueModerator.Response]](DefaultAdminDialogueModeratorApiComponent.this.marshaller[Seq[org.make.api.user.DialogueModerator.Response]](circe.this.Encoder.encodeSeq[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder), DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[Seq[org.make.api.user.DialogueModerator.Response]]))
|
|
285
|
34177
|
9550
-
9550
|
Select
|
org.make.api.user.DialogueModerator.Response.encoder
|
|
DialogueModerator.this.Response.encoder
|
|
285
|
41761
|
9550
-
9753
|
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.DialogueModerator.Response]](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.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user))))
|
|
286
|
42336
|
9578
-
9592
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
287
|
48534
|
9625
-
9656
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(count.toString())
|
|
287
|
39965
|
9620
-
9657
|
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()))
|
|
287
|
35227
|
9641
-
9655
|
Apply
|
scala.Any.toString
|
|
count.toString()
|
|
288
|
48861
|
9685
-
9727
|
Apply
|
scala.collection.IterableOps.map
|
|
users.map[org.make.api.user.DialogueModerator.Response](((user: org.make.core.user.User) => DialogueModerator.Response.from(user)))
|
|
288
|
31820
|
9695
-
9726
|
Apply
|
org.make.api.user.DialogueModerator.Response.from
|
|
DialogueModerator.Response.from(user)
|
|
299
|
47361
|
9919
-
11596
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.path[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("CreateDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.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],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Create,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Create]).apply(((request: org.make.api.user.DialogueModerator.Request.Create) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))))))))))))
|
|
299
|
40194
|
9919
-
9923
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.post
|
|
300
|
33760
|
9932
-
11590
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.path[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("CreateDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.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],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Create,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Create]).apply(((request: org.make.api.user.DialogueModerator.Request.Create) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response])))))))))))))))
|
|
300
|
46715
|
9958
-
9958
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
300
|
41553
|
9945
-
9945
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
300
|
32314
|
9937
-
9944
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"admin"
|
|
300
|
35053
|
9932
-
9973
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.path[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit]))
|
|
300
|
38866
|
9937
-
9972
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])
|
|
300
|
33426
|
9960
-
9972
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
300
|
49405
|
9947
-
9957
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue")
|
|
301
|
41590
|
9997
-
9997
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
301
|
48366
|
9998
-
10023
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"CreateDialogueModerator"
|
|
301
|
39953
|
9984
-
9984
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2
|
|
301
|
32353
|
9984
-
9984
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3
|
|
301
|
46155
|
9984
-
10024
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation("CreateDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3)
|
|
301
|
38157
|
9984
-
11582
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("CreateDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.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],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Create,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Create]).apply(((request: org.make.api.user.DialogueModerator.Request.Create) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))))))))))
|
|
302
|
46476
|
10055
-
10055
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
302
|
33460
|
10055
-
10065
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminDialogueModeratorApiComponent.this.makeOAuth2
|
|
302
|
45739
|
10055
-
11572
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.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(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Create,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Create]).apply(((request: org.make.api.user.DialogueModerator.Request.Create) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))))))))
|
|
303
|
38360
|
10127
-
10136
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
auth.user
|
|
303
|
31931
|
10110
-
11560
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Create,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Create]).apply(((request: org.make.api.user.DialogueModerator.Request.Create) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))))))
|
|
303
|
35519
|
10110
-
10137
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminDialogueModeratorApiComponent.this.requireAdminRole(auth.user)
|
|
304
|
47579
|
10154
-
10167
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminDialogueModeratorApi.this.decodeRequest
|
|
304
|
40849
|
10154
-
11546
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Create,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Create]).apply(((request: org.make.api.user.DialogueModerator.Request.Create) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response])))))))))
|
|
305
|
33213
|
10186
-
10230
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder))))
|
|
305
|
39989
|
10195
-
10195
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.decoder
|
|
Request.this.Create.decoder
|
|
305
|
44881
|
10195
-
10195
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder))
|
|
305
|
32114
|
10195
-
10195
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)
|
|
305
|
44644
|
10186
-
11530
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Create,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Create]).apply(((request: org.make.api.user.DialogueModerator.Request.Create) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))))
|
|
305
|
41040
|
10193
-
10229
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Create](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Create](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Create](Request.this.Create.decoder)))
|
|
305
|
46513
|
10192
-
10192
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Create]
|
|
307
|
37664
|
10296
-
11323
|
Apply
|
org.make.api.user.UserService.register
|
|
DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)
|
|
308
|
46028
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$9
|
|
UserRegisterData.apply$default$9
|
|
308
|
38647
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$21
|
|
UserRegisterData.apply$default$21
|
|
308
|
47873
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$23
|
|
UserRegisterData.apply$default$23
|
|
308
|
33763
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$15
|
|
UserRegisterData.apply$default$15
|
|
308
|
41344
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$10
|
|
UserRegisterData.apply$default$10
|
|
308
|
32142
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$25
|
|
UserRegisterData.apply$default$25
|
|
308
|
40237
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$7
|
|
UserRegisterData.apply$default$7
|
|
308
|
46227
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$19
|
|
UserRegisterData.apply$default$19
|
|
308
|
39743
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$24
|
|
UserRegisterData.apply$default$24
|
|
308
|
32102
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$8
|
|
UserRegisterData.apply$default$8
|
|
308
|
48117
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$6
|
|
UserRegisterData.apply$default$6
|
|
308
|
45168
|
10361
-
11263
|
Apply
|
org.make.api.user.UserRegisterData.apply
|
|
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
|
|
308
|
31105
|
10361
-
10361
|
Select
|
org.make.api.user.UserRegisterData.apply$default$22
|
|
UserRegisterData.apply$default$22
|
|
309
|
39417
|
10411
-
10424
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.email
|
|
request.email
|
|
310
|
35560
|
10462
-
10479
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.firstName
|
|
request.firstName
|
|
311
|
48325
|
10516
-
10520
|
Select
|
scala.None
|
|
scala.None
|
|
312
|
39752
|
10557
-
10561
|
Select
|
scala.None
|
|
scala.None
|
|
313
|
32916
|
10596
-
10600
|
Select
|
scala.None
|
|
scala.None
|
|
314
|
44916
|
10636
-
10651
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.country
|
|
request.country
|
|
315
|
41544
|
10688
-
10704
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.language
|
|
request.language
|
|
316
|
33971
|
10743
-
10758
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.country
|
|
request.country
|
|
317
|
46277
|
10798
-
10814
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.language
|
|
request.language
|
|
318
|
39455
|
10848
-
10859
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](false)
|
|
319
|
30541
|
10900
-
10911
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Boolean](false)
|
|
321
|
40489
|
10990
-
11007
|
Apply
|
scala.collection.IterableOps.map
|
|
x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
321
|
48078
|
10996
-
11006
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
322
|
45989
|
11078
-
11094
|
Select
|
org.make.core.user.Role.RoleCitizen
|
|
org.make.core.user.Role.RoleCitizen
|
|
322
|
32664
|
11050
-
11076
|
Select
|
org.make.core.user.Role.RoleDialogueModerator
|
|
org.make.core.user.Role.RoleDialogueModerator
|
|
322
|
33722
|
10945
-
11096
|
Apply
|
scala.Option.getOrElse
|
|
request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen))
|
|
322
|
41584
|
11046
-
11095
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen)
|
|
323
|
46468
|
11140
-
11163
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.availableEvents
|
|
request.availableEvents
|
|
324
|
39493
|
11222
-
11238
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
324
|
31068
|
11217
-
11239
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
328
|
33509
|
10296
-
11356
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective
|
|
328
|
46263
|
11345
-
11345
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
329
|
31616
|
10296
-
11512
|
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](DefaultAdminDialogueModeratorApiComponent.this.userService.register({
<artifact> val x$1: String = request.email;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName;
<artifact> val x$3: None.type = scala.None;
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: None.type = scala.None;
<artifact> val x$6: org.make.core.reference.Country = request.country;
<artifact> val x$7: org.make.core.reference.Language = request.language;
<artifact> val x$8: org.make.core.reference.Country = request.country;
<artifact> val x$9: org.make.core.reference.Language = request.language;
<artifact> val x$10: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$11: Some[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Boolean](false);
<artifact> val x$12: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = request.roles.map[Seq[org.make.core.user.Role]](((x$3: Seq[String]) => x$3.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](scala.`package`.Seq.apply[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator, org.make.core.user.Role.RoleCitizen));
<artifact> val x$13: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$14: Some[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now());
<artifact> val x$15: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$8;
<artifact> val x$18: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$9;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$10;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$15;
<artifact> val x$21: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$21;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$22;
<artifact> val x$24: Boolean = UserRegisterData.apply$default$23;
<artifact> val x$25: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$24;
<artifact> val x$26: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$25;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$15, x$16, x$17, x$18, x$19, x$6, x$7, x$8, x$9, x$20, x$10, x$11, x$12, x$21, x$13, x$22, x$23, x$24, x$25, x$26, x$14)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
|
|
330
|
34311
|
11447
-
11447
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))
|
|
330
|
38438
|
11418
-
11490
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
|
|
330
|
45980
|
11447
-
11447
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]
|
|
330
|
38123
|
11447
-
11447
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response])
|
|
330
|
31576
|
11450
-
11489
|
Apply
|
org.make.api.user.DialogueModerator.Response.from
|
|
DialogueModerator.Response.from(result)
|
|
330
|
39779
|
11447
-
11447
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
330
|
46304
|
11427
-
11489
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response])))
|
|
330
|
47910
|
11427
-
11489
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(result))
|
|
330
|
38687
|
11427
-
11446
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
330
|
31892
|
11447
-
11447
|
Select
|
org.make.api.user.DialogueModerator.Response.encoder
|
|
DialogueModerator.this.Response.encoder
|
|
341
|
39245
|
11654
-
11657
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.put
|
|
341
|
44055
|
11654
-
14343
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((moderatorId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("UpdateDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.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],)](DefaultAdminDialogueModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => {
val isAdmin: Boolean = scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty;
val isModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Update,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Update]).apply(((request: org.make.api.user.DialogueModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
}))))))
})))))))
|
|
342
|
33001
|
11696
-
11708
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators")
|
|
342
|
44153
|
11683
-
11693
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue")
|
|
342
|
38396
|
11668
-
11723
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
342
|
38192
|
11711
-
11722
|
Select
|
org.make.api.user.DefaultAdminDialogueModeratorApiComponent.DefaultAdminDialogueModeratorApi.moderatorId
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this.moderatorId
|
|
342
|
31403
|
11672
-
11672
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
342
|
46789
|
11673
-
11722
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
342
|
31432
|
11668
-
14335
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.path[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("dialogue"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminDialogueModeratorApi.this._segmentStringToPathMatcher("moderators"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultAdminDialogueModeratorApi.this.moderatorId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((moderatorId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("UpdateDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.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],)](DefaultAdminDialogueModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => {
val isAdmin: Boolean = scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty;
val isModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Update,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Update]).apply(((request: org.make.api.user.DialogueModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
}))))))
}))))))
|
|
342
|
45772
|
11694
-
11694
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
342
|
40272
|
11681
-
11681
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
342
|
33498
|
11709
-
11709
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.admindialoguemoderatorapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
342
|
31365
|
11673
-
11680
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"admin"
|
|
343
|
40026
|
11751
-
11751
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2
|
|
343
|
31888
|
11751
-
11751
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3
|
|
343
|
44915
|
11751
-
11791
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.admindialoguemoderatorapitest
|
DefaultAdminDialogueModeratorApiComponent.this.makeOperation("UpdateDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$3)
|
|
343
|
34842
|
11751
-
14325
|
Apply
|
scala.Function1.apply
|
org.make.api.user.admindialoguemoderatorapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminDialogueModeratorApiComponent.this.makeOperation("UpdateDialogueModerator", DefaultAdminDialogueModeratorApiComponent.this.makeOperation$default$2, DefaultAdminDialogueModeratorApiComponent.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],)](DefaultAdminDialogueModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => {
val isAdmin: Boolean = scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty;
val isModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Update,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Update]).apply(((request: org.make.api.user.DialogueModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
}))))))
}))))
|
|
343
|
44190
|
11765
-
11790
|
Literal
|
<nosymbol>
|
org.make.api.user.admindialoguemoderatorapitest
|
"UpdateDialogueModerator"
|
|
343
|
37413
|
11764
-
11764
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.admindialoguemoderatorapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
344
|
46550
|
11824
-
11824
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
344
|
42426
|
11824
-
14313
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminDialogueModeratorApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => {
val isAdmin: Boolean = scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty;
val isModerator: Boolean = userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Update,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Update]).apply(((request: org.make.api.user.DialogueModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
}))))))
}))
|
|
344
|
50725
|
11824
-
11834
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
|
DefaultAdminDialogueModeratorApiComponent.this.makeOAuth2
|
|
345
|
43946
|
11940
-
11965
|
TypeApply
|
scala.collection.IterableOnceOps.toSet
|
|
userAuth.user.roles.toSet[org.make.core.user.Role]
|
|
345
|
30825
|
11914
-
11928
|
Select
|
org.make.core.user.Role.RoleSuperAdmin
|
|
org.make.core.user.Role.RoleSuperAdmin
|
|
345
|
38432
|
11903
-
11912
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
345
|
40065
|
11899
-
11975
|
Select
|
scala.collection.IterableOnceOps.nonEmpty
|
|
scala.Predef.Set.apply[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin, org.make.core.user.Role.RoleSuperAdmin).intersect(userAuth.user.roles.toSet[org.make.core.user.Role]).nonEmpty
|
|
346
|
44950
|
12008
-
12059
|
Apply
|
scala.collection.SeqOps.contains
|
|
userAuth.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleDialogueModerator)
|
|
346
|
32957
|
12037
-
12058
|
Select
|
org.make.core.user.Role.RoleDialogueModerator
|
|
org.make.core.user.Role.RoleDialogueModerator
|
|
347
|
50560
|
12074
-
14299
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Update,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Update]).apply(((request: org.make.api.user.DialogueModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
}))))))
|
|
347
|
50485
|
12074
-
12148
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultAdminDialogueModeratorApi.this.authorize(isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin))
|
|
347
|
38148
|
12084
-
12147
|
Apply
|
scala.Boolean.||
|
|
isModerator.&&(moderatorId.==(userAuth.user.userId)).||(isAdmin)
|
|
348
|
37519
|
12167
-
14283
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Update,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Update]).apply(((request: org.make.api.user.DialogueModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
})))))
|
|
348
|
47351
|
12167
-
12180
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminDialogueModeratorApi.this.decodeRequest
|
|
349
|
30575
|
12210
-
12210
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)
|
|
349
|
44673
|
12210
-
12210
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder))
|
|
349
|
32991
|
12201
-
12245
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder))))
|
|
349
|
44989
|
12207
-
12207
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Update]
|
|
349
|
39492
|
12210
-
12210
|
Select
|
org.make.api.user.DialogueModerator.Request.Update.decoder
|
|
Request.this.Update.decoder
|
|
349
|
36139
|
12208
-
12244
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)))
|
|
349
|
45033
|
12201
-
14265
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.DialogueModerator.Request.Update,)](DefaultAdminDialogueModeratorApi.this.entity[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApi.this.as[org.make.api.user.DialogueModerator.Request.Update](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DialogueModerator.Request.Update](DefaultAdminDialogueModeratorApiComponent.this.unmarshaller[org.make.api.user.DialogueModerator.Request.Update](Request.this.Update.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DialogueModerator.Request.Update]).apply(((request: org.make.api.user.DialogueModerator.Request.Update) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
}))))
|
|
350
|
48919
|
12313
-
14245
|
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](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val roles: Seq[org.make.core.user.Role] = request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles);
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
}))
|
|
350
|
51216
|
12313
-
12367
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)).asDirectiveOrNotFound
|
|
350
|
37901
|
12313
-
12345
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultAdminDialogueModeratorApiComponent.this.userService.getUser(moderatorId)
|
|
350
|
47100
|
12346
-
12346
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
351
|
44431
|
12459
-
12469
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
351
|
36341
|
12412
-
12470
|
Apply
|
scala.Option.getOrElse
|
|
request.roles.map[Seq[org.make.core.user.Role]](((x$4: Seq[String]) => x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value))))).getOrElse[Seq[org.make.core.user.Role]](user.roles)
|
|
351
|
39532
|
12436
-
12446
|
Apply
|
org.make.core.technical.enumeratum.FallbackingCirceEnum.apply
|
|
org.make.core.user.Role.apply(value)
|
|
351
|
31396
|
12430
-
12447
|
Apply
|
scala.collection.IterableOps.map
|
|
x$4.map[org.make.core.user.Role](((value: String) => org.make.core.user.Role.apply(value)))
|
|
352
|
46545
|
12493
-
12606
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))
|
|
353
|
33036
|
12538
-
12548
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
353
|
46060
|
12572
-
12582
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
353
|
50970
|
12529
-
12582
|
Apply
|
scala.Boolean.||
|
|
roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles))
|
|
353
|
37942
|
12563
-
12582
|
Apply
|
java.lang.Object.==
|
|
roles.==(user.roles)
|
|
354
|
35909
|
12493
-
14223
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminDialogueModeratorApi.this.authorize(roles.!=(user.roles).&&(isAdmin).||(roles.==(user.roles)))).apply({
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
})
|
|
355
|
39571
|
12655
-
12704
|
Apply
|
java.lang.String.toLowerCase
|
|
request.email.getOrElse[String](user.email).toLowerCase()
|
|
356
|
44015
|
12729
-
14199
|
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]](DefaultAdminDialogueModeratorApiComponent.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)))));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
}))
|
|
356
|
44471
|
12729
-
12784
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultAdminDialogueModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)).asDirective
|
|
356
|
36088
|
12773
-
12773
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
356
|
31141
|
12729
-
12772
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultAdminDialogueModeratorApiComponent.this.userService.getUserByEmail(lowerCasedEmail)
|
|
357
|
31179
|
12826
-
13332
|
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)))))
|
|
358
|
38729
|
12889
-
13304
|
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)))
|
|
359
|
42881
|
12940
-
13274
|
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))
|
|
360
|
32180
|
13006
-
13013
|
Literal
|
<nosymbol>
|
|
"email"
|
|
361
|
45559
|
13047
-
13067
|
Literal
|
<nosymbol>
|
|
"already_registered"
|
|
362
|
37699
|
13141
-
13158
|
Select
|
org.make.core.user.UserId.value
|
|
user.userId.value
|
|
362
|
50476
|
13113
-
13158
|
Apply
|
java.lang.Object.==
|
|
userToCheck.userId.value.==(user.userId.value)
|
|
369
|
37726
|
13360
-
13990
|
Apply
|
org.make.api.user.UserService.update
|
|
DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)
|
|
370
|
39281
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
370
|
39317
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
370
|
31440
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$25
|
|
user.copy$default$25
|
|
370
|
39529
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
370
|
37690
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
370
|
45848
|
13439
-
13914
|
Apply
|
org.make.core.user.User.copy
|
|
user.copy(x$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
|
|
370
|
45812
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
370
|
36661
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
370
|
36167
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
370
|
42438
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$23
|
|
user.copy$default$23
|
|
370
|
43721
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
370
|
31684
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
370
|
31971
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
370
|
38191
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
370
|
42677
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
370
|
51003
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
370
|
46056
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
370
|
31650
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$4
|
|
user.copy$default$4
|
|
370
|
49976
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
370
|
35920
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$18
|
|
user.copy$default$18
|
|
370
|
49728
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
370
|
50269
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
370
|
44464
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
370
|
44222
|
13444
-
13444
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
372
|
36127
|
13551
-
13591
|
Apply
|
scala.Option.orElse
|
|
request.firstName.orElse[String](user.firstName)
|
|
372
|
44234
|
13576
-
13590
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
373
|
32220
|
13661
-
13673
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
373
|
46018
|
13635
-
13674
|
Apply
|
scala.Option.getOrElse
|
|
request.country.getOrElse[org.make.core.reference.Country](user.country)
|
|
374
|
50510
|
13719
-
13760
|
Apply
|
scala.Option.getOrElse
|
|
request.language.getOrElse[org.make.core.reference.Language](user.language)
|
|
374
|
37733
|
13746
-
13759
|
Select
|
org.make.core.user.User.language
|
|
user.language
|
|
376
|
42644
|
13859
-
13882
|
Select
|
org.make.api.user.DialogueModerator.Request.Update.availableEvents
|
|
request.availableEvents
|
|
380
|
50756
|
13360
-
14031
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective
|
|
380
|
30962
|
13360
-
14173
|
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](DefaultAdminDialogueModeratorApiComponent.this.userService.update({
<artifact> val x$1: String = lowerCasedEmail;
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.orElse[String](user.firstName);
<artifact> val x$3: org.make.core.reference.Country = request.country.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$4: org.make.core.reference.Language = request.language.getOrElse[org.make.core.reference.Language](user.language);
<artifact> val x$5: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = roles;
<artifact> val x$6: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = request.availableEvents;
<artifact> val x$7: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$11: Boolean = user.copy$default$7;
<artifact> val x$12: Boolean = user.copy$default$8;
<artifact> val x$13: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$14: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$16: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$18: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$18;
<artifact> val x$20: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$21: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$22: Boolean = user.copy$default$21;
<artifact> val x$23: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$25: Boolean = user.copy$default$24;
<artifact> val x$26: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<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$7, x$1, x$2, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$5, x$3, x$4, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$6, x$27, x$28, x$29)
}, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))))
|
|
380
|
42634
|
14020
-
14020
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
381
|
50795
|
14102
-
14102
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))
|
|
381
|
36416
|
14102
-
14102
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
381
|
45890
|
14102
-
14102
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]
|
|
381
|
35384
|
14087
-
14101
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
381
|
31478
|
14105
-
14142
|
Apply
|
org.make.api.user.DialogueModerator.Response.from
|
|
DialogueModerator.Response.from(user)
|
|
381
|
37483
|
14102
-
14102
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response])
|
|
381
|
49158
|
14102
-
14102
|
Select
|
org.make.api.user.DialogueModerator.Response.encoder
|
|
DialogueModerator.this.Response.encoder
|
|
381
|
34806
|
14078
-
14143
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminDialogueModeratorApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response]))))
|
|
381
|
44259
|
14087
-
14142
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user))
|
|
381
|
42389
|
14087
-
14142
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.DialogueModerator.Response](DialogueModerator.Response.from(user)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.DialogueModerator.Response](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminDialogueModeratorApiComponent.this.marshaller[org.make.api.user.DialogueModerator.Response](DialogueModerator.this.Response.encoder, DefaultAdminDialogueModeratorApiComponent.this.marshaller$default$2[org.make.api.user.DialogueModerator.Response])))
|
|
413
|
36967
|
15094
-
15124
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(Create.this.email).toEmail).throwIfInvalid()
|
|
415
|
44010
|
15132
-
15381
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.mandatoryField("firstName", Create.this.firstName, org.make.core.Validation.mandatoryField$default$3), org.make.core.Validation.validateOptionalUserInput("firstName", Create.this.firstName, scala.None), org.make.core.Validation.mandatoryField("country", Create.this.country, org.make.core.Validation.mandatoryField$default$3), org.make.core.Validation.mandatoryField("language", Create.this.language, org.make.core.Validation.mandatoryField$default$3))
|
|
416
|
48962
|
15176
-
15187
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
416
|
42140
|
15189
-
15198
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.firstName
|
|
Create.this.firstName
|
|
416
|
51350
|
15161
-
15199
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("firstName", Create.this.firstName, org.make.core.Validation.mandatoryField$default$3)
|
|
416
|
37978
|
15161
-
15161
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
417
|
34607
|
15248
-
15257
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.firstName
|
|
Create.this.firstName
|
|
417
|
43489
|
15235
-
15246
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
417
|
31475
|
15259
-
15263
|
Select
|
scala.None
|
|
scala.None
|
|
417
|
44507
|
15209
-
15264
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("firstName", Create.this.firstName, scala.None)
|
|
418
|
38022
|
15293
-
15327
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("country", Create.this.country, org.make.core.Validation.mandatoryField$default$3)
|
|
418
|
48994
|
15319
-
15326
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.country
|
|
Create.this.country
|
|
418
|
36998
|
15308
-
15317
|
Literal
|
<nosymbol>
|
|
"country"
|
|
418
|
41902
|
15293
-
15293
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
419
|
31215
|
15337
-
15373
|
Apply
|
org.make.core.Validation.mandatoryField
|
|
org.make.core.Validation.mandatoryField("language", Create.this.language, org.make.core.Validation.mandatoryField$default$3)
|
|
419
|
35404
|
15337
-
15337
|
Select
|
org.make.core.Validation.mandatoryField$default$3
|
|
org.make.core.Validation.mandatoryField$default$3
|
|
419
|
50509
|
15352
-
15362
|
Literal
|
<nosymbol>
|
|
"language"
|
|
419
|
43522
|
15364
-
15372
|
Select
|
org.make.api.user.DialogueModerator.Request.Create.language
|
|
Create.this.language
|
|
423
|
36450
|
15454
-
15475
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.DialogueModerator.Request.Create]({
val inst$macro$28: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Request.Create] = {
final class anon$lazy$macro$27 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$27 = {
anon$lazy$macro$27.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Request.Create] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.DialogueModerator.Request.Create, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.DialogueModerator.Request.Create, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.DialogueModerator.Request.Create, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil](::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableEvents"), shapeless.HNil.type](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")], HNil))))))), Generic.instance[org.make.api.user.DialogueModerator.Request.Create, String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil](((x0$3: org.make.api.user.DialogueModerator.Request.Create) => x0$3 match {
case (email: String, firstName: Option[String], roles: Option[Seq[String]], country: org.make.core.reference.Country, language: org.make.core.reference.Language, availableEvents: Seq[org.make.core.EventId]): org.make.api.user.DialogueModerator.Request.Create((email$macro$20 @ _), (firstName$macro$21 @ _), (roles$macro$22 @ _), (country$macro$23 @ _), (language$macro$24 @ _), (availableEvents$macro$25 @ _)) => ::.apply[String, Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](email$macro$20, ::.apply[Option[String], Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](firstName$macro$21, ::.apply[Option[Seq[String]], org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](roles$macro$22, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](country$macro$23, ::.apply[org.make.core.reference.Language, Seq[org.make.core.EventId] :: shapeless.HNil.type](language$macro$24, ::.apply[Seq[org.make.core.EventId], shapeless.HNil.type](availableEvents$macro$25, HNil)))))).asInstanceOf[String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil]
}), ((x0$4: String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil) => x0$4 match {
case (head: String, tail: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): String :: Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((email$macro$14 @ _), (head: Option[String], tail: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((firstName$macro$15 @ _), (head: Option[Seq[String]], tail: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((roles$macro$16 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((country$macro$17 @ _), (head: org.make.core.reference.Language, tail: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((language$macro$18 @ _), (head: Seq[org.make.core.EventId], tail: shapeless.HNil): Seq[org.make.core.EventId] :: shapeless.HNil((availableEvents$macro$19 @ _), HNil)))))) => Request.this.Create.apply(email$macro$14, firstName$macro$15, roles$macro$16, country$macro$17, language$macro$18, availableEvents$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[Seq[String]] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Option[Seq[String]], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableEvents")]](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableEvents")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("language")]](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("language")]])), 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("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")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$27.this.inst$macro$26)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Request.Create]];
<stable> <accessor> lazy val inst$macro$26: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForemail: io.circe.Decoder[String] = circe.this.Decoder.decodeString;
private[this] val circeGenericDecoderForfirstName: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString);
private[this] val circeGenericDecoderForroles: io.circe.Decoder[Option[Seq[String]]] = circe.this.Decoder.decodeOption[Seq[String]](circe.this.Decoder.decodeSeq[String](circe.this.Decoder.decodeString));
private[this] val circeGenericDecoderForcountry: io.circe.Decoder[org.make.core.reference.Country] = reference.this.Country.countryDecoder;
private[this] val circeGenericDecoderForlanguage: io.circe.Decoder[org.make.core.reference.Language] = reference.this.Language.LanguageDecoder;
private[this] val circeGenericDecoderForavailableEvents: io.circe.Decoder[Seq[org.make.core.EventId]] = circe.this.Decoder.decodeSeq[org.make.core.EventId](core.this.EventId.eventIdDecoder);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("roles"), Option[Seq[String]], shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecode(c.downField("availableEvents")), 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);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("email"), String, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("roles"), Option[Seq[String]], shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecodeAccumulating(c.downField("availableEvents")), 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)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),String] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$27().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Request.Create]](inst$macro$28)
})
|
|
444
|
50060
|
16204
-
16205
|
Literal
|
<nosymbol>
|
|
3
|
|
447
|
48465
|
16254
-
16254
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
447
|
42968
|
16236
-
16263
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$1.toSanitizedInput("email", x$2)
|
|
447
|
37770
|
16255
-
16262
|
Literal
|
<nosymbol>
|
|
"email"
|
|
447
|
41935
|
16236
-
16237
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$5)
|
|
447
|
36205
|
16226
-
16269
|
Apply
|
scala.Option.map
|
|
Update.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$5: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$5);
<artifact> val x$1: String("email") = "email";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("email", x$2)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
447
|
50551
|
16238
-
16238
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$1.toSanitizedInput$default$2
|
|
447
|
35155
|
16254
-
16254
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
447
|
43759
|
16236
-
16268
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$5);
<artifact> val x$1: String("email") = "email";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("email", x$2)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
448
|
48953
|
16289
-
16298
|
Select
|
org.make.core.Validation.StringWithParsers.toEmail
|
|
org.make.core.Validation.StringWithParsers(x$6).toEmail
|
|
448
|
42705
|
16279
-
16304
|
Apply
|
scala.Option.map
|
|
Update.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$6: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$6).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
448
|
37808
|
16291
-
16291
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
448
|
41696
|
16291
-
16291
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
448
|
50589
|
16289
-
16303
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$6).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
449
|
41135
|
16340
-
16340
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
449
|
50340
|
16314
-
16359
|
Apply
|
scala.Option.map
|
|
Update.this.firstName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$7: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.NonEmptyString]({
<artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$7);
<artifact> val x$3: String("firstName") = "firstName";
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.toNonEmpty$default$2;
qual$2.toNonEmpty("firstName", x$4)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
449
|
50014
|
16340
-
16340
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
449
|
48231
|
16341
-
16352
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
449
|
43799
|
16330
-
16330
|
Select
|
org.make.core.Validation.StringWithParsers.toNonEmpty$default$2
|
|
qual$2.toNonEmpty$default$2
|
|
449
|
34597
|
16328
-
16329
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$7)
|
|
449
|
33604
|
16328
-
16358
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.NonEmptyString]({
<artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$7);
<artifact> val x$3: String("firstName") = "firstName";
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.toNonEmpty$default$2;
qual$2.toNonEmpty("firstName", x$4)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
449
|
36241
|
16328
-
16353
|
Apply
|
org.make.core.Validation.StringWithParsers.toNonEmpty
|
|
qual$2.toNonEmpty("firstName", x$4)
|
|
450
|
35994
|
16401
-
16401
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
450
|
42185
|
16383
-
16419
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$8);
<artifact> val x$5: String("firstName") = "firstName";
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2;
qual$3.toSanitizedInput("firstName", x$6)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
450
|
43841
|
16383
-
16414
|
Apply
|
org.make.core.Validation.StringWithParsers.toSanitizedInput
|
|
qual$3.toSanitizedInput("firstName", x$6)
|
|
450
|
47654
|
16385
-
16385
|
Select
|
org.make.core.Validation.StringWithParsers.toSanitizedInput$default$2
|
|
qual$3.toSanitizedInput$default$2
|
|
450
|
43515
|
16383
-
16384
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$8)
|
|
450
|
50049
|
16401
-
16401
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
450
|
35660
|
16402
-
16413
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
450
|
34072
|
16369
-
16420
|
Apply
|
scala.Option.map
|
|
Update.this.firstName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$8: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$8);
<artifact> val x$5: String("firstName") = "firstName";
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2;
qual$3.toSanitizedInput("firstName", x$6)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
451
|
43276
|
16442
-
16449
|
ApplyImplicitView
|
org.make.core.Validation.StringWithParsers
|
|
org.make.core.Validation.StringWithParsers(x$9.value)
|
|
451
|
50830
|
16442
-
16497
|
Select
|
cats.Functor.Ops.void
|
|
cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength]({
<artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9.value);
<artifact> val x$7: Int = Update.this.maxCountryLength;
<artifact> val x$8: String("country") = "country";
<artifact> val x$9: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4;
qual$4.withMaxLength(x$7, "country", x$9, x$10)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void
|
|
451
|
34106
|
16463
-
16463
|
ApplyToImplicitArgs
|
cats.data.ValidatedInstances.catsDataApplicativeErrorForValidated
|
|
data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])
|
|
451
|
35697
|
16464
-
16480
|
Select
|
org.make.api.user.DialogueModerator.Request.Update.maxCountryLength
|
|
Update.this.maxCountryLength
|
|
451
|
50375
|
16442
-
16449
|
Select
|
org.make.core.reference.Country.value
|
|
x$9.value
|
|
451
|
43314
|
16430
-
16498
|
Apply
|
scala.Option.map
|
|
Update.this.country.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$9: org.make.core.reference.Country) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength]({
<artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9.value);
<artifact> val x$7: Int = Update.this.maxCountryLength;
<artifact> val x$8: String("country") = "country";
<artifact> val x$9: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4;
qual$4.withMaxLength(x$7, "country", x$9, x$10)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))
|
|
451
|
48455
|
16482
-
16491
|
Literal
|
<nosymbol>
|
|
"country"
|
|
451
|
42225
|
16463
-
16463
|
TypeApply
|
cats.data.NonEmptyChainInstances.catsDataSemigroupForNonEmptyChain
|
|
data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError]
|
|
451
|
36785
|
16450
-
16450
|
Select
|
org.make.core.Validation.StringWithParsers.withMaxLength$default$4
|
|
qual$4.withMaxLength$default$4
|
|
451
|
44297
|
16450
-
16450
|
Select
|
org.make.core.Validation.StringWithParsers.withMaxLength$default$3
|
|
qual$4.withMaxLength$default$3
|
|
451
|
49806
|
16442
-
16492
|
Apply
|
org.make.core.Validation.StringWithParsers.withMaxLength
|
|
qual$4.withMaxLength(x$7, "country", x$9, x$10)
|
|
452
|
40623
|
16213
-
16542
|
Apply
|
scala.collection.IterableOnceOps.foreach
|
|
scala.`package`.Seq.apply[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]](Update.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$5: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$1: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$5);
<artifact> val x$1: String("email") = "email";
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$1.toSanitizedInput$default$2;
qual$1.toSanitizedInput("email", x$2)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), Update.this.email.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$6: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.Email](org.make.core.Validation.StringWithParsers(x$6).toEmail)(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), Update.this.firstName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$7: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.NonEmptyString]({
<artifact> val qual$2: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$7);
<artifact> val x$3: String("firstName") = "firstName";
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$2.toNonEmpty$default$2;
qual$2.toNonEmpty("firstName", x$4)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), Update.this.firstName.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$8: String) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]]({
<artifact> val qual$3: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$8);
<artifact> val x$5: String("firstName") = "firstName";
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$3.toSanitizedInput$default$2;
qual$3.toSanitizedInput("firstName", x$6)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void)), Update.this.country.map[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](((x$9: org.make.core.reference.Country) => cats.implicits.toFunctorOps[[+A]cats.data.ValidatedNec[org.make.core.ValidationError,A], org.make.core.Validation.StringWithMaxLength]({
<artifact> val qual$4: org.make.core.Validation.StringWithParsers = org.make.core.Validation.StringWithParsers(x$9.value);
<artifact> val x$7: Int = Update.this.maxCountryLength;
<artifact> val x$8: String("country") = "country";
<artifact> val x$9: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$3;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = qual$4.withMaxLength$default$4;
qual$4.withMaxLength(x$7, "country", x$9, x$10)
})(data.this.Validated.catsDataApplicativeErrorForValidated[cats.data.NonEmptyChain[org.make.core.ValidationError]](data.this.NonEmptyChainImpl.catsDataSemigroupForNonEmptyChain[org.make.core.ValidationError])).void))).flatten[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]](scala.Predef.$conforms[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]]).foreach[Unit](((x$10: cats.data.ValidatedNec[org.make.core.ValidationError,Unit]) => org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](x$10).throwIfInvalid()))
|
|
452
|
35449
|
16507
-
16507
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[Option[cats.data.ValidatedNec[org.make.core.ValidationError,Unit]]]
|
|
452
|
48216
|
16523
-
16541
|
Apply
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils.throwIfInvalid
|
|
org.make.core.technical.ValidatedUtils.ValidatedNecWithUtils[Unit](x$10).throwIfInvalid()
|
|
456
|
35944
|
16616
-
16637
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.DialogueModerator.Request.Update]({
val inst$macro$28: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Request.Update] = {
final class anon$lazy$macro$27 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$27 = {
anon$lazy$macro$27.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Request.Update] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.DialogueModerator.Request.Update, shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.DialogueModerator.Request.Update, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.DialogueModerator.Request.Update, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil](::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableEvents"), shapeless.HNil.type](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")], HNil))))))), Generic.instance[org.make.api.user.DialogueModerator.Request.Update, Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil](((x0$3: org.make.api.user.DialogueModerator.Request.Update) => x0$3 match {
case (email: Option[String], firstName: Option[String], roles: Option[Seq[String]], country: Option[org.make.core.reference.Country], language: Option[org.make.core.reference.Language], availableEvents: Seq[org.make.core.EventId]): org.make.api.user.DialogueModerator.Request.Update((email$macro$20 @ _), (firstName$macro$21 @ _), (roles$macro$22 @ _), (country$macro$23 @ _), (language$macro$24 @ _), (availableEvents$macro$25 @ _)) => ::.apply[Option[String], Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil.type](email$macro$20, ::.apply[Option[String], Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil.type](firstName$macro$21, ::.apply[Option[Seq[String]], Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil.type](roles$macro$22, ::.apply[Option[org.make.core.reference.Country], Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil.type](country$macro$23, ::.apply[Option[org.make.core.reference.Language], Seq[org.make.core.EventId] :: shapeless.HNil.type](language$macro$24, ::.apply[Seq[org.make.core.EventId], shapeless.HNil.type](availableEvents$macro$25, HNil)))))).asInstanceOf[Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil]
}), ((x0$4: Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil) => x0$4 match {
case (head: Option[String], tail: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((email$macro$14 @ _), (head: Option[String], tail: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((firstName$macro$15 @ _), (head: Option[Seq[String]], tail: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((roles$macro$16 @ _), (head: Option[org.make.core.reference.Country], tail: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((country$macro$17 @ _), (head: Option[org.make.core.reference.Language], tail: Seq[org.make.core.EventId] :: shapeless.HNil): Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil((language$macro$18 @ _), (head: Seq[org.make.core.EventId], tail: shapeless.HNil): Seq[org.make.core.EventId] :: shapeless.HNil((availableEvents$macro$19 @ _), HNil)))))) => Request.this.Update.apply(email$macro$14, firstName$macro$15, roles$macro$16, country$macro$17, language$macro$18, availableEvents$macro$19)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), Option[String], (Symbol @@ String("firstName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[Seq[String]] :: Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Option[Seq[String]], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[org.make.core.reference.Country] :: Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), Option[org.make.core.reference.Country], (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[org.make.core.reference.Language] :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), Option[org.make.core.reference.Language], (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableEvents")]](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableEvents")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("language")]](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("language")]])), 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("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")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$27.this.inst$macro$26)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Request.Update]];
<stable> <accessor> lazy val inst$macro$26: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForfirstName: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](circe.this.Decoder.decodeString);
private[this] val circeGenericDecoderForroles: io.circe.Decoder[Option[Seq[String]]] = circe.this.Decoder.decodeOption[Seq[String]](circe.this.Decoder.decodeSeq[String](circe.this.Decoder.decodeString));
private[this] val circeGenericDecoderForcountry: io.circe.Decoder[Option[org.make.core.reference.Country]] = circe.this.Decoder.decodeOption[org.make.core.reference.Country](reference.this.Country.countryDecoder);
private[this] val circeGenericDecoderForlanguage: io.circe.Decoder[Option[org.make.core.reference.Language]] = circe.this.Decoder.decodeOption[org.make.core.reference.Language](reference.this.Language.LanguageDecoder);
private[this] val circeGenericDecoderForavailableEvents: io.circe.Decoder[Seq[org.make.core.EventId]] = circe.this.Decoder.decodeSeq[org.make.core.EventId](core.this.EventId.eventIdDecoder);
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("email"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecode(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("roles"), Option[Seq[String]], shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecode(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("country"), Option[org.make.core.reference.Country], shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("language"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecode(c.downField("availableEvents")), 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);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("email"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecodeAccumulating(c.downField("email")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("firstName"), Option[String], shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForfirstName.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("roles"), Option[Seq[String]], shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForroles.tryDecodeAccumulating(c.downField("roles")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("country"), Option[org.make.core.reference.Country], shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("language"), Option[org.make.core.reference.Language], shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecodeAccumulating(c.downField("availableEvents")), 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)
};
new $anon()
}: io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.decoding.ReprDecoder[shapeless.labelled.FieldType[Symbol @@ String("email"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("roles"),Option[Seq[String]]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),Option[org.make.core.reference.Country]] :: shapeless.labelled.FieldType[Symbol @@ String("language"),Option[org.make.core.reference.Language]] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$27().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Request.Update]](inst$macro$28)
})
|
|
479
|
51386
|
17412
-
17608
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateUserInput("email", Response.this.email, scala.None), org.make.core.Validation.validateOptionalUserInput("firstName", Response.this.firstName, scala.None), org.make.core.Validation.validateOptionalUserInput("lastName", Response.this.lastName, scala.None))
|
|
480
|
49837
|
17457
-
17464
|
Literal
|
<nosymbol>
|
|
"email"
|
|
480
|
33861
|
17473
-
17477
|
Select
|
scala.None
|
|
scala.None
|
|
480
|
50335
|
17439
-
17478
|
Apply
|
org.make.core.Validation.validateUserInput
|
|
org.make.core.Validation.validateUserInput("email", Response.this.email, scala.None)
|
|
480
|
41719
|
17466
-
17471
|
Select
|
org.make.api.user.DialogueModerator.Response.email
|
|
Response.this.email
|
|
481
|
40381
|
17486
-
17541
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("firstName", Response.this.firstName, scala.None)
|
|
481
|
42462
|
17512
-
17523
|
Literal
|
<nosymbol>
|
|
"firstName"
|
|
481
|
48251
|
17536
-
17540
|
Select
|
scala.None
|
|
scala.None
|
|
481
|
35484
|
17525
-
17534
|
Select
|
org.make.api.user.DialogueModerator.Response.firstName
|
|
Response.this.firstName
|
|
482
|
41476
|
17597
-
17601
|
Select
|
scala.None
|
|
scala.None
|
|
482
|
33897
|
17549
-
17602
|
Apply
|
org.make.core.Validation.validateOptionalUserInput
|
|
org.make.core.Validation.validateOptionalUserInput("lastName", Response.this.lastName, scala.None)
|
|
482
|
49265
|
17587
-
17595
|
Select
|
org.make.api.user.DialogueModerator.Response.lastName
|
|
Response.this.lastName
|
|
482
|
35989
|
17575
-
17585
|
Literal
|
<nosymbol>
|
|
"lastName"
|
|
486
|
42499
|
17703
-
17726
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveEncoder
|
|
io.circe.generic.semiauto.deriveEncoder[org.make.api.user.DialogueModerator.Response]({
val inst$macro$36: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.DialogueModerator.Response] = {
final class anon$lazy$macro$35 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$35 = {
anon$lazy$macro$35.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.DialogueModerator.Response] = encoding.this.DerivedAsObjectEncoder.deriveEncoder[org.make.api.user.DialogueModerator.Response, 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.DialogueModerator.Response, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.DialogueModerator.Response, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableEvents"), shapeless.HNil.type](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")], HNil))))))))), Generic.instance[org.make.api.user.DialogueModerator.Response, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil](((x0$3: org.make.api.user.DialogueModerator.Response) => x0$3 match {
case (id: org.make.core.user.UserId, email: String, firstName: Option[String], lastName: Option[String], roles: Seq[org.make.core.user.Role], country: org.make.core.reference.Country, language: org.make.core.reference.Language, availableEvents: Seq[org.make.core.EventId]): org.make.api.user.DialogueModerator.Response((id$macro$26 @ _), (email$macro$27 @ _), (firstName$macro$28 @ _), (lastName$macro$29 @ _), (roles$macro$30 @ _), (country$macro$31 @ _), (language$macro$32 @ _), (availableEvents$macro$33 @ _)) => ::.apply[org.make.core.user.UserId, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](id$macro$26, ::.apply[String, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](email$macro$27, ::.apply[Option[String], Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](firstName$macro$28, ::.apply[Option[String], Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](lastName$macro$29, ::.apply[Seq[org.make.core.user.Role], org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](roles$macro$30, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](country$macro$31, ::.apply[org.make.core.reference.Language, Seq[org.make.core.EventId] :: shapeless.HNil.type](language$macro$32, ::.apply[Seq[org.make.core.EventId], shapeless.HNil.type](availableEvents$macro$33, HNil)))))))).asInstanceOf[org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil]
}), ((x0$4: org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.user.UserId, tail: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((id$macro$18 @ _), (head: String, tail: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((email$macro$19 @ _), (head: Option[String], tail: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((firstName$macro$20 @ _), (head: Option[String], tail: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((lastName$macro$21 @ _), (head: Seq[org.make.core.user.Role], tail: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((roles$macro$22 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((country$macro$23 @ _), (head: org.make.core.reference.Language, tail: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((language$macro$24 @ _), (head: Seq[org.make.core.EventId], tail: shapeless.HNil): Seq[org.make.core.EventId] :: shapeless.HNil((availableEvents$macro$25 @ _), HNil)))))))) => DialogueModerator.this.Response.apply(id$macro$18, email$macro$19, firstName$macro$20, lastName$macro$21, roles$macro$22, country$macro$23, language$macro$24, availableEvents$macro$25)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.user.UserId, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Seq[org.make.core.user.Role], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableEvents")]](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableEvents")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("language")]](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("language")]])), 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("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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$35.this.inst$macro$34)).asInstanceOf[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.DialogueModerator.Response]];
<stable> <accessor> lazy val inst$macro$34: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericEncoderForid: io.circe.Encoder[org.make.core.user.UserId] = Response.this.stringValueEncoder[org.make.core.user.UserId];
private[this] val circeGenericEncoderForemail: io.circe.Encoder[String] = circe.this.Encoder.encodeString;
private[this] val circeGenericEncoderForlastName: io.circe.Encoder[Option[String]] = circe.this.Encoder.encodeOption[String](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] = Response.this.stringValueEncoder[org.make.core.reference.Country];
private[this] val circeGenericEncoderForlanguage: io.circe.Encoder[org.make.core.reference.Language] = Response.this.stringValueEncoder[org.make.core.reference.Language];
private[this] val circeGenericEncoderForavailableEvents: io.circe.Encoder.AsArray[Seq[org.make.core.EventId]] = circe.this.Encoder.encodeSeq[org.make.core.EventId](Response.this.stringValueEncoder[org.make.core.EventId]);
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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForfirstName @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]], 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlastName @ _), (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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForcountry @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language], tail: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlanguage @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForavailableEvents @ _), 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.circeGenericEncoderForlastName.apply(circeGenericHListBindingForfirstName)), scala.Tuple2.apply[String, io.circe.Json]("lastName", $anon.this.circeGenericEncoderForlastName.apply(circeGenericHListBindingForlastName)), 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]("language", $anon.this.circeGenericEncoderForlanguage.apply(circeGenericHListBindingForlanguage)), scala.Tuple2.apply[String, io.circe.Json]("availableEvents", $anon.this.circeGenericEncoderForavailableEvents.apply(circeGenericHListBindingForavailableEvents))))
}
};
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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$35().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.encoding.DerivedAsObjectEncoder[org.make.api.user.DialogueModerator.Response]](inst$macro$36)
})
|
|
487
|
35688
|
17773
-
17796
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveDecoder
|
|
io.circe.generic.semiauto.deriveDecoder[org.make.api.user.DialogueModerator.Response]({
val inst$macro$72: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Response] = {
final class anon$lazy$macro$71 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$71 = {
anon$lazy$macro$71.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$37: io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Response] = decoding.this.DerivedDecoder.deriveDecoder[org.make.api.user.DialogueModerator.Response, 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.user.DialogueModerator.Response, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.user.DialogueModerator.Response, (Symbol @@ String("id")) :: (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil](::.apply[Symbol @@ String("id"), (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("id").asInstanceOf[Symbol @@ String("id")], ::.apply[Symbol @@ String("email"), (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("email").asInstanceOf[Symbol @@ String("email")], ::.apply[Symbol @@ String("firstName"), (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("firstName").asInstanceOf[Symbol @@ String("firstName")], ::.apply[Symbol @@ String("lastName"), (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("lastName").asInstanceOf[Symbol @@ String("lastName")], ::.apply[Symbol @@ String("roles"), (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("roles").asInstanceOf[Symbol @@ String("roles")], ::.apply[Symbol @@ String("country"), (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("country").asInstanceOf[Symbol @@ String("country")], ::.apply[Symbol @@ String("language"), (Symbol @@ String("availableEvents")) :: shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], ::.apply[Symbol @@ String("availableEvents"), shapeless.HNil.type](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")], HNil))))))))), Generic.instance[org.make.api.user.DialogueModerator.Response, org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil](((x0$7: org.make.api.user.DialogueModerator.Response) => x0$7 match {
case (id: org.make.core.user.UserId, email: String, firstName: Option[String], lastName: Option[String], roles: Seq[org.make.core.user.Role], country: org.make.core.reference.Country, language: org.make.core.reference.Language, availableEvents: Seq[org.make.core.EventId]): org.make.api.user.DialogueModerator.Response((id$macro$62 @ _), (email$macro$63 @ _), (firstName$macro$64 @ _), (lastName$macro$65 @ _), (roles$macro$66 @ _), (country$macro$67 @ _), (language$macro$68 @ _), (availableEvents$macro$69 @ _)) => ::.apply[org.make.core.user.UserId, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](id$macro$62, ::.apply[String, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](email$macro$63, ::.apply[Option[String], Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](firstName$macro$64, ::.apply[Option[String], Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](lastName$macro$65, ::.apply[Seq[org.make.core.user.Role], org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](roles$macro$66, ::.apply[org.make.core.reference.Country, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil.type](country$macro$67, ::.apply[org.make.core.reference.Language, Seq[org.make.core.EventId] :: shapeless.HNil.type](language$macro$68, ::.apply[Seq[org.make.core.EventId], shapeless.HNil.type](availableEvents$macro$69, HNil)))))))).asInstanceOf[org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil]
}), ((x0$8: org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil) => x0$8 match {
case (head: org.make.core.user.UserId, tail: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.user.UserId :: String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((id$macro$54 @ _), (head: String, tail: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((email$macro$55 @ _), (head: Option[String], tail: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((firstName$macro$56 @ _), (head: Option[String], tail: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((lastName$macro$57 @ _), (head: Seq[org.make.core.user.Role], tail: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((roles$macro$58 @ _), (head: org.make.core.reference.Country, tail: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((country$macro$59 @ _), (head: org.make.core.reference.Language, tail: Seq[org.make.core.EventId] :: shapeless.HNil): org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil((language$macro$60 @ _), (head: Seq[org.make.core.EventId], tail: shapeless.HNil): Seq[org.make.core.EventId] :: shapeless.HNil((availableEvents$macro$61 @ _), HNil)))))))) => DialogueModerator.this.Response.apply(id$macro$54, email$macro$55, firstName$macro$56, lastName$macro$57, roles$macro$58, country$macro$59, language$macro$60, availableEvents$macro$61)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("id"), org.make.core.user.UserId, (Symbol @@ String("email")) :: (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, String :: Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("email"), String, (Symbol @@ String("firstName")) :: (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("firstName"),Option[String]] :: shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("firstName"), Option[String], (Symbol @@ String("lastName")) :: (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Option[String] :: Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("lastName"),Option[String]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("lastName"), Option[String], (Symbol @@ String("roles")) :: (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.user.Role] :: org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("roles"), Seq[org.make.core.user.Role], (Symbol @@ String("country")) :: (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Country :: org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("country"), org.make.core.reference.Country, (Symbol @@ String("language")) :: (Symbol @@ String("availableEvents")) :: shapeless.HNil, org.make.core.reference.Language :: Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, (Symbol @@ String("availableEvents")) :: shapeless.HNil, Seq[org.make.core.EventId] :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("availableEvents")]](scala.Symbol.apply("availableEvents").asInstanceOf[Symbol @@ String("availableEvents")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("availableEvents")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("language")]](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("language")]])), 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("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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$71.this.inst$macro$70)).asInstanceOf[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Response]];
<stable> <accessor> lazy val inst$macro$70: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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 circeGenericDecoderForlastName: io.circe.Decoder[Option[String]] = circe.this.Decoder.decodeOption[String](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 circeGenericDecoderForlanguage: io.circe.Decoder[org.make.core.reference.Language] = reference.this.Language.LanguageDecoder;
private[this] val circeGenericDecoderForavailableEvents: io.circe.Decoder[Seq[org.make.core.EventId]] = circe.this.Decoder.decodeSeq[org.make.core.EventId](core.this.EventId.eventIdDecoder);
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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecode(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("lastName"), Option[String], 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecode(c.downField("lastName")), 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecode(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecode(c.downField("availableEvents")), 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);
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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecodeAccumulating(c.downField("firstName")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("lastName"), Option[String], 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlastName.tryDecodeAccumulating(c.downField("lastName")), 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForcountry.tryDecodeAccumulating(c.downField("country")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("availableEvents"), Seq[org.make.core.EventId], shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForavailableEvents.tryDecodeAccumulating(c.downField("availableEvents")), 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)
};
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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: 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("roles"),Seq[org.make.core.user.Role]] :: shapeless.labelled.FieldType[Symbol @@ String("country"),org.make.core.reference.Country] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.labelled.FieldType[Symbol @@ String("availableEvents"),Seq[org.make.core.EventId]] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$71().inst$macro$37
};
shapeless.Lazy.apply[io.circe.generic.decoding.DerivedDecoder[org.make.api.user.DialogueModerator.Response]](inst$macro$72)
})
|
|
489
|
35440
|
17835
-
18099
|
Apply
|
org.make.api.user.DialogueModerator.Response.apply
|
|
DialogueModerator.this.Response.apply(user.userId, user.email, user.firstName, user.lastName, user.roles, user.country, user.language, user.availableEvents)
|
|
490
|
48010
|
17856
-
17867
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
491
|
40416
|
17883
-
17893
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
492
|
37032
|
17913
-
17927
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
493
|
49030
|
17946
-
17959
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
494
|
42215
|
17975
-
17985
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
495
|
33651
|
18003
-
18015
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
496
|
46402
|
18034
-
18047
|
Select
|
org.make.core.user.User.language
|
|
user.language
|
|
497
|
42537
|
18073
-
18093
|
Select
|
org.make.core.user.User.availableEvents
|
|
user.availableEvents
|