| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
465
|
42346
|
16848
-
16873
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)
|
|
465
|
33121
|
16848
-
16853
|
Select
|
org.make.api.user.UserApi.getMe
|
org.make.api.user.userapitest
|
UserApi.this.getMe
|
|
466
|
48552
|
16848
-
16890
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)
|
|
466
|
50749
|
16862
-
16873
|
Select
|
org.make.api.user.UserApi.currentUser
|
org.make.api.user.userapitest
|
UserApi.this.currentUser
|
|
467
|
35861
|
16848
-
16910
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)
|
|
467
|
34760
|
16882
-
16890
|
Select
|
org.make.api.user.UserApi.register
|
org.make.api.user.userapitest
|
UserApi.this.register
|
|
468
|
42060
|
16848
-
16944
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)
|
|
468
|
44665
|
16899
-
16910
|
Select
|
org.make.api.user.UserApi.socialLogin
|
org.make.api.user.userapitest
|
UserApi.this.socialLogin
|
|
469
|
48870
|
16919
-
16944
|
Select
|
org.make.api.user.UserApi.resetPasswordRequestRoute
|
org.make.api.user.userapitest
|
UserApi.this.resetPasswordRequestRoute
|
|
469
|
51208
|
16848
-
16976
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)
|
|
470
|
34196
|
16953
-
16976
|
Select
|
org.make.api.user.UserApi.resetPasswordCheckRoute
|
org.make.api.user.userapitest
|
UserApi.this.resetPasswordCheckRoute
|
|
470
|
34518
|
16848
-
17003
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)
|
|
471
|
42379
|
16985
-
17003
|
Select
|
org.make.api.user.UserApi.resetPasswordRoute
|
org.make.api.user.userapitest
|
UserApi.this.resetPasswordRoute
|
|
471
|
44707
|
16848
-
17032
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)
|
|
472
|
48906
|
16848
-
17064
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)
|
|
472
|
48583
|
17012
-
17032
|
Select
|
org.make.api.user.UserApi.validateAccountRoute
|
org.make.api.user.userapitest
|
UserApi.this.validateAccountRoute
|
|
473
|
36329
|
17041
-
17064
|
Select
|
org.make.api.user.UserApi.getVotedProposalsByUser
|
org.make.api.user.userapitest
|
UserApi.this.getVotedProposalsByUser
|
|
473
|
34234
|
16848
-
17091
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)
|
|
474
|
42833
|
16848
-
17116
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)
|
|
474
|
41813
|
17073
-
17091
|
Select
|
org.make.api.user.UserApi.getProposalsByUser
|
org.make.api.user.userapitest
|
UserApi.this.getProposalsByUser
|
|
475
|
48348
|
16848
-
17139
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)
|
|
475
|
50710
|
17100
-
17116
|
Select
|
org.make.api.user.UserApi.patchCurrentUser
|
org.make.api.user.userapitest
|
UserApi.this.patchCurrentUser
|
|
476
|
35315
|
17125
-
17139
|
Select
|
org.make.api.user.UserApi.changePassword
|
org.make.api.user.userapitest
|
UserApi.this.changePassword
|
|
476
|
36370
|
16848
-
17158
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)
|
|
477
|
40761
|
17148
-
17158
|
Select
|
org.make.api.user.UserApi.deleteUser
|
org.make.api.user.userapitest
|
UserApi.this.deleteUser
|
|
477
|
41851
|
16848
-
17177
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)
|
|
478
|
50463
|
16848
-
17198
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)
|
|
478
|
49360
|
17167
-
17177
|
Select
|
org.make.api.user.UserApi.followUser
|
org.make.api.user.userapitest
|
UserApi.this.followUser
|
|
479
|
34475
|
16848
-
17220
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)).~(UserApi.this.reconnectInfo)
|
|
479
|
34270
|
17186
-
17198
|
Select
|
org.make.api.user.UserApi.unfollowUser
|
org.make.api.user.userapitest
|
UserApi.this.unfollowUser
|
|
480
|
40246
|
16848
-
17250
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)).~(UserApi.this.reconnectInfo)).~(UserApi.this.resendValidationEmail)
|
|
480
|
42875
|
17207
-
17220
|
Select
|
org.make.api.user.UserApi.reconnectInfo
|
org.make.api.user.userapitest
|
UserApi.this.reconnectInfo
|
|
481
|
48865
|
16848
-
17271
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)).~(UserApi.this.reconnectInfo)).~(UserApi.this.resendValidationEmail)).~(UserApi.this.uploadAvatar)
|
|
481
|
48382
|
17229
-
17250
|
Select
|
org.make.api.user.UserApi.resendValidationEmail
|
org.make.api.user.userapitest
|
UserApi.this.resendValidationEmail
|
|
482
|
36111
|
17259
-
17271
|
Select
|
org.make.api.user.UserApi.uploadAvatar
|
org.make.api.user.userapitest
|
UserApi.this.uploadAvatar
|
|
482
|
34032
|
16848
-
17294
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)).~(UserApi.this.reconnectInfo)).~(UserApi.this.resendValidationEmail)).~(UserApi.this.uploadAvatar)).~(UserApi.this.getUserProfile)
|
|
483
|
42630
|
16848
-
17320
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)).~(UserApi.this.reconnectInfo)).~(UserApi.this.resendValidationEmail)).~(UserApi.this.uploadAvatar)).~(UserApi.this.getUserProfile)).~(UserApi.this.modifyUserProfile)
|
|
483
|
41283
|
17280
-
17294
|
Select
|
org.make.api.user.UserApi.getUserProfile
|
org.make.api.user.userapitest
|
UserApi.this.getUserProfile
|
|
484
|
50501
|
17303
-
17320
|
Select
|
org.make.api.user.UserApi.modifyUserProfile
|
org.make.api.user.userapitest
|
UserApi.this.modifyUserProfile
|
|
484
|
47817
|
16848
-
17345
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)).~(UserApi.this.reconnectInfo)).~(UserApi.this.resendValidationEmail)).~(UserApi.this.uploadAvatar)).~(UserApi.this.getUserProfile)).~(UserApi.this.modifyUserProfile)).~(UserApi.this.getPrivacyPolicy)
|
|
485
|
36155
|
16848
-
17376
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)).~(UserApi.this.reconnectInfo)).~(UserApi.this.resendValidationEmail)).~(UserApi.this.uploadAvatar)).~(UserApi.this.getUserProfile)).~(UserApi.this.modifyUserProfile)).~(UserApi.this.getPrivacyPolicy)).~(UserApi.this.getSocialPrivacyPolicy)
|
|
485
|
34510
|
17329
-
17345
|
Select
|
org.make.api.user.UserApi.getPrivacyPolicy
|
org.make.api.user.userapitest
|
UserApi.this.getPrivacyPolicy
|
|
486
|
40010
|
17354
-
17376
|
Select
|
org.make.api.user.UserApi.getSocialPrivacyPolicy
|
org.make.api.user.userapitest
|
UserApi.this.getSocialPrivacyPolicy
|
|
486
|
41046
|
16848
-
17402
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.user.userapitest
|
UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this._enhanceRouteWithConcatenation(UserApi.this.getMe).~(UserApi.this.currentUser)).~(UserApi.this.register)).~(UserApi.this.socialLogin)).~(UserApi.this.resetPasswordRequestRoute)).~(UserApi.this.resetPasswordCheckRoute)).~(UserApi.this.resetPasswordRoute)).~(UserApi.this.validateAccountRoute)).~(UserApi.this.getVotedProposalsByUser)).~(UserApi.this.getProposalsByUser)).~(UserApi.this.patchCurrentUser)).~(UserApi.this.changePassword)).~(UserApi.this.deleteUser)).~(UserApi.this.followUser)).~(UserApi.this.unfollowUser)).~(UserApi.this.reconnectInfo)).~(UserApi.this.resendValidationEmail)).~(UserApi.this.uploadAvatar)).~(UserApi.this.getUserProfile)).~(UserApi.this.modifyUserProfile)).~(UserApi.this.getPrivacyPolicy)).~(UserApi.this.getSocialPrivacyPolicy)).~(UserApi.this.checkRegistration)
|
|
487
|
49928
|
17385
-
17402
|
Select
|
org.make.api.user.UserApi.checkRegistration
|
org.make.api.user.userapitest
|
UserApi.this.checkRegistration
|
|
490
|
43434
|
17445
-
17474
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.user.userapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](UserApi.this.Segment).map[org.make.core.user.UserId](((id: String) => org.make.core.user.UserId.apply(id)))
|
|
490
|
34225
|
17445
-
17452
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.userapitest
|
UserApi.this.Segment
|
|
490
|
46534
|
17463
-
17473
|
Apply
|
org.make.core.user.UserId.apply
|
org.make.api.user.userapitest
|
org.make.core.user.UserId.apply(id)
|
|
524
|
40280
|
18353
-
19620
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("profile"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetUserProfile", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(userId.==(userAuth.user.userId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))))))))))
|
|
524
|
34552
|
18353
-
18356
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.userapitest
|
DefaultUserApi.this.get
|
|
525
|
47266
|
18372
-
18399
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("profile"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
525
|
35612
|
18371
-
18371
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
525
|
43184
|
18367
-
18400
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("profile"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
525
|
47565
|
18372
-
18378
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
525
|
41084
|
18388
-
18388
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
525
|
33984
|
18388
-
18388
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
525
|
40751
|
18381
-
18387
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
525
|
48693
|
18367
-
19612
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("profile"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetUserProfile", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(userId.==(userAuth.user.userId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse])))))))))))))
|
|
525
|
35905
|
18379
-
18379
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
525
|
49964
|
18390
-
18399
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("profile")
|
|
526
|
32908
|
18423
-
18423
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
526
|
40503
|
18423
-
18423
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
526
|
42138
|
18436
-
18436
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
526
|
35394
|
18423
-
19602
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetUserProfile", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(userId.==(userAuth.user.userId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse])))))))))))
|
|
526
|
48370
|
18437
-
18453
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"GetUserProfile"
|
|
526
|
50003
|
18423
-
18454
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("GetUserProfile", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
527
|
47017
|
18474
-
18474
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
527
|
38495
|
18474
-
19590
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(userId.==(userAuth.user.userId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse])))))))))
|
|
527
|
34021
|
18474
-
18484
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
528
|
47044
|
18535
-
19576
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(userId.==(userAuth.user.userId))).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse])))))))
|
|
528
|
35650
|
18545
-
18575
|
Apply
|
java.lang.Object.==
|
|
userId.==(userAuth.user.userId)
|
|
528
|
48131
|
18535
-
18576
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultUserApi.this.authorize(userId.==(userAuth.user.userId))
|
|
528
|
42622
|
18555
-
18575
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
529
|
49146
|
18623
-
18623
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
529
|
34303
|
18595
-
19560
|
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](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
|
|
529
|
40541
|
18595
-
18622
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultUserApiComponent.this.userService.getUser(userId)
|
|
529
|
32394
|
18595
-
18644
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound
|
|
530
|
41887
|
18673
-
19542
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))
|
|
531
|
31951
|
18722
-
18722
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))
|
|
531
|
40531
|
18722
-
18722
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse])
|
|
531
|
48656
|
18722
-
18722
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]
|
|
531
|
35356
|
18722
-
18722
|
Select
|
org.make.api.user.UserProfileResponse.encoder
|
|
user.this.UserProfileResponse.encoder
|
|
531
|
49747
|
18703
-
19522
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse])))
|
|
531
|
38740
|
18703
-
19522
|
Apply
|
org.make.api.user.UserProfileResponse.apply
|
|
UserProfileResponse.apply(user.email, user.firstName, user.lastName, user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth)), user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl)), user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession)), user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description)), user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode)), user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter)), user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website)), user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage)))
|
|
532
|
41633
|
18754
-
18764
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
533
|
33779
|
18800
-
18814
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
534
|
47054
|
18849
-
18862
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
535
|
34794
|
18900
-
18935
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[java.time.LocalDate](((x$2: org.make.core.profile.Profile) => x$2.dateOfBirth))
|
|
535
|
42665
|
18921
-
18934
|
Select
|
org.make.core.profile.Profile.dateOfBirth
|
|
x$2.dateOfBirth
|
|
536
|
40289
|
18971
-
19004
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$3: org.make.core.profile.Profile) => x$3.avatarUrl))
|
|
536
|
48168
|
18992
-
19003
|
Select
|
org.make.core.profile.Profile.avatarUrl
|
|
x$3.avatarUrl
|
|
537
|
49185
|
19041
-
19075
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$4: org.make.core.profile.Profile) => x$4.profession))
|
|
537
|
32158
|
19062
-
19074
|
Select
|
org.make.core.profile.Profile.profession
|
|
x$4.profession
|
|
538
|
42097
|
19134
-
19147
|
Select
|
org.make.core.profile.Profile.description
|
|
x$5.description
|
|
538
|
33812
|
19113
-
19148
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$5: org.make.core.profile.Profile) => x$5.description))
|
|
539
|
46559
|
19206
-
19218
|
Select
|
org.make.core.profile.Profile.postalCode
|
|
x$6.postalCode
|
|
539
|
38705
|
19185
-
19219
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$6: org.make.core.profile.Profile) => x$6.postalCode))
|
|
540
|
35608
|
19281
-
19298
|
Select
|
org.make.core.profile.Profile.optInNewsletter
|
|
x$7.optInNewsletter
|
|
540
|
48622
|
19261
-
19299
|
Apply
|
scala.Option.forall
|
|
user.profile.forall(((x$7: org.make.core.profile.Profile) => x$7.optInNewsletter))
|
|
541
|
32192
|
19333
-
19364
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$8: org.make.core.profile.Profile) => x$8.website))
|
|
541
|
40329
|
19354
-
19363
|
Select
|
org.make.core.profile.Profile.website
|
|
x$8.website
|
|
542
|
42133
|
19401
-
19431
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Country](((x$9: org.make.core.profile.Profile) => x$9.crmCountry))
|
|
542
|
48948
|
19418
-
19430
|
Select
|
org.make.core.profile.Profile.crmCountry
|
|
x$9.crmCountry
|
|
543
|
46320
|
19469
-
19500
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Language](((x$10: org.make.core.profile.Profile) => x$10.crmLanguage))
|
|
543
|
33233
|
19486
-
19499
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$10.crmLanguage
|
|
555
|
32681
|
19668
-
19671
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.userapitest
|
DefaultUserApi.this.get
|
|
555
|
30633
|
19668
-
20119
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("me"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetMe", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$11: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))))))))))
|
|
556
|
33805
|
19694
-
19694
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
556
|
38521
|
19682
-
20111
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("me"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetMe", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$11: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse])))))))))))))
|
|
556
|
41924
|
19696
-
19700
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("me")
|
|
556
|
39235
|
19682
-
19701
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("me"))(TupleOps.this.Join.join0P[Unit]))
|
|
556
|
46797
|
19687
-
19700
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("me"))(TupleOps.this.Join.join0P[Unit])
|
|
556
|
45792
|
19687
-
19693
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
557
|
48453
|
19714
-
19714
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
557
|
35139
|
19728
-
19735
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"GetMe"
|
|
557
|
45211
|
19727
-
19727
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
557
|
32441
|
19714
-
19736
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("GetMe", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
557
|
47345
|
19714
-
20101
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetMe", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$11: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))))))))
|
|
557
|
40317
|
19714
-
19714
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
558
|
34058
|
19756
-
20089
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))))))
|
|
558
|
33552
|
19756
-
19756
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
558
|
41961
|
19756
-
19766
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
559
|
38447
|
19817
-
19858
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)
|
|
559
|
41921
|
19817
-
20075
|
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](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))))
|
|
559
|
48653
|
19859
-
19859
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
559
|
46833
|
19837
-
19857
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
559
|
30836
|
19817
-
19880
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound
|
|
560
|
32480
|
19907
-
19948
|
Apply
|
org.make.api.user.UserService.getFollowedUsers
|
|
DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)
|
|
560
|
45250
|
19907
-
19960
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective
|
|
560
|
45004
|
19907
-
20059
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
|
|
560
|
41125
|
19949
-
19949
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]
|
|
560
|
40077
|
19936
-
19947
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
561
|
48411
|
20019
-
20019
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))
|
|
561
|
40830
|
20007
-
20040
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse])))
|
|
561
|
30874
|
20019
-
20019
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse])
|
|
561
|
34298
|
20007
-
20040
|
Apply
|
org.make.api.user.UserResponse.apply
|
|
UserResponse.apply(user, followedUsers)
|
|
561
|
46601
|
20019
-
20019
|
Select
|
org.make.api.user.UserResponse.encoder
|
|
user.this.UserResponse.encoder
|
|
561
|
38481
|
20019
-
20019
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]
|
|
561
|
33011
|
19998
-
20041
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))
|
|
571
|
48450
|
20173
-
20176
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.userapitest
|
DefaultUserApi.this.get
|
|
571
|
44517
|
20173
-
21339
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("current"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetCurrentUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$12: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.CurrentUserResponse](CurrentUserResponse.apply(user.userId, user.email, user.displayName, user.userType, user.roles, user.hashedPassword.isDefined, user.enabled, user.emailVerified, user.country, user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl)), user.privacyPolicyApprovalDate, user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage)), user.availableEvents))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.CurrentUserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse]))))))))))))
|
|
572
|
37959
|
20192
-
20210
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("current"))(TupleOps.this.Join.join0P[Unit])
|
|
572
|
34098
|
20187
-
20211
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("current"))(TupleOps.this.Join.join0P[Unit]))
|
|
572
|
31732
|
20187
-
21331
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("current"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetCurrentUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$12: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.CurrentUserResponse](CurrentUserResponse.apply(user.userId, user.email, user.displayName, user.userType, user.roles, user.hashedPassword.isDefined, user.enabled, user.emailVerified, user.country, user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl)), user.privacyPolicyApprovalDate, user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage)), user.availableEvents))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.CurrentUserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse])))))))))))
|
|
572
|
32434
|
20201
-
20210
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("current")
|
|
572
|
45045
|
20199
-
20199
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
572
|
40577
|
20192
-
20198
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
573
|
38985
|
20224
-
20224
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
573
|
31448
|
20224
-
20224
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
573
|
39334
|
20224
-
21321
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetCurrentUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$12: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.CurrentUserResponse](CurrentUserResponse.apply(user.userId, user.email, user.displayName, user.userType, user.roles, user.hashedPassword.isDefined, user.enabled, user.emailVerified, user.country, user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl)), user.privacyPolicyApprovalDate, user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage)), user.availableEvents))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.CurrentUserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse]))))))))))
|
|
573
|
48203
|
20224
-
20255
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("GetCurrentUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
573
|
46558
|
20238
-
20254
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"GetCurrentUser"
|
|
573
|
40615
|
20237
-
20237
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
574
|
32471
|
20275
-
20285
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
574
|
45512
|
20275
-
20275
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
574
|
47124
|
20275
-
21309
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.CurrentUserResponse](CurrentUserResponse.apply(user.userId, user.email, user.displayName, user.userType, user.roles, user.hashedPassword.isDefined, user.enabled, user.emailVerified, user.country, user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl)), user.privacyPolicyApprovalDate, user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage)), user.availableEvents))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.CurrentUserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse]))))))))
|
|
575
|
51019
|
20336
-
21295
|
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](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.CurrentUserResponse](CurrentUserResponse.apply(user.userId, user.email, user.displayName, user.userType, user.roles, user.hashedPassword.isDefined, user.enabled, user.emailVerified, user.country, user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl)), user.privacyPolicyApprovalDate, user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage)), user.availableEvents))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.CurrentUserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse]))))))
|
|
575
|
39020
|
20378
-
20378
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
575
|
33846
|
20336
-
20377
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)
|
|
575
|
37996
|
20356
-
20376
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
575
|
46591
|
20336
-
20399
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound
|
|
576
|
37220
|
20426
-
21279
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.CurrentUserResponse](CurrentUserResponse.apply(user.userId, user.email, user.displayName, user.userType, user.roles, user.hashedPassword.isDefined, user.enabled, user.emailVerified, user.country, user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl)), user.privacyPolicyApprovalDate, user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage)), user.availableEvents))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.CurrentUserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse]))))
|
|
577
|
40612
|
20473
-
20473
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse])
|
|
577
|
38811
|
20454
-
21261
|
Apply
|
org.make.api.user.CurrentUserResponse.apply
|
|
CurrentUserResponse.apply(user.userId, user.email, user.displayName, user.userType, user.roles, user.hashedPassword.isDefined, user.enabled, user.emailVerified, user.country, user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl)), user.privacyPolicyApprovalDate, user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage)), user.availableEvents)
|
|
577
|
43712
|
20473
-
20473
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse]
|
|
577
|
32022
|
20473
-
20473
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.CurrentUserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse]))
|
|
577
|
31698
|
20473
-
20473
|
Select
|
org.make.api.user.CurrentUserResponse.encoder
|
|
user.this.CurrentUserResponse.encoder
|
|
577
|
46097
|
20454
-
21261
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.CurrentUserResponse](CurrentUserResponse.apply(user.userId, user.email, user.displayName, user.userType, user.roles, user.hashedPassword.isDefined, user.enabled, user.emailVerified, user.country, user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl)), user.privacyPolicyApprovalDate, user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry)), user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage)), user.availableEvents))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.CurrentUserResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.CurrentUserResponse](user.this.CurrentUserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.CurrentUserResponse])))
|
|
578
|
30582
|
20504
-
20515
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
579
|
48241
|
20545
-
20555
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
580
|
40108
|
20591
-
20607
|
Select
|
org.make.core.user.User.displayName
|
|
user.displayName
|
|
581
|
32227
|
20640
-
20653
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
582
|
44994
|
20683
-
20693
|
Select
|
org.make.core.user.User.roles
|
|
user.roles
|
|
583
|
37153
|
20729
-
20758
|
Select
|
scala.Option.isDefined
|
|
user.hashedPassword.isDefined
|
|
584
|
33887
|
20790
-
20802
|
Select
|
org.make.core.user.User.enabled
|
|
user.enabled
|
|
585
|
46631
|
20840
-
20858
|
Select
|
org.make.core.user.User.emailVerified
|
|
user.emailVerified
|
|
586
|
38775
|
20890
-
20902
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
587
|
30622
|
20957
-
20968
|
Select
|
org.make.core.profile.Profile.avatarUrl
|
|
x$13.avatarUrl
|
|
587
|
43676
|
20936
-
20969
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$13: org.make.core.profile.Profile) => x$13.avatarUrl))
|
|
588
|
39872
|
21019
-
21049
|
Select
|
org.make.core.user.User.privacyPolicyApprovalDate
|
|
user.privacyPolicyApprovalDate
|
|
589
|
46069
|
21084
-
21114
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Country](((x$14: org.make.core.profile.Profile) => x$14.crmCountry))
|
|
589
|
32263
|
21101
-
21113
|
Select
|
org.make.core.profile.Profile.crmCountry
|
|
x$14.crmCountry
|
|
590
|
37186
|
21167
-
21180
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$15.crmLanguage
|
|
590
|
34096
|
21150
-
21181
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Language](((x$15: org.make.core.profile.Profile) => x$15.crmLanguage))
|
|
591
|
46391
|
21221
-
21241
|
Select
|
org.make.core.user.User.availableEvents
|
|
user.availableEvents
|
|
601
|
40358
|
21385
-
21389
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
601
|
44586
|
21385
-
23871
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("login"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("social"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("SocialLogin", org.make.api.technical.EndpointType.CoreOnly, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SocialLoginRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialLoginRequest](DefaultUserApi.this.as[org.make.api.user.SocialLoginRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialLoginRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialLoginRequest]).apply(((request: org.make.api.user.SocialLoginRequest) => server.this.Directive.addDirectiveApply[(org.make.core.auth.Client,)](DefaultUserApiComponent.this.extractClientOrDefault)(util.this.ApplyConverter.hac1[org.make.core.auth.Client]).apply(((client: org.make.core.auth.Client) => {
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId.orElse[org.make.core.question.QuestionId](requestContext.questionContext.questionId) match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]).apply(((x0$2: org.make.core.user.UserId, x1$1: org.make.api.user.SocialLoginResponse) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](x0$2, x1$1) match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
}))))
})))))))))
|
|
602
|
38282
|
21410
-
21410
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
602
|
45866
|
21412
-
21419
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("login")
|
|
602
|
31768
|
21398
-
21431
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("login"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("social"))(TupleOps.this.Join.join0P[Unit]))
|
|
602
|
51051
|
21422
-
21430
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("social")
|
|
602
|
38771
|
21403
-
21430
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("login"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("social"))(TupleOps.this.Join.join0P[Unit])
|
|
602
|
30490
|
21398
-
23865
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("login"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("social"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("SocialLogin", org.make.api.technical.EndpointType.CoreOnly, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SocialLoginRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialLoginRequest](DefaultUserApi.this.as[org.make.api.user.SocialLoginRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialLoginRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialLoginRequest]).apply(((request: org.make.api.user.SocialLoginRequest) => server.this.Directive.addDirectiveApply[(org.make.core.auth.Client,)](DefaultUserApiComponent.this.extractClientOrDefault)(util.this.ApplyConverter.hac1[org.make.core.auth.Client]).apply(((client: org.make.core.auth.Client) => {
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId.orElse[org.make.core.question.QuestionId](requestContext.questionContext.questionId) match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]).apply(((x0$2: org.make.core.user.UserId, x1$1: org.make.api.user.SocialLoginResponse) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](x0$2, x1$1) match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
}))))
}))))))))
|
|
602
|
46872
|
21420
-
21420
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
602
|
32768
|
21403
-
21409
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
603
|
45292
|
21442
-
21493
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("SocialLogin", org.make.api.technical.EndpointType.CoreOnly, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
603
|
44272
|
21456
-
21469
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"SocialLogin"
|
|
603
|
37779
|
21455
-
21455
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
603
|
35718
|
21442
-
23857
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("SocialLogin", org.make.api.technical.EndpointType.CoreOnly, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SocialLoginRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialLoginRequest](DefaultUserApi.this.as[org.make.api.user.SocialLoginRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialLoginRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialLoginRequest]).apply(((request: org.make.api.user.SocialLoginRequest) => server.this.Directive.addDirectiveApply[(org.make.core.auth.Client,)](DefaultUserApiComponent.this.extractClientOrDefault)(util.this.ApplyConverter.hac1[org.make.core.auth.Client]).apply(((client: org.make.core.auth.Client) => {
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId.orElse[org.make.core.question.QuestionId](requestContext.questionContext.questionId) match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]).apply(((x0$2: org.make.core.user.UserId, x1$1: org.make.api.user.SocialLoginResponse) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](x0$2, x1$1) match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
}))))
})))))))
|
|
603
|
40401
|
21471
-
21492
|
Select
|
org.make.api.technical.EndpointType.CoreOnly
|
org.make.api.user.userapitest
|
org.make.api.technical.EndpointType.CoreOnly
|
|
603
|
31976
|
21442
-
21442
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
604
|
50812
|
21524
-
21537
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
604
|
42799
|
21524
-
23847
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SocialLoginRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialLoginRequest](DefaultUserApi.this.as[org.make.api.user.SocialLoginRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialLoginRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialLoginRequest]).apply(((request: org.make.api.user.SocialLoginRequest) => server.this.Directive.addDirectiveApply[(org.make.core.auth.Client,)](DefaultUserApiComponent.this.extractClientOrDefault)(util.this.ApplyConverter.hac1[org.make.core.auth.Client]).apply(((client: org.make.core.auth.Client) => {
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId.orElse[org.make.core.question.QuestionId](requestContext.questionContext.questionId) match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]).apply(((x0$2: org.make.core.user.UserId, x1$1: org.make.api.user.SocialLoginResponse) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](x0$2, x1$1) match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
}))))
})))))
|
|
605
|
32014
|
21558
-
21558
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.SocialLoginRequest]
|
|
605
|
46913
|
21561
-
21561
|
Select
|
org.make.api.user.SocialLoginRequest.decoder
|
org.make.api.user.userapitest
|
user.this.SocialLoginRequest.decoder
|
|
605
|
36475
|
21552
-
21582
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.SocialLoginRequest](DefaultUserApi.this.as[org.make.api.user.SocialLoginRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialLoginRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder))))
|
|
605
|
30915
|
21561
-
21561
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialLoginRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder))
|
|
605
|
44313
|
21559
-
21581
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.SocialLoginRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialLoginRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder)))
|
|
605
|
51089
|
21552
-
23835
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.SocialLoginRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialLoginRequest](DefaultUserApi.this.as[org.make.api.user.SocialLoginRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialLoginRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialLoginRequest]).apply(((request: org.make.api.user.SocialLoginRequest) => server.this.Directive.addDirectiveApply[(org.make.core.auth.Client,)](DefaultUserApiComponent.this.extractClientOrDefault)(util.this.ApplyConverter.hac1[org.make.core.auth.Client]).apply(((client: org.make.core.auth.Client) => {
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId.orElse[org.make.core.question.QuestionId](requestContext.questionContext.questionId) match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]).apply(((x0$2: org.make.core.user.UserId, x1$1: org.make.api.user.SocialLoginResponse) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](x0$2, x1$1) match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
}))))
}))))
|
|
605
|
38520
|
21561
-
21561
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialLoginRequest](user.this.SocialLoginRequest.decoder)
|
|
606
|
45330
|
21630
-
21652
|
Select
|
org.make.api.technical.directives.ClientDirectives.extractClientOrDefault
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.extractClientOrDefault
|
|
606
|
38063
|
21630
-
23821
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.auth.Client,)](DefaultUserApiComponent.this.extractClientOrDefault)(util.this.ApplyConverter.hac1[org.make.core.auth.Client]).apply(((client: org.make.core.auth.Client) => {
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId.orElse[org.make.core.question.QuestionId](requestContext.questionContext.questionId) match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]).apply(((x0$2: org.make.core.user.UserId, x1$1: org.make.api.user.SocialLoginResponse) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](x0$2, x1$1) match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
}))))
}))
|
|
606
|
38236
|
21630
-
21630
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.auth.Client]
|
|
608
|
47442
|
21799
-
21813
|
Apply
|
org.make.core.reference.Language.apply
|
org.make.api.user.userapitest
|
org.make.core.reference.Language.apply("fr")
|
|
608
|
50848
|
21748
-
21787
|
Select
|
org.make.core.RequestContextLanguage.language
|
org.make.api.user.userapitest
|
requestContext.languageContext.language
|
|
608
|
38561
|
21724
-
21814
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.userapitest
|
request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))
|
|
611
|
44762
|
21902
-
21970
|
Apply
|
scala.Option.orElse
|
org.make.api.user.userapitest
|
request.questionId.orElse[org.make.core.question.QuestionId](requestContext.questionContext.questionId)
|
|
611
|
31724
|
21928
-
21969
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.user.userapitest
|
requestContext.questionContext.questionId
|
|
612
|
36513
|
22024
-
22063
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultUserApiComponent.this.questionService.getQuestion(questionId)
|
|
613
|
32055
|
22127
-
22131
|
Select
|
scala.None
|
org.make.api.user.userapitest
|
scala.None
|
|
613
|
45082
|
22109
-
22132
|
Apply
|
scala.concurrent.Future.successful
|
org.make.api.user.userapitest
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
615
|
38273
|
22224
-
22252
|
Select
|
org.make.api.user.SocialLoginRequest.approvePrivacyPolicy
|
org.make.api.user.userapitest
|
request.approvePrivacyPolicy
|
|
616
|
46168
|
22298
-
22320
|
Apply
|
scala.Some.apply
|
org.make.api.user.userapitest
|
scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
616
|
51304
|
22303
-
22319
|
Apply
|
org.make.core.DefaultDateHelper.now
|
org.make.api.user.userapitest
|
org.make.core.DateHelper.now()
|
|
617
|
38599
|
22358
-
22362
|
Select
|
scala.None
|
|
scala.None
|
|
620
|
44799
|
22418
-
22418
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]
|
|
620
|
31485
|
22398
-
22429
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective
|
|
620
|
44865
|
22398
-
23805
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]).apply(((x0$2: org.make.core.user.UserId, x1$1: org.make.api.user.SocialLoginResponse) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](x0$2, x1$1) match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
}))))
|
|
621
|
43016
|
22467
-
23530
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
org.make.api.user.userapitest
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse])))
|
|
621
|
39614
|
22476
-
22476
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac2
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]
|
|
624
|
36425
|
22566
-
22582
|
Select
|
org.make.api.user.SocialLoginRequest.provider
|
org.make.api.user.userapitest
|
request.provider
|
|
625
|
31802
|
22608
-
22621
|
Select
|
org.make.api.user.SocialLoginRequest.token
|
org.make.api.user.userapitest
|
request.token
|
|
626
|
45118
|
22647
-
22662
|
Select
|
org.make.api.user.SocialLoginRequest.country
|
org.make.api.user.userapitest
|
request.country
|
|
628
|
51341
|
22722
-
22765
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.userapitest
|
request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"))
|
|
628
|
38036
|
22751
-
22764
|
Apply
|
org.make.core.reference.Country.apply
|
org.make.api.user.userapitest
|
org.make.core.reference.Country.apply("FR")
|
|
629
|
43220
|
22821
-
22835
|
Apply
|
org.make.core.reference.Language.apply
|
org.make.api.user.userapitest
|
org.make.core.reference.Language.apply("fr")
|
|
629
|
38352
|
22791
-
22836
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.userapitest
|
request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))
|
|
630
|
44559
|
22862
-
22893
|
Apply
|
scala.Option.map
|
org.make.api.user.userapitest
|
maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId))
|
|
630
|
31523
|
22880
-
22892
|
Select
|
org.make.core.question.Question.questionId
|
|
x$16.questionId
|
|
632
|
36464
|
22959
-
22974
|
Select
|
org.make.core.auth.Client.clientId
|
org.make.api.user.userapitest
|
client.clientId
|
|
634
|
32549
|
23051
-
23064
|
Select
|
org.make.api.user.SocialLoginRequest.optIn
|
org.make.api.user.userapitest
|
request.optIn
|
|
635
|
38066
|
23090
-
23126
|
Apply
|
scala.Option.flatMap
|
org.make.api.user.userapitest
|
maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId))
|
|
635
|
45646
|
23112
-
23125
|
Select
|
org.make.core.question.Question.operationId
|
|
x$17.operationId
|
|
636
|
50839
|
23152
-
23171
|
Select
|
org.make.api.user.SocialLoginRequest.redirectUri
|
org.make.api.user.userapitest
|
request.redirectUri
|
|
638
|
45077
|
23227
-
23227
|
TypeApply
|
akka.http.scaladsl.server.util.Tuple.forTuple2
|
org.make.api.user.userapitest
|
util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]
|
|
638
|
37824
|
23227
-
23227
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.Tupler.forTuple
|
org.make.api.user.userapitest
|
util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse])
|
|
638
|
36505
|
23227
-
23227
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.user.userapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
638
|
50602
|
22498
-
23510
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
org.make.api.user.userapitest
|
directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))
|
|
638
|
49492
|
22498
-
23510
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
641
|
42980
|
23381
-
23405
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
642
|
31272
|
23463
-
23463
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
642
|
39101
|
23469
-
23485
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)
|
|
642
|
44590
|
23304
-
23486
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
644
|
50069
|
22467
-
23787
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](DefaultUserApiComponent.this.socialService.login(request.provider, request.token, request.country, language, request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR")), request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr")), maybeQuestion.map[org.make.core.question.QuestionId](((x$16: org.make.core.question.Question) => x$16.questionId)), requestContext, client.clientId, privacyPolicyApprovalDate, request.optIn, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$17: org.make.core.question.Question) => x$17.operationId)), request.redirectUri).flatMap[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x0$1: (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)) => x0$1 match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, userId, requestContext).map[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](((x$18: Unit) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](userId, social)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forTuple[(org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)](util.this.Tuple.forTuple2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse]).apply(((x0$2: org.make.core.user.UserId, x1$1: org.make.api.user.SocialLoginResponse) => scala.Tuple2.apply[org.make.core.user.UserId, org.make.api.user.SocialLoginResponse](x0$2, x1$1) match {
case (_1: org.make.core.user.UserId, _2: org.make.api.user.SocialLoginResponse): (org.make.core.user.UserId, org.make.api.user.SocialLoginResponse)((userId @ _), (social @ _)) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
}))
|
|
646
|
44101
|
23646
-
23668
|
Select
|
org.make.api.user.SocialLoginResponse.toTokenResponse
|
|
social.toTokenResponse
|
|
646
|
36295
|
23600
-
23767
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))))
|
|
646
|
30696
|
23614
-
23644
|
Select
|
org.make.core.RequestContext.applicationName
|
|
requestContext.applicationName
|
|
646
|
36255
|
23600
-
23677
|
Apply
|
org.make.api.technical.MakeDirectives.setMakeSecure
|
|
DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, social.toTokenResponse, userId)
|
|
647
|
49530
|
23713
-
23742
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social)
|
|
647
|
44550
|
23704
-
23743
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse]))))
|
|
647
|
31770
|
23713
-
23742
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.SocialLoginResponse](social))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])))
|
|
647
|
37261
|
23733
-
23733
|
Select
|
org.make.api.user.SocialLoginResponse.encoder
|
|
user.this.SocialLoginResponse.encoder
|
|
647
|
38343
|
23733
-
23733
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.SocialLoginResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse]))
|
|
647
|
42760
|
23733
-
23733
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.SocialLoginResponse](user.this.SocialLoginResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse])
|
|
647
|
46136
|
23733
-
23733
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
647
|
50637
|
23733
-
23733
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.SocialLoginResponse]
|
|
662
|
36877
|
24039
-
25916
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("votes"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserVotedProposals", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.VoteKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("votes").csv[org.make.core.proposal.VoteKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.VoteKey]((VoteKey: enumeratum.values.StringEnum[org.make.core.proposal.VoteKey]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.QualificationKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("qualifications").csv[org.make.core.proposal.QualificationKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.QualificationKey]((QualificationKey: enumeratum.values.StringEnum[org.make.core.proposal.QualificationKey]))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac7[Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((votes: Option[Seq[org.make.core.proposal.VoteKey]], qualifications: Option[Seq[org.make.core.proposal.QualificationKey]], preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultResponse]).apply(((x$20: org.make.api.proposal.ProposalsResultResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))))))
})))))))))
|
|
662
|
36741
|
24039
-
24042
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.userapitest
|
DefaultUserApi.this.get
|
|
663
|
44344
|
24051
-
24082
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("votes"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
663
|
34448
|
24072
-
24072
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
663
|
48800
|
24056
-
24062
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
663
|
39654
|
24051
-
25910
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("votes"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserVotedProposals", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.VoteKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("votes").csv[org.make.core.proposal.VoteKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.VoteKey]((VoteKey: enumeratum.values.StringEnum[org.make.core.proposal.VoteKey]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.QualificationKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("qualifications").csv[org.make.core.proposal.QualificationKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.QualificationKey]((QualificationKey: enumeratum.values.StringEnum[org.make.core.proposal.QualificationKey]))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac7[Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((votes: Option[Seq[org.make.core.proposal.VoteKey]], qualifications: Option[Seq[org.make.core.proposal.QualificationKey]], preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultResponse]).apply(((x$20: org.make.api.proposal.ProposalsResultResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))))))
}))))))))
|
|
663
|
42713
|
24072
-
24072
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
663
|
44905
|
24065
-
24071
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
663
|
51122
|
24074
-
24081
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("votes")
|
|
663
|
30528
|
24056
-
24081
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("votes"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
663
|
37813
|
24063
-
24063
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
663
|
36775
|
24055
-
24055
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
664
|
49240
|
24125
-
24145
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"UserVotedProposals"
|
|
664
|
45971
|
24111
-
24111
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
664
|
48545
|
24111
-
25902
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserVotedProposals", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.VoteKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("votes").csv[org.make.core.proposal.VoteKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.VoteKey]((VoteKey: enumeratum.values.StringEnum[org.make.core.proposal.VoteKey]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.QualificationKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("qualifications").csv[org.make.core.proposal.QualificationKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.QualificationKey]((QualificationKey: enumeratum.values.StringEnum[org.make.core.proposal.QualificationKey]))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac7[Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((votes: Option[Seq[org.make.core.proposal.VoteKey]], qualifications: Option[Seq[org.make.core.proposal.QualificationKey]], preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultResponse]).apply(((x$20: org.make.api.proposal.ProposalsResultResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))))))
}))))))
|
|
664
|
37850
|
24111
-
24111
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
664
|
42751
|
24124
-
24124
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
664
|
50885
|
24111
-
24146
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("UserVotedProposals", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
665
|
31048
|
24177
-
24177
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
665
|
34478
|
24177
-
25892
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.VoteKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("votes").csv[org.make.core.proposal.VoteKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.VoteKey]((VoteKey: enumeratum.values.StringEnum[org.make.core.proposal.VoteKey]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.QualificationKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("qualifications").csv[org.make.core.proposal.QualificationKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.QualificationKey]((QualificationKey: enumeratum.values.StringEnum[org.make.core.proposal.QualificationKey]))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac7[Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((votes: Option[Seq[org.make.core.proposal.VoteKey]], qualifications: Option[Seq[org.make.core.proposal.QualificationKey]], preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultResponse]).apply(((x$20: org.make.api.proposal.ProposalsResultResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))))))
}))))
|
|
665
|
35176
|
24177
-
24187
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
666
|
35531
|
24246
-
24246
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac7
|
|
util.this.ApplyConverter.hac7[Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]
|
|
666
|
43049
|
24236
-
24551
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
|
DefaultUserApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.VoteKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("votes").csv[org.make.core.proposal.VoteKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.VoteKey]((VoteKey: enumeratum.values.StringEnum[org.make.core.proposal.VoteKey]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.QualificationKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("qualifications").csv[org.make.core.proposal.QualificationKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.QualificationKey]((QualificationKey: enumeratum.values.StringEnum[org.make.core.proposal.QualificationKey]))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller)))
|
|
667
|
49276
|
24273
-
24273
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller
|
|
DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.VoteKey]((VoteKey: enumeratum.values.StringEnum[org.make.core.proposal.VoteKey]))
|
|
667
|
44382
|
24262
-
24269
|
Literal
|
<nosymbol>
|
|
"votes"
|
|
667
|
36001
|
24262
-
24282
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("votes").csv[org.make.core.proposal.VoteKey]
|
|
667
|
41710
|
24262
-
24282
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.VoteKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("votes").csv[org.make.core.proposal.VoteKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.VoteKey]((VoteKey: enumeratum.values.StringEnum[org.make.core.proposal.VoteKey])))
|
|
668
|
50917
|
24298
-
24336
|
TypeApply
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps.csv
|
|
org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("qualifications").csv[org.make.core.proposal.QualificationKey]
|
|
668
|
34926
|
24298
-
24336
|
ApplyToImplicitArgs
|
org.make.api.technical.CsvReceptacle.paramSpec
|
|
org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.QualificationKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("qualifications").csv[org.make.core.proposal.QualificationKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.QualificationKey]((QualificationKey: enumeratum.values.StringEnum[org.make.core.proposal.QualificationKey])))
|
|
668
|
37608
|
24298
-
24314
|
Literal
|
<nosymbol>
|
|
"qualifications"
|
|
668
|
42512
|
24318
-
24318
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumStringEnumUnmarshaller
|
|
DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.QualificationKey]((QualificationKey: enumeratum.values.StringEnum[org.make.core.proposal.QualificationKey]))
|
|
669
|
44144
|
24352
-
24386
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
669
|
42233
|
24352
-
24386
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller))
|
|
669
|
36033
|
24385
-
24385
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
|
DefaultUserApiComponent.this.languageFromStringUnmarshaller
|
|
669
|
30487
|
24352
-
24371
|
Literal
|
<nosymbol>
|
|
"preferredLanguage"
|
|
669
|
49313
|
24385
-
24385
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)
|
|
670
|
34968
|
24409
-
24409
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
670
|
37049
|
24402
-
24408
|
Literal
|
<nosymbol>
|
|
"sort"
|
|
670
|
42545
|
24409
-
24409
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
670
|
50135
|
24402
-
24410
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("sort").?
|
|
670
|
48756
|
24402
-
24410
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
671
|
38106
|
24426
-
24445
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
671
|
36072
|
24426
-
24445
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?
|
|
671
|
40967
|
24444
-
24444
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
671
|
49077
|
24444
-
24444
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
|
DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
671
|
43576
|
24426
-
24433
|
Literal
|
<nosymbol>
|
|
"order"
|
|
672
|
50878
|
24461
-
24468
|
Literal
|
<nosymbol>
|
|
"limit"
|
|
672
|
44100
|
24461
-
24491
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller))
|
|
672
|
42587
|
24461
-
24491
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?
|
|
672
|
35493
|
24490
-
24490
|
Select
|
org.make.core.ParameterExtractors.limitFromIntUnmarshaller
|
|
DefaultUserApiComponent.this.limitFromIntUnmarshaller
|
|
672
|
47491
|
24490
-
24490
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)
|
|
673
|
38142
|
24536
-
24536
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller)
|
|
673
|
49114
|
24507
-
24537
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?
|
|
673
|
36538
|
24507
-
24513
|
Literal
|
<nosymbol>
|
|
"skip"
|
|
673
|
50914
|
24507
-
24537
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))
|
|
673
|
42028
|
24536
-
24536
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
|
DefaultUserApiComponent.this.startFromIntUnmarshaller
|
|
674
|
42343
|
24236
-
25880
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.VoteKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("votes").csv[org.make.core.proposal.VoteKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.VoteKey]((VoteKey: enumeratum.values.StringEnum[org.make.core.proposal.VoteKey]))), org.make.api.technical.CsvReceptacle.paramSpec[org.make.core.proposal.QualificationKey](org.make.api.technical.CsvReceptacle.RepeatedCsvFlatteningParamOps("qualifications").csv[org.make.core.proposal.QualificationKey])(DefaultUserApiComponent.this.enumeratumStringEnumUnmarshaller[org.make.core.proposal.QualificationKey]((QualificationKey: enumeratum.values.StringEnum[org.make.core.proposal.QualificationKey]))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac7[Option[Seq[org.make.core.proposal.VoteKey]], Option[Seq[org.make.core.proposal.QualificationKey]], Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((votes: Option[Seq[org.make.core.proposal.VoteKey]], qualifications: Option[Seq[org.make.core.proposal.QualificationKey]], preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultResponse]).apply(((x$20: org.make.api.proposal.ProposalsResultResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))))))
}))
|
|
684
|
48557
|
24945
-
24975
|
Apply
|
java.lang.Object.!=
|
|
userAuth.user.userId.!=(userId)
|
|
685
|
44135
|
25006
-
25027
|
Select
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
685
|
36572
|
25018
-
25018
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
685
|
42065
|
24997
-
25028
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
685
|
49036
|
25006
-
25027
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode)
|
|
685
|
33942
|
24997
-
25028
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
686
|
50466
|
25052
-
25866
|
Block
|
<nosymbol>
|
|
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultResponse]).apply(((x$20: org.make.api.proposal.ProposalsResultResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))))))
}
|
|
687
|
50673
|
25090
-
25107
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("createdAt")
|
|
688
|
43088
|
25150
-
25160
|
Select
|
org.make.core.Order.desc
|
|
org.make.core.Order.desc
|
|
688
|
34683
|
25145
-
25161
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc)
|
|
690
|
33694
|
25180
-
25775
|
Apply
|
org.make.api.proposal.ProposalService.searchProposalsVotedByUser
|
|
DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)
|
|
695
|
41215
|
25478
-
25622
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder))))
|
|
696
|
36331
|
25554
-
25597
|
Apply
|
scala.Option.map
|
|
order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder))
|
|
696
|
48589
|
25521
-
25545
|
Apply
|
scala.Option.orElse
|
|
sort.orElse[String](defaultSort)
|
|
696
|
49070
|
25508
-
25598
|
Apply
|
org.make.core.common.indexed.Sort.apply
|
|
org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))
|
|
696
|
44177
|
25585
-
25596
|
Select
|
org.make.core.Order.sortOrder
|
|
x$19.sortOrder
|
|
702
|
50711
|
25180
-
25808
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)).asDirective
|
|
702
|
42306
|
25797
-
25797
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultResponse]
|
|
703
|
48029
|
25845
-
25845
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]
|
|
703
|
36371
|
25845
-
25845
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))
|
|
703
|
33117
|
25180
-
25848
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.proposalService.searchProposalsVotedByUser(userId, votes, qualifications, preferredLanguage, scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$19: org.make.core.Order) => x$19.sortOrder)))), limit, offset, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultResponse]).apply(((x$20: org.make.api.proposal.ProposalsResultResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))))))
|
|
703
|
41251
|
25836
-
25847
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse]))))
|
|
703
|
34716
|
25845
-
25845
|
Select
|
org.make.api.proposal.ProposalsResultResponse.codec
|
|
proposal.this.ProposalsResultResponse.codec
|
|
703
|
43927
|
25845
-
25845
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse])
|
|
703
|
48834
|
25845
-
25846
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultResponse](x$20)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultResponse](proposal.this.ProposalsResultResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultResponse])))
|
|
711
|
48866
|
25953
-
25957
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
711
|
41882
|
25953
-
29042
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user"))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("RegisterUser", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.RegisterUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.RegisterUserRequest](DefaultUserApi.this.as[org.make.api.user.RegisterUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.RegisterUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.RegisterUserRequest]).apply(((request: org.make.api.user.RegisterUserRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(request): _*));
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => {
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
})))))))
|
|
712
|
45253
|
25966
-
29036
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user"))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("RegisterUser", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.RegisterUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.RegisterUserRequest](DefaultUserApi.this.as[org.make.api.user.RegisterUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.RegisterUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.RegisterUserRequest]).apply(((request: org.make.api.user.RegisterUserRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(request): _*));
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => {
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
}))))))
|
|
712
|
41287
|
25971
-
25977
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")
|
|
712
|
34190
|
25966
-
25978
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user"))
|
|
713
|
34511
|
25989
-
25989
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
713
|
51204
|
26003
-
26017
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"RegisterUser"
|
|
713
|
48578
|
25989
-
26039
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("RegisterUser", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
713
|
32641
|
25989
-
29028
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("RegisterUser", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.RegisterUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.RegisterUserRequest](DefaultUserApi.this.as[org.make.api.user.RegisterUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.RegisterUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.RegisterUserRequest]).apply(((request: org.make.api.user.RegisterUserRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(request): _*));
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => {
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
})))))
|
|
713
|
40718
|
26002
-
26002
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
713
|
43397
|
26019
-
26038
|
Select
|
org.make.api.technical.EndpointType.Public
|
org.make.api.user.userapitest
|
org.make.api.technical.EndpointType.Public
|
|
714
|
40240
|
26070
-
29018
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.RegisterUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.RegisterUserRequest](DefaultUserApi.this.as[org.make.api.user.RegisterUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.RegisterUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.RegisterUserRequest]).apply(((request: org.make.api.user.RegisterUserRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(request): _*));
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => {
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
})))
|
|
714
|
36327
|
26070
-
26083
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
715
|
48655
|
26098
-
29006
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.RegisterUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.RegisterUserRequest](DefaultUserApi.this.as[org.make.api.user.RegisterUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.RegisterUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.RegisterUserRequest]).apply(((request: org.make.api.user.RegisterUserRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(request): _*));
val language: org.make.core.reference.Language = request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
val futureMaybeQuestion: scala.concurrent.Future[Option[org.make.core.question.Question]] = request.questionId match {
case (value: org.make.core.question.QuestionId): Some[org.make.core.question.QuestionId]((questionId @ _)) => DefaultUserApiComponent.this.questionService.getQuestion(questionId)
case _ => scala.concurrent.Future.successful[None.type](scala.None)
};
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => {
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
}))
|
|
715
|
34554
|
26104
-
26104
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.RegisterUserRequest]
|
|
715
|
48903
|
26107
-
26107
|
Select
|
org.make.api.user.RegisterUserRequest.decoder
|
org.make.api.user.userapitest
|
user.this.RegisterUserRequest.decoder
|
|
715
|
41809
|
26107
-
26107
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder)
|
|
715
|
34228
|
26107
-
26107
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.RegisterUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder))
|
|
715
|
42831
|
26098
-
26129
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.RegisterUserRequest](DefaultUserApi.this.as[org.make.api.user.RegisterUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.RegisterUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder))))
|
|
715
|
46698
|
26105
-
26128
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.RegisterUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.RegisterUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.RegisterUserRequest](user.this.RegisterUserRequest.decoder)))
|
|
716
|
40755
|
26178
-
26250
|
Apply
|
org.make.core.Validation.validate
|
org.make.api.user.userapitest
|
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(request): _*))
|
|
716
|
48339
|
26198
-
26245
|
Apply
|
org.make.api.user.validation.UserRegistrationValidator.requirements
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.userRegistrationValidator.requirements(request)
|
|
718
|
41844
|
26306
-
26396
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.userapitest
|
request.language.orElse[org.make.core.reference.Language](requestContext.languageContext.language).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))
|
|
718
|
36074
|
26330
-
26369
|
Select
|
org.make.core.RequestContextLanguage.language
|
|
requestContext.languageContext.language
|
|
718
|
49357
|
26381
-
26395
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply("fr")
|
|
720
|
33989
|
26464
-
26482
|
Select
|
org.make.api.user.RegisterUserRequest.questionId
|
org.make.api.user.userapitest
|
request.questionId
|
|
721
|
46725
|
26532
-
26571
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.questionService.getQuestion(questionId)
|
|
722
|
34471
|
26613
-
26636
|
Apply
|
scala.concurrent.Future.successful
|
org.make.api.user.userapitest
|
scala.concurrent.Future.successful[None.type](scala.None)
|
|
722
|
42874
|
26631
-
26635
|
Select
|
scala.None
|
org.make.api.user.userapitest
|
scala.None
|
|
725
|
35351
|
26668
-
28992
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.question.Question],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]).apply(((maybeQuestion: Option[org.make.core.question.Question]) => {
val privacyPolicyApprovalDate: Option[java.time.ZonedDateTime] = request.approvePrivacyPolicy match {
case (value: Boolean): Some[Boolean](true) => scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
case _ => scala.None
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
|
|
725
|
48375
|
26668
-
26699
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.question.Question]](futureMaybeQuestion).asDirective
|
|
725
|
39967
|
26688
-
26688
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[Option[org.make.core.question.Question]]
|
|
726
|
36107
|
26767
-
26795
|
Select
|
org.make.api.user.RegisterUserRequest.approvePrivacyPolicy
|
org.make.api.user.userapitest
|
request.approvePrivacyPolicy
|
|
727
|
49395
|
26846
-
26862
|
Apply
|
org.make.core.DefaultDateHelper.now
|
org.make.api.user.userapitest
|
org.make.core.DateHelper.now()
|
|
727
|
41007
|
26841
-
26863
|
Apply
|
scala.Some.apply
|
org.make.api.user.userapitest
|
scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
|
|
728
|
33414
|
26901
-
26905
|
Select
|
scala.None
|
|
scala.None
|
|
730
|
33192
|
26949
-
26949
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
730
|
42093
|
26940
-
28874
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
org.make.api.user.userapitest
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User]))
|
|
733
|
49144
|
27034
-
27034
|
Select
|
org.make.api.user.UserRegisterData.apply$default$23
|
org.make.api.user.userapitest
|
UserRegisterData.apply$default$23
|
|
733
|
41577
|
27034
-
28545
|
Apply
|
org.make.api.user.UserRegisterData.apply
|
org.make.api.user.userapitest
|
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
|
|
733
|
32117
|
27034
-
27034
|
Select
|
org.make.api.user.UserRegisterData.apply$default$20
|
org.make.api.user.userapitest
|
UserRegisterData.apply$default$20
|
|
733
|
40535
|
27034
-
27034
|
Select
|
org.make.api.user.UserRegisterData.apply$default$19
|
org.make.api.user.userapitest
|
UserRegisterData.apply$default$19
|
|
733
|
48125
|
27034
-
27034
|
Select
|
org.make.api.user.UserRegisterData.apply$default$18
|
org.make.api.user.userapitest
|
UserRegisterData.apply$default$18
|
|
734
|
46493
|
27084
-
27115
|
Apply
|
java.lang.String.toLowerCase
|
org.make.api.user.userapitest
|
request.email.value.toLowerCase()
|
|
735
|
34508
|
27153
-
27183
|
Apply
|
scala.Option.map
|
org.make.api.user.userapitest
|
request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value))
|
|
735
|
42625
|
27175
-
27182
|
Select
|
eu.timepit.refined.api.Refined.value
|
org.make.api.user.userapitest
|
x$21.value
|
|
736
|
47525
|
27241
-
27248
|
Select
|
eu.timepit.refined.api.Refined.value
|
org.make.api.user.userapitest
|
x$22.value
|
|
736
|
40711
|
27220
-
27249
|
Apply
|
scala.Option.map
|
org.make.api.user.userapitest
|
request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value))
|
|
737
|
49922
|
27286
-
27314
|
Apply
|
scala.Some.apply
|
org.make.api.user.userapitest
|
scala.Some.apply[String](request.password.value)
|
|
737
|
32399
|
27291
-
27313
|
Select
|
org.make.core.Validation.Password.value
|
org.make.api.user.userapitest
|
request.password.value
|
|
738
|
41044
|
27349
-
27373
|
Select
|
org.make.core.RequestContext.ipAddress
|
org.make.api.user.userapitest
|
requestContext.ipAddress
|
|
739
|
33156
|
27418
-
27447
|
Select
|
org.make.core.Validation.BirthDate.birthDate
|
org.make.api.user.userapitest
|
request.dateOfBirth.birthDate
|
|
739
|
47221
|
27413
-
27448
|
Apply
|
scala.Some.apply
|
org.make.api.user.userapitest
|
scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate)
|
|
740
|
35569
|
27487
-
27518
|
Apply
|
scala.Option.map
|
org.make.api.user.userapitest
|
request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value))
|
|
740
|
42667
|
27510
-
27517
|
Select
|
eu.timepit.refined.api.Refined.value
|
org.make.api.user.userapitest
|
x$23.value
|
|
741
|
47561
|
27580
-
27587
|
Select
|
org.make.core.Validation.PostalCode.value
|
org.make.api.user.userapitest
|
x$24.value
|
|
741
|
40747
|
27557
-
27588
|
Apply
|
scala.Option.map
|
org.make.api.user.userapitest
|
request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value))
|
|
742
|
32866
|
27624
-
27639
|
Select
|
org.make.api.user.RegisterUserRequest.country
|
org.make.api.user.userapitest
|
request.country
|
|
744
|
42100
|
27723
-
27766
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.userapitest
|
request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"))
|
|
744
|
49961
|
27752
-
27765
|
Apply
|
org.make.core.reference.Country.apply
|
org.make.api.user.userapitest
|
org.make.core.reference.Country.apply("FR")
|
|
745
|
47262
|
27806
-
27851
|
Apply
|
scala.Option.getOrElse
|
org.make.api.user.userapitest
|
request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))
|
|
745
|
33978
|
27836
-
27850
|
Apply
|
org.make.core.reference.Language.apply
|
org.make.api.user.userapitest
|
org.make.core.reference.Language.apply("fr")
|
|
746
|
42582
|
27886
-
27900
|
Select
|
org.make.api.user.RegisterUserRequest.gender
|
org.make.api.user.userapitest
|
request.gender
|
|
747
|
35609
|
27954
-
27987
|
Select
|
org.make.api.user.RegisterUserRequest.socioProfessionalCategory
|
org.make.api.user.userapitest
|
request.socioProfessionalCategory
|
|
748
|
40498
|
28026
-
28057
|
Apply
|
scala.Option.map
|
org.make.api.user.userapitest
|
maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId))
|
|
748
|
48626
|
28044
-
28056
|
Select
|
org.make.core.question.Question.questionId
|
org.make.api.user.userapitest
|
x$25.questionId
|
|
749
|
32903
|
28091
-
28104
|
Select
|
org.make.api.user.RegisterUserRequest.optIn
|
org.make.api.user.userapitest
|
request.optIn
|
|
750
|
49108
|
28145
-
28165
|
Select
|
org.make.api.user.RegisterUserRequest.optInPartner
|
org.make.api.user.userapitest
|
request.optInPartner
|
|
751
|
42134
|
28208
-
28230
|
Select
|
org.make.api.user.RegisterUserRequest.politicalParty
|
org.make.api.user.userapitest
|
request.politicalParty
|
|
752
|
34017
|
28286
-
28293
|
Select
|
eu.timepit.refined.api.Refined.value
|
org.make.api.user.userapitest
|
x$26.value
|
|
752
|
47011
|
28266
-
28294
|
Apply
|
scala.Option.map
|
org.make.api.user.userapitest
|
request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value))
|
|
753
|
38907
|
28340
-
28365
|
Select
|
org.make.api.user.RegisterUserRequest.legalMinorConsent
|
org.make.api.user.userapitest
|
request.legalMinorConsent
|
|
754
|
34757
|
28414
-
28442
|
Select
|
org.make.api.user.RegisterUserRequest.legalAdvisorApproval
|
org.make.api.user.userapitest
|
request.legalAdvisorApproval
|
|
759
|
47558
|
28635
-
28635
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.user.userapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
759
|
40284
|
26969
-
28856
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
759
|
32152
|
28635
-
28635
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.userapitest
|
util.this.Tupler.forAnyRef[org.make.core.user.User]
|
|
759
|
45182
|
26969
-
28856
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
org.make.api.user.userapitest
|
directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User])
|
|
761
|
47047
|
28766
-
28777
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
761
|
33773
|
28740
-
28764
|
Select
|
org.make.core.RequestContext.sessionId
|
|
requestContext.sessionId
|
|
762
|
38662
|
28823
-
28823
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
762
|
34792
|
28667
-
28834
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
764
|
38453
|
26940
-
28976
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.register({
<artifact> val x$1: String = request.email.value.toLowerCase();
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$21: org.make.core.Validation.Name) => x$21.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.map[String](((x$22: org.make.core.Validation.Name) => x$22.value));
<artifact> val x$4: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](request.password.value);
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = requestContext.ipAddress;
<artifact> val x$6: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](request.dateOfBirth.birthDate);
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.map[String](((x$23: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$23.value));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$24: org.make.core.Validation.PostalCode) => x$24.value));
<artifact> val x$9: org.make.core.reference.Country = request.country;
<artifact> val x$10: org.make.core.reference.Language = language;
<artifact> val x$11: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$12: org.make.core.reference.Language = request.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$13: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender;
<artifact> val x$14: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory;
<artifact> val x$15: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = maybeQuestion.map[org.make.core.question.QuestionId](((x$25: org.make.core.question.Question) => x$25.questionId));
<artifact> val x$16: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optIn;
<artifact> val x$17: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.optInPartner;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty;
<artifact> val x$19: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$26: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$26.value));
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalMinorConsent;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = request.legalAdvisorApproval;
<artifact> val x$22: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = privacyPolicyApprovalDate;
<artifact> val x$23: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$18;
<artifact> val x$24: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$19;
<artifact> val x$25: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = UserRegisterData.apply$default$20;
<artifact> val x$26: Boolean = UserRegisterData.apply$default$23;
UserRegisterData.apply(x$1, x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$13, x$14, x$9, x$10, x$11, x$12, x$15, x$16, x$17, x$23, x$24, x$25, x$18, x$19, x$26, x$20, x$21, x$22)
}, requestContext).flatMap[org.make.core.user.User](((user: org.make.core.user.User) => DefaultUserApiComponent.this.sessionHistoryCoordinatorService.convertSession(requestContext.sessionId, user.userId, requestContext).map[org.make.core.user.User](((x$27: Unit) => user))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
|
|
765
|
46279
|
28914
-
28933
|
Select
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
akka.http.scaladsl.model.StatusCodes.Created
|
|
765
|
38698
|
28937
-
28957
|
Apply
|
org.make.api.user.UserResponse.apply
|
|
UserResponse.apply(result)
|
|
765
|
42131
|
28934
-
28934
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))
|
|
765
|
39732
|
28934
-
28934
|
Select
|
org.make.api.user.UserResponse.encoder
|
|
user.this.UserResponse.encoder
|
|
765
|
34265
|
28914
-
28957
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse])))
|
|
765
|
31908
|
28934
-
28934
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]
|
|
765
|
34835
|
28914
-
28957
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result))
|
|
765
|
47004
|
28905
-
28958
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.api.user.UserResponse](UserResponse.apply(result)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))
|
|
765
|
45215
|
28934
-
28934
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse])
|
|
765
|
48618
|
28934
-
28934
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
775
|
34300
|
29099
-
29103
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
775
|
30576
|
29099
-
30576
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, String)](DefaultUserApi.this.path[(org.make.core.user.UserId, String)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("validate"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(String,)](DefaultUserApi.this.Segment)(TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]))))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, String]).apply(((userId: org.make.core.user.UserId, verificationToken: String) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserValidation", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndVerificationToken(userId, verificationToken)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.verificationTokenExpiresAt.forall(((x$28: java.time.ZonedDateTime) => x$28.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.api.technical.auth.TokenResponse,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.api.technical.auth.TokenResponse](DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse])))(util.this.ApplyConverter.hac1[org.make.api.technical.auth.TokenResponse]).apply(((token: org.make.api.technical.auth.TokenResponse) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, token, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))
|
|
776
|
32678
|
29135
-
29135
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
776
|
39230
|
29148
-
29148
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String])))
|
|
776
|
41922
|
29148
-
29148
|
TypeApply
|
akka.http.scaladsl.server.util.TupleAppendOneInstances.append1
|
org.make.api.user.userapitest
|
TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]
|
|
776
|
34062
|
29148
-
29148
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.Join.Fold.step
|
org.make.api.user.userapitest
|
Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String])
|
|
776
|
39194
|
29128
-
29134
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
776
|
40037
|
29118
-
29118
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac2
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac2[org.make.core.user.UserId, String]
|
|
776
|
38736
|
29114
-
30568
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, String)](DefaultUserApi.this.path[(org.make.core.user.UserId, String)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("validate"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(String,)](DefaultUserApi.this.Segment)(TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]))))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, String]).apply(((userId: org.make.core.user.UserId, verificationToken: String) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserValidation", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndVerificationToken(userId, verificationToken)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.verificationTokenExpiresAt.forall(((x$28: java.time.ZonedDateTime) => x$28.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.api.technical.auth.TokenResponse,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.api.technical.auth.TokenResponse](DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse])))(util.this.ApplyConverter.hac1[org.make.api.technical.auth.TokenResponse]).apply(((token: org.make.api.technical.auth.TokenResponse) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, token, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
776
|
46760
|
29119
-
29125
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
776
|
30793
|
29119
-
29157
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("validate"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(String,)](DefaultUserApi.this.Segment)(TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]))))
|
|
776
|
45171
|
29150
-
29157
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.userapitest
|
DefaultUserApi.this.Segment
|
|
776
|
48413
|
29137
-
29147
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("validate")
|
|
776
|
40278
|
29135
-
29135
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
776
|
31662
|
29126
-
29126
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
776
|
48451
|
29114
-
29158
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId, String)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("validate"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))./[(String,)](DefaultUserApi.this.Segment)(TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String])))))
|
|
776
|
46794
|
29148
-
29148
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleFoldInstances.t1
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]))
|
|
777
|
41081
|
29218
-
29218
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
777
|
46829
|
29231
-
29231
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
777
|
45207
|
29250
-
29269
|
Select
|
org.make.api.technical.EndpointType.Public
|
|
org.make.api.technical.EndpointType.Public
|
|
777
|
46588
|
29218
-
30558
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserValidation", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndVerificationToken(userId, verificationToken)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.verificationTokenExpiresAt.forall(((x$28: java.time.ZonedDateTime) => x$28.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.api.technical.auth.TokenResponse,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.api.technical.auth.TokenResponse](DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse])))(util.this.ApplyConverter.hac1[org.make.api.technical.auth.TokenResponse]).apply(((token: org.make.api.technical.auth.TokenResponse) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, token, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
777
|
33546
|
29218
-
29270
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultUserApiComponent.this.makeOperation("UserValidation", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
777
|
32436
|
29232
-
29248
|
Literal
|
<nosymbol>
|
|
"UserValidation"
|
|
779
|
38441
|
29303
-
29403
|
Apply
|
org.make.api.user.PersistentUserService.findUserByUserIdAndVerificationToken
|
|
DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndVerificationToken(userId, verificationToken)
|
|
780
|
47601
|
29419
-
29419
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
780
|
33841
|
29303
-
30546
|
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](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndVerificationToken(userId, verificationToken)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.verificationTokenExpiresAt.forall(((x$28: java.time.ZonedDateTime) => x$28.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.api.technical.auth.TokenResponse,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.api.technical.auth.TokenResponse](DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse])))(util.this.ApplyConverter.hac1[org.make.api.technical.auth.TokenResponse]).apply(((token: org.make.api.technical.auth.TokenResponse) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, token, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))
|
|
780
|
30831
|
29303
-
29440
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndVerificationToken(userId, verificationToken)).asDirectiveOrNotFound
|
|
781
|
32473
|
29510
-
29538
|
Apply
|
java.time.chrono.ChronoZonedDateTime.isBefore
|
|
x$28.isBefore(org.make.core.DateHelper.now())
|
|
781
|
40072
|
29521
-
29537
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
781
|
44964
|
29471
-
29539
|
Apply
|
scala.Option.forall
|
|
user.verificationTokenExpiresAt.forall(((x$28: java.time.ZonedDateTime) => x$28.isBefore(org.make.core.DateHelper.now())))
|
|
782
|
30587
|
29561
-
29593
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
|
|
782
|
37395
|
29570
-
29592
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
782
|
46594
|
29570
-
29592
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)
|
|
782
|
38477
|
29561
-
29593
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
|
|
782
|
34296
|
29582
-
29582
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
784
|
46073
|
29637
-
30322
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.api.technical.auth.TokenResponse](DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse]))
|
|
784
|
37952
|
29646
-
29646
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.technical.auth.TokenResponse]
|
|
787
|
44721
|
29668
-
30302
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
787
|
32432
|
29668
-
30302
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.api.technical.auth.TokenResponse](DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse])
|
|
787
|
30625
|
29796
-
29796
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
787
|
40574
|
29796
-
29796
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse]
|
|
788
|
39545
|
29831
-
30248
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
})
|
|
789
|
47342
|
29882
-
30222
|
Apply
|
org.make.api.userhistory.UserValidatedAccountEvent.apply
|
|
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
|
|
789
|
37159
|
29882
-
29882
|
Select
|
org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1
|
|
org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1
|
|
789
|
34054
|
29882
-
29882
|
Select
|
org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6
|
|
org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6
|
|
791
|
48408
|
29992
-
30004
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
793
|
40828
|
30107
-
30123
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
794
|
44998
|
30163
-
30194
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())
|
|
794
|
33002
|
30168
-
30193
|
Apply
|
org.make.core.technical.IdGenerator.nextEventId
|
|
DefaultUserApiComponent.this.idGenerator.nextEventId()
|
|
799
|
37991
|
29637
-
30512
|
Block
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.technical.auth.TokenResponse,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.api.technical.auth.TokenResponse](DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse])))(util.this.ApplyConverter.hac1[org.make.api.technical.auth.TokenResponse]).apply(((token: org.make.api.technical.auth.TokenResponse) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, token, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))
|
|
799
|
45509
|
29637
-
30512
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.technical.auth.TokenResponse,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.api.technical.auth.TokenResponse](DefaultUserApiComponent.this.userService.validateEmail(user, verificationToken).map[org.make.api.technical.auth.TokenResponse](((token: org.make.api.technical.auth.TokenResponse) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = userId;
<artifact> val x$2: org.make.core.reference.Country = user.country;
<artifact> val x$3: org.make.core.RequestContext = requestContext;
<artifact> val x$4: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$5: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
<artifact> val x$6: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$1;
<artifact> val x$7: Boolean = org.make.api.userhistory.UserValidatedAccountEvent.apply$default$6;
org.make.api.userhistory.UserValidatedAccountEvent.apply(x$6, x$4, x$1, x$2, x$3, x$7, x$5)
});
token
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[org.make.api.technical.auth.TokenResponse])))(util.this.ApplyConverter.hac1[org.make.api.technical.auth.TokenResponse]).apply(((token: org.make.api.technical.auth.TokenResponse) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, token, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))
|
|
800
|
32187
|
30354
-
30492
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, token, userId)).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))
|
|
800
|
34097
|
30368
-
30398
|
Select
|
org.make.core.RequestContext.applicationName
|
|
requestContext.applicationName
|
|
800
|
46553
|
30354
-
30414
|
Apply
|
org.make.api.technical.MakeDirectives.setMakeSecure
|
|
DefaultUserApiComponent.this.setMakeSecure(requestContext.applicationName, token, userId)
|
|
801
|
40614
|
30439
-
30470
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
801
|
38981
|
30448
-
30469
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
801
|
31704
|
30460
-
30460
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
801
|
44482
|
30448
-
30469
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
812
|
44521
|
30644
-
30648
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
812
|
30658
|
30644
-
31834
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("request-reset"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPasswordRequest", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultUserApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResetPasswordRequest](DefaultUserApi.this.as[org.make.api.user.ResetPasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPasswordRequest]).apply(((request: org.make.api.user.ResetPasswordRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$30: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))))))
|
|
813
|
32223
|
30673
-
30689
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("reset-password")
|
|
813
|
38772
|
30659
-
30708
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("request-reset"))(TupleOps.this.Join.join0P[Unit]))
|
|
813
|
40360
|
30664
-
30670
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
813
|
46353
|
30664
-
30707
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("request-reset"))(TupleOps.this.Join.join0P[Unit])
|
|
813
|
38556
|
30659
-
31826
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("request-reset"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPasswordRequest", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultUserApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResetPasswordRequest](DefaultUserApi.this.as[org.make.api.user.ResetPasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPasswordRequest]).apply(((request: org.make.api.user.ResetPasswordRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$30: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
|
|
813
|
45548
|
30671
-
30671
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
813
|
37147
|
30692
-
30707
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("request-reset")
|
|
813
|
51056
|
30690
-
30690
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
814
|
43671
|
30759
-
30778
|
Select
|
org.make.api.technical.EndpointType.Public
|
org.make.api.user.userapitest
|
org.make.api.technical.EndpointType.Public
|
|
814
|
39866
|
30721
-
30721
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
814
|
46062
|
30734
-
30734
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
814
|
31979
|
30721
-
30779
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("ResetPasswordRequest", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
814
|
42440
|
30721
-
31816
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPasswordRequest", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultUserApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResetPasswordRequest](DefaultUserApi.this.as[org.make.api.user.ResetPasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPasswordRequest]).apply(((request: org.make.api.user.ResetPasswordRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$30: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))))
|
|
814
|
30618
|
30735
-
30757
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"ResetPasswordRequest"
|
|
815
|
37181
|
30812
-
30830
|
Select
|
org.make.api.technical.auth.MakeAuthentication.optionalMakeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.optionalMakeOAuth2
|
|
815
|
50213
|
30812
-
30812
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]
|
|
815
|
50843
|
30812
-
31804
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]],)](DefaultUserApiComponent.this.optionalMakeOAuth2)(util.this.ApplyConverter.hac1[Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]]).apply(((userAuth: Option[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResetPasswordRequest](DefaultUserApi.this.as[org.make.api.user.ResetPasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPasswordRequest]).apply(((request: org.make.api.user.ResetPasswordRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$30: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
816
|
32016
|
30903
-
30935
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.ResetPasswordRequest](DefaultUserApi.this.as[org.make.api.user.ResetPasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder))))
|
|
816
|
45040
|
30903
-
31789
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResetPasswordRequest](DefaultUserApi.this.as[org.make.api.user.ResetPasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPasswordRequest]).apply(((request: org.make.api.user.ResetPasswordRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$30: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))
|
|
816
|
46386
|
30889
-
30902
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
816
|
40314
|
30910
-
30934
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.ResetPasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder)))
|
|
816
|
43708
|
30912
-
30912
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder))
|
|
816
|
46095
|
30909
-
30909
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.ResetPasswordRequest]
|
|
816
|
31689
|
30912
-
30912
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder)
|
|
816
|
38232
|
30889
-
31790
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResetPasswordRequest](DefaultUserApi.this.as[org.make.api.user.ResetPasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPasswordRequest](user.this.ResetPasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPasswordRequest]).apply(((request: org.make.api.user.ResetPasswordRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$30: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
816
|
38809
|
30912
-
30912
|
Select
|
org.make.api.user.ResetPasswordRequest.decoder
|
org.make.api.user.userapitest
|
user.this.ResetPasswordRequest.decoder
|
|
817
|
38240
|
30999
-
31030
|
Apply
|
java.lang.String.toLowerCase
|
org.make.api.user.userapitest
|
request.email.value.toLowerCase()
|
|
817
|
46828
|
30965
-
31053
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())).asDirectiveOrNotFound
|
|
817
|
39328
|
31032
-
31032
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
817
|
51014
|
30965
-
31031
|
Apply
|
org.make.api.user.PersistentUserService.findByEmail
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())
|
|
817
|
32011
|
30965
-
31773
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findByEmail(request.email.value.toLowerCase())).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$30: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))
|
|
818
|
31727
|
31125
-
31136
|
Select
|
org.make.core.user.User.userId
|
org.make.api.user.userapitest
|
user.userId
|
|
818
|
31972
|
31142
-
31142
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.userapitest
|
util.this.Tupler.forAnyRef[Boolean]
|
|
818
|
45289
|
31092
-
31675
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
org.make.api.user.userapitest
|
directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])
|
|
818
|
36706
|
31092
-
31675
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
818
|
50805
|
31091
-
31091
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[Boolean]
|
|
818
|
38041
|
31082
-
31676
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
org.make.api.user.userapitest
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean]))
|
|
818
|
44267
|
31142
-
31142
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.user.userapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
819
|
31489
|
31174
-
31628
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
})
|
|
820
|
38769
|
31221
-
31606
|
Apply
|
org.make.api.userhistory.ResetPasswordEvent.apply
|
|
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
|
|
821
|
44767
|
31274
-
31285
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
822
|
36669
|
31342
-
31355
|
Select
|
org.make.core.auth.UserRights.userId
|
|
x$29.user.userId
|
|
822
|
32765
|
31329
-
31356
|
Apply
|
scala.Option.map
|
|
userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId))
|
|
823
|
45860
|
31392
-
31404
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
825
|
38276
|
31499
-
31515
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
826
|
46870
|
31551
-
31582
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())
|
|
826
|
50769
|
31556
-
31581
|
Apply
|
org.make.core.technical.IdGenerator.nextEventId
|
|
DefaultUserApiComponent.this.idGenerator.nextEventId()
|
|
830
|
36468
|
31082
-
31755
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.requestPasswordReset(user.userId).map[Boolean](((result: Boolean) => {
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$1: org.make.core.user.UserId = user.userId;
<artifact> val x$2: Option[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = userAuth.map[org.make.core.user.UserId](((x$29: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => x$29.user.userId));
<artifact> val x$3: org.make.core.reference.Country = user.country;
<artifact> val x$4: org.make.core.RequestContext = requestContext;
<artifact> val x$5: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$6: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.ResetPasswordEvent.apply(x$2, x$5, x$1, x$3, x$4, x$6)
});
result
}))(scala.concurrent.ExecutionContext.Implicits.global))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$30: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
|
|
831
|
30912
|
31713
-
31734
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
831
|
44028
|
31704
-
31735
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
831
|
43223
|
31713
-
31734
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
831
|
38516
|
31725
-
31725
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
842
|
37259
|
31900
-
32478
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, String)](DefaultUserApi.this.path[(org.make.core.user.UserId, String)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("check-validity"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[(String,)](DefaultUserApi.this.Segment)(TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]))))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, String]).apply(((userId: org.make.core.user.UserId, resetToken: String) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPasswordCheck", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$31: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, resetToken)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.exists(((x$32: java.time.ZonedDateTime) => x$32.isAfter(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
842
|
44756
|
31900
-
31904
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
843
|
38028
|
31920
-
31983
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("check-validity"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[(String,)](DefaultUserApi.this.Segment)(TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]))))
|
|
843
|
42935
|
31919
-
31919
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac2
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac2[org.make.core.user.UserId, String]
|
|
843
|
46141
|
31974
-
31974
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String])))
|
|
843
|
46132
|
31915
-
32470
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId, String)](DefaultUserApi.this.path[(org.make.core.user.UserId, String)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("check-validity"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[(String,)](DefaultUserApi.this.Segment)(TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]))))))(util.this.ApplyConverter.hac2[org.make.core.user.UserId, String]).apply(((userId: org.make.core.user.UserId, resetToken: String) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPasswordCheck", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$31: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, resetToken)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.exists(((x$32: java.time.ZonedDateTime) => x$32.isAfter(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))))))))
|
|
843
|
42474
|
31967
-
31973
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
843
|
51338
|
31915
-
31984
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId, String)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("check-validity"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[(String,)](DefaultUserApi.this.Segment)(TupleOps.this.Join.join[(org.make.core.user.UserId,), (String,)](TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String])))))
|
|
843
|
36508
|
31920
-
31926
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
843
|
51296
|
31946
-
31946
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
843
|
39615
|
31965
-
31965
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
843
|
36950
|
31974
-
31974
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.Join.Fold.step
|
org.make.api.user.userapitest
|
Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String])
|
|
843
|
31480
|
31976
-
31983
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.user.userapitest
|
DefaultUserApi.this.Segment
|
|
843
|
33080
|
31929
-
31945
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("reset-password")
|
|
843
|
45078
|
31927
-
31927
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
843
|
49007
|
31974
-
31974
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleFoldInstances.t1
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t1[(org.make.core.user.UserId,), String, akka.http.scaladsl.server.util.TupleOps.Join.Fold.type](Join.this.Fold.step[(org.make.core.user.UserId,), String](TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]))
|
|
843
|
38271
|
31948
-
31964
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("check-validity")
|
|
843
|
44796
|
31974
-
31974
|
TypeApply
|
akka.http.scaladsl.server.util.TupleAppendOneInstances.append1
|
org.make.api.user.userapitest
|
TupleOps.this.AppendOne.append1[org.make.core.user.UserId, String]
|
|
844
|
38345
|
32051
-
32071
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"ResetPasswordCheck"
|
|
844
|
36460
|
32037
-
32093
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("ResetPasswordCheck", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
844
|
44552
|
32037
-
32037
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
844
|
49525
|
32037
-
32460
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPasswordCheck", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$31: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, resetToken)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.exists(((x$32: java.time.ZonedDateTime) => x$32.isAfter(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))))))
|
|
844
|
31521
|
32073
-
32092
|
Select
|
org.make.api.technical.EndpointType.Public
|
org.make.api.user.userapitest
|
org.make.api.technical.EndpointType.Public
|
|
844
|
49456
|
32050
-
32050
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
845
|
38064
|
32113
-
32206
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, resetToken)).asDirectiveOrNotFound
|
|
845
|
36248
|
32113
-
32448
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, resetToken)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.exists(((x$32: java.time.ZonedDateTime) => x$32.isAfter(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
else
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))))
|
|
845
|
51092
|
32185
-
32185
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
845
|
45640
|
32113
-
32184
|
Apply
|
org.make.api.user.PersistentUserService.findUserByUserIdAndResetToken
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, resetToken)
|
|
846
|
35102
|
32267
-
32294
|
Apply
|
java.time.chrono.ChronoZonedDateTime.isAfter
|
org.make.api.user.userapitest
|
x$32.isAfter(org.make.core.DateHelper.now())
|
|
846
|
42976
|
32277
-
32293
|
Apply
|
org.make.core.DefaultDateHelper.now
|
org.make.api.user.userapitest
|
org.make.core.DateHelper.now()
|
|
846
|
31267
|
32235
-
32295
|
Apply
|
scala.Option.exists
|
org.make.api.user.userapitest
|
user.resetTokenExpiresAt.exists(((x$32: java.time.ZonedDateTime) => x$32.isAfter(org.make.core.DateHelper.now())))
|
|
847
|
37817
|
32315
-
32346
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
847
|
36214
|
32336
-
32336
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
org.make.api.user.userapitest
|
marshalling.this.Marshaller.fromStatusCode
|
|
847
|
45075
|
32315
-
32346
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
847
|
49489
|
32324
-
32345
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.user.userapitest
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
847
|
44587
|
32324
-
32345
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
org.make.api.user.userapitest
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
849
|
42720
|
32407
-
32407
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
org.make.api.user.userapitest
|
marshalling.this.Marshaller.fromStatusCode
|
|
849
|
34609
|
32395
-
32417
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.user.userapitest
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)
|
|
849
|
50597
|
32395
-
32417
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
org.make.api.user.userapitest
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
849
|
44349
|
32386
-
32418
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
|
|
849
|
30693
|
32386
-
32418
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
|
|
858
|
50351
|
32539
-
32543
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
858
|
50876
|
32539
-
33669
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("change-password"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPassword", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$33: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPassword,)](DefaultUserApi.this.entity[org.make.api.user.ResetPassword](DefaultUserApi.this.as[org.make.api.user.ResetPassword](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPassword](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPassword]).apply(((request: org.make.api.user.ResetPassword) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, request.resetToken.value)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.forall(((x$34: java.time.ZonedDateTime) => x$34.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$35: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
|
|
859
|
36006
|
32585
-
32585
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
859
|
31765
|
32566
-
32566
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
859
|
34645
|
32568
-
32584
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("reset-password")
|
|
859
|
51087
|
32554
-
32614
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("change-password"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]))
|
|
859
|
38317
|
32559
-
32613
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("change-password"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])
|
|
859
|
42793
|
32558
-
32558
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
859
|
50063
|
32607
-
32613
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
859
|
41181
|
32605
-
32605
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
859
|
34401
|
32554
-
33661
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reset-password"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("change-password"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPassword", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$33: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPassword,)](DefaultUserApi.this.entity[org.make.api.user.ResetPassword](DefaultUserApi.this.as[org.make.api.user.ResetPassword](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPassword](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPassword]).apply(((request: org.make.api.user.ResetPassword) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, request.resetToken.value)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.forall(((x$34: java.time.ZonedDateTime) => x$34.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$35: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))))
|
|
859
|
42754
|
32559
-
32565
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
859
|
44548
|
32587
-
32604
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("change-password")
|
|
860
|
30488
|
32668
-
32687
|
Select
|
org.make.api.technical.EndpointType.Public
|
org.make.api.user.userapitest
|
org.make.api.technical.EndpointType.Public
|
|
860
|
35710
|
32651
-
32666
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"ResetPassword"
|
|
860
|
36738
|
32637
-
32688
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("ResetPassword", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
860
|
44307
|
32637
-
32637
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
860
|
40963
|
32637
-
33651
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResetPassword", org.make.api.technical.EndpointType.Public, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$33: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPassword,)](DefaultUserApi.this.entity[org.make.api.user.ResetPassword](DefaultUserApi.this.as[org.make.api.user.ResetPassword](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPassword](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPassword]).apply(((request: org.make.api.user.ResetPassword) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, request.resetToken.value)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.forall(((x$34: java.time.ZonedDateTime) => x$34.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$35: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))))
|
|
860
|
48792
|
32650
-
32650
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
861
|
49072
|
32708
-
33639
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPassword,)](DefaultUserApi.this.entity[org.make.api.user.ResetPassword](DefaultUserApi.this.as[org.make.api.user.ResetPassword](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPassword](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPassword]).apply(((request: org.make.api.user.ResetPassword) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, request.resetToken.value)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.forall(((x$34: java.time.ZonedDateTime) => x$34.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$35: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)))))))))
|
|
861
|
42237
|
32708
-
32721
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
862
|
36500
|
32738
-
33625
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.ResetPassword,)](DefaultUserApi.this.entity[org.make.api.user.ResetPassword](DefaultUserApi.this.as[org.make.api.user.ResetPassword](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPassword](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResetPassword]).apply(((request: org.make.api.user.ResetPassword) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, request.resetToken.value)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.forall(((x$34: java.time.ZonedDateTime) => x$34.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$35: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))))
|
|
862
|
34442
|
32745
-
32762
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.ResetPassword](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPassword](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder)))
|
|
862
|
37809
|
32747
-
32747
|
Select
|
org.make.api.user.ResetPassword.decoder
|
org.make.api.user.userapitest
|
user.this.ResetPassword.decoder
|
|
862
|
43261
|
32747
-
32747
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPassword](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder))
|
|
862
|
44340
|
32744
-
32744
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.ResetPassword]
|
|
862
|
31564
|
32738
-
32763
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.ResetPassword](DefaultUserApi.this.as[org.make.api.user.ResetPassword](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResetPassword](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder))))
|
|
862
|
51121
|
32747
-
32747
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResetPassword](user.this.ResetPassword.decoder)
|
|
864
|
49233
|
32808
-
32912
|
Apply
|
org.make.api.user.PersistentUserService.findUserByUserIdAndResetToken
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, request.resetToken.value)
|
|
864
|
36773
|
32887
-
32911
|
Select
|
eu.timepit.refined.api.Refined.value
|
org.make.api.user.userapitest
|
request.resetToken.value
|
|
865
|
40971
|
32808
-
32953
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, request.resetToken.value)).asDirectiveOrNotFound
|
|
865
|
43574
|
32808
-
33609
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.persistentUserService.findUserByUserIdAndResetToken(userId, request.resetToken.value)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.resetTokenExpiresAt.forall(((x$34: java.time.ZonedDateTime) => x$34.isBefore(org.make.core.DateHelper.now()))))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$35: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))))
|
|
865
|
37563
|
32932
-
32932
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
866
|
50881
|
33031
-
33047
|
Apply
|
org.make.core.DefaultDateHelper.now
|
org.make.api.user.userapitest
|
org.make.core.DateHelper.now()
|
|
866
|
34887
|
32988
-
33049
|
Apply
|
scala.Option.forall
|
org.make.api.user.userapitest
|
user.resetTokenExpiresAt.forall(((x$34: java.time.ZonedDateTime) => x$34.isBefore(org.make.core.DateHelper.now())))
|
|
866
|
42748
|
33020
-
33048
|
Apply
|
java.time.chrono.ChronoZonedDateTime.isBefore
|
org.make.api.user.userapitest
|
x$34.isBefore(org.make.core.DateHelper.now())
|
|
867
|
44380
|
33096
-
33096
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
867
|
41425
|
33075
-
33107
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
|
|
867
|
48264
|
33084
-
33106
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
867
|
49272
|
33075
-
33107
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
|
|
867
|
36540
|
33084
-
33106
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)
|
|
869
|
36031
|
33159
-
33480
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
org.make.api.user.userapitest
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean]))
|
|
869
|
49040
|
33168
-
33168
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[Boolean]
|
|
871
|
44835
|
33194
-
33456
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
org.make.api.user.userapitest
|
directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])
|
|
871
|
34923
|
33194
-
33456
|
Apply
|
org.make.api.user.UserService.updatePassword
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value)
|
|
871
|
48712
|
33247
-
33247
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
org.make.api.user.userapitest
|
util.this.Tupler.forAnyRef[Boolean]
|
|
873
|
37601
|
33340
-
33364
|
Select
|
eu.timepit.refined.api.Refined.value
|
org.make.api.user.userapitest
|
request.resetToken.value
|
|
873
|
50915
|
33335
-
33365
|
Apply
|
scala.Some.apply
|
org.make.api.user.userapitest
|
scala.Some.apply[String](request.resetToken.value)
|
|
874
|
42506
|
33406
-
33428
|
Select
|
org.make.core.Validation.Password.value
|
org.make.api.user.userapitest
|
request.password.value
|
|
876
|
34690
|
33159
-
33567
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$35: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
|
|
876
|
48751
|
33159
-
33567
|
Block
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Boolean,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.Some.apply[String](request.resetToken.value), request.password.value))(util.this.Tupler.forAnyRef[Boolean])))(util.this.ApplyConverter.hac1[Boolean]).apply(((x$35: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))))
|
|
877
|
51379
|
33521
-
33542
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.user.userapitest
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
877
|
42542
|
33512
-
33543
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
877
|
42228
|
33521
-
33542
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
org.make.api.user.userapitest
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
877
|
33330
|
33533
-
33533
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
org.make.api.user.userapitest
|
marshalling.this.Marshaller.fromStatusCode
|
|
892
|
43013
|
33838
-
33841
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.user.userapitest
|
DefaultUserApi.this.get
|
|
892
|
48616
|
33838
-
35969
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserProposals", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => {
val connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((x$38: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))))
}
})))))))))
|
|
893
|
35486
|
33855
-
33861
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
893
|
36536
|
33873
-
33884
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("proposals")
|
|
893
|
44625
|
33862
-
33862
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
893
|
33120
|
33855
-
33884
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
893
|
43048
|
33854
-
33854
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
893
|
42022
|
33871
-
33871
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
893
|
30798
|
33850
-
35963
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserProposals", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => {
val connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((x$38: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))))
}
}))))))))
|
|
893
|
50631
|
33850
-
33885
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("proposals"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
893
|
47485
|
33864
-
33870
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
893
|
49524
|
33871
-
33871
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
894
|
36290
|
33914
-
33944
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("UserProposals", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
894
|
49032
|
33927
-
33927
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
894
|
34919
|
33928
-
33943
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"UserProposals"
|
|
894
|
48550
|
33914
-
33914
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
894
|
38693
|
33914
-
35955
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserProposals", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => {
val connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((x$38: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))))
}
}))))))
|
|
894
|
40418
|
33914
-
33914
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
895
|
46796
|
33975
-
35945
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => {
val connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((x$38: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))))
}
}))))
|
|
895
|
41458
|
33975
-
33985
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
895
|
34195
|
33975
-
33975
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
896
|
34185
|
34044
-
34044
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac5
|
|
util.this.ApplyConverter.hac5[Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]
|
|
896
|
41012
|
34034
-
34259
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
|
DefaultUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller)))
|
|
897
|
42795
|
34060
-
34094
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?
|
|
897
|
34678
|
34093
-
34093
|
Select
|
org.make.core.ParameterExtractors.languageFromStringUnmarshaller
|
|
DefaultUserApiComponent.this.languageFromStringUnmarshaller
|
|
897
|
40174
|
34060
-
34094
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller))
|
|
897
|
47991
|
34093
-
34093
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)
|
|
897
|
50670
|
34060
-
34079
|
Literal
|
<nosymbol>
|
|
"preferredLanguage"
|
|
898
|
49068
|
34110
-
34118
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("sort").?
|
|
898
|
36328
|
34110
-
34116
|
Literal
|
<nosymbol>
|
|
"sort"
|
|
898
|
50419
|
34110
-
34118
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String]))
|
|
898
|
34392
|
34117
-
34117
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])
|
|
898
|
41211
|
34117
-
34117
|
TypeApply
|
akka.http.scaladsl.unmarshalling.Unmarshaller.identityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.identityUnmarshaller[String]
|
|
899
|
34714
|
34134
-
34153
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?
|
|
899
|
47735
|
34152
-
34152
|
ApplyToImplicitArgs
|
org.make.core.ParameterExtractors.enumeratumEnumUnmarshaller
|
|
DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))
|
|
899
|
40924
|
34152
-
34152
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))
|
|
899
|
42832
|
34134
-
34141
|
Literal
|
<nosymbol>
|
|
"order"
|
|
899
|
36369
|
34134
-
34153
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order]))))
|
|
900
|
34149
|
34198
-
34198
|
Select
|
org.make.core.ParameterExtractors.limitFromIntUnmarshaller
|
|
DefaultUserApiComponent.this.limitFromIntUnmarshaller
|
|
900
|
42340
|
34169
-
34199
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller))
|
|
900
|
48829
|
34169
-
34176
|
Literal
|
<nosymbol>
|
|
"limit"
|
|
900
|
41247
|
34169
-
34199
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?
|
|
900
|
47440
|
34198
-
34198
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)
|
|
901
|
40673
|
34244
-
34244
|
Select
|
org.make.core.ParameterExtractors.startFromIntUnmarshaller
|
|
DefaultUserApiComponent.this.startFromIntUnmarshaller
|
|
901
|
48541
|
34215
-
34245
|
Select
|
akka.http.scaladsl.common.NameReceptacle.?
|
|
DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?
|
|
901
|
48864
|
34215
-
34245
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNOR
|
|
ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))
|
|
901
|
34473
|
34215
-
34221
|
Literal
|
<nosymbol>
|
|
"skip"
|
|
901
|
36820
|
34244
-
34244
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.sourceOptionUnmarshaller
|
|
unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller)
|
|
902
|
34223
|
34034
-
35933
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset])](DefaultUserApi.this.parameters(ParameterDirectives.this.ParamSpec.forNOR[org.make.core.reference.Language](DefaultUserApi.this._string2NR("preferredLanguage").as[org.make.core.reference.Language].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.reference.Language](DefaultUserApiComponent.this.languageFromStringUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[String](DefaultUserApi.this._string2NR("sort").?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, String](unmarshalling.this.Unmarshaller.identityUnmarshaller[String])), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.Order](DefaultUserApi.this._string2NR("order").as[org.make.core.Order].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.Order](DefaultUserApiComponent.this.enumeratumEnumUnmarshaller[org.make.core.Order]((Order: enumeratum.Enum[org.make.core.Order])))), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Limit](DefaultUserApi.this._string2NR("limit").as[org.make.core.technical.Pagination.Limit].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Limit](DefaultUserApiComponent.this.limitFromIntUnmarshaller)), ParameterDirectives.this.ParamSpec.forNOR[org.make.core.technical.Pagination.Offset](DefaultUserApi.this._string2NR("skip").as[org.make.core.technical.Pagination.Offset].?)(unmarshalling.this.Unmarshaller.sourceOptionUnmarshaller[String, org.make.core.technical.Pagination.Offset](DefaultUserApiComponent.this.startFromIntUnmarshaller))))(util.this.ApplyConverter.hac5[Option[org.make.core.reference.Language], Option[String], Option[org.make.core.Order], Option[org.make.core.technical.Pagination.Limit], Option[org.make.core.technical.Pagination.Offset]]).apply(((preferredLanguage: Option[org.make.core.reference.Language], sort: Option[String], order: Option[org.make.core.Order], limit: Option[org.make.core.technical.Pagination.Limit], offset: Option[org.make.core.technical.Pagination.Offset]) => {
val connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((x$38: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))))
}
}))
|
|
910
|
46167
|
34571
-
34591
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
911
|
42787
|
34612
-
34637
|
Apply
|
java.lang.Object.!=
|
|
connectedUserId.!=(userId)
|
|
912
|
32561
|
34659
-
34690
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
912
|
49310
|
34659
-
34690
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
912
|
34509
|
34668
-
34689
|
Select
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
912
|
48301
|
34680
-
34680
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
912
|
40714
|
34668
-
34689
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode)
|
|
913
|
42091
|
34714
-
35919
|
Block
|
<nosymbol>
|
|
{
val defaultSort: Some[String] = scala.Some.apply[String]("createdAt");
val defaultOrder: Some[org.make.core.Order.desc.type] = scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc);
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((x$38: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))))
}
|
|
914
|
41806
|
34752
-
34769
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("createdAt")
|
|
915
|
34224
|
34812
-
34822
|
Select
|
org.make.core.Order.desc
|
|
org.make.core.Order.desc
|
|
915
|
47225
|
34807
-
34823
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.Order.desc.type](org.make.core.Order.desc)
|
|
917
|
45427
|
34842
-
35828
|
Apply
|
org.make.api.proposal.ProposalService.searchForUser
|
|
DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)
|
|
918
|
42829
|
34925
-
34937
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserId](userId)
|
|
919
|
40244
|
34969
-
35636
|
Apply
|
org.make.core.proposal.SearchQuery.apply
|
|
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
|
|
919
|
48121
|
34969
-
34969
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
org.make.core.proposal.SearchQuery.apply$default$7
|
|
919
|
38902
|
34969
-
34969
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
org.make.core.proposal.SearchQuery.apply$default$2
|
|
919
|
34754
|
34969
-
34969
|
Select
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
org.make.core.proposal.SearchQuery.apply$default$6
|
|
920
|
40492
|
35016
-
35351
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
})
|
|
921
|
40708
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
org.make.core.proposal.SearchFilters.apply$default$15
|
|
921
|
48621
|
35048
-
35325
|
Apply
|
org.make.core.proposal.SearchFilters.apply
|
|
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
|
|
921
|
42583
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
org.make.core.proposal.SearchFilters.apply$default$1
|
|
921
|
42095
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
org.make.core.proposal.SearchFilters.apply$default$27
|
|
921
|
47559
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
org.make.core.proposal.SearchFilters.apply$default$23
|
|
921
|
34469
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
org.make.core.proposal.SearchFilters.apply$default$2
|
|
921
|
33150
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
org.make.core.proposal.SearchFilters.apply$default$19
|
|
921
|
38668
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
org.make.core.proposal.SearchFilters.apply$default$21
|
|
921
|
47523
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
org.make.core.proposal.SearchFilters.apply$default$13
|
|
921
|
32863
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
org.make.core.proposal.SearchFilters.apply$default$25
|
|
921
|
49957
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
org.make.core.proposal.SearchFilters.apply$default$26
|
|
921
|
41003
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
org.make.core.proposal.SearchFilters.apply$default$7
|
|
921
|
47771
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
org.make.core.proposal.SearchFilters.apply$default$3
|
|
921
|
33975
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
org.make.core.proposal.SearchFilters.apply$default$28
|
|
921
|
46966
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
org.make.core.proposal.SearchFilters.apply$default$29
|
|
921
|
47217
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
org.make.core.proposal.SearchFilters.apply$default$20
|
|
921
|
35607
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
org.make.core.proposal.SearchFilters.apply$default$31
|
|
921
|
40455
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
org.make.core.proposal.SearchFilters.apply$default$24
|
|
921
|
35565
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
org.make.core.proposal.SearchFilters.apply$default$22
|
|
921
|
41041
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
org.make.core.proposal.SearchFilters.apply$default$18
|
|
921
|
32123
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
org.make.core.proposal.SearchFilters.apply$default$16
|
|
921
|
35526
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
org.make.core.proposal.SearchFilters.apply$default$12
|
|
921
|
49145
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
org.make.core.proposal.SearchFilters.apply$default$17
|
|
921
|
32359
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
org.make.core.proposal.SearchFilters.apply$default$5
|
|
921
|
39402
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
org.make.core.proposal.SearchFilters.apply$default$30
|
|
921
|
38911
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
org.make.core.proposal.SearchFilters.apply$default$11
|
|
921
|
40502
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
org.make.core.proposal.SearchFilters.apply$default$4
|
|
921
|
46486
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
org.make.core.proposal.SearchFilters.apply$default$10
|
|
921
|
49109
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$6
|
|
org.make.core.proposal.SearchFilters.apply$default$6
|
|
921
|
33411
|
35048
-
35048
|
Select
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
org.make.core.proposal.SearchFilters.apply$default$9
|
|
922
|
48334
|
35104
-
35143
|
Apply
|
org.make.core.proposal.UserSearchFilter.apply
|
|
org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId))
|
|
922
|
34964
|
35131
-
35142
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.user.UserId](userId)
|
|
922
|
40750
|
35099
-
35144
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)))
|
|
924
|
40962
|
35237
-
35295
|
Apply
|
scala.collection.IterableOps.filter
|
|
org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))
|
|
924
|
49356
|
35266
-
35294
|
Apply
|
java.lang.Object.!=
|
|
x$36.!=(org.make.core.proposal.ProposalStatus.Archived)
|
|
924
|
32324
|
35271
-
35294
|
Select
|
org.make.core.proposal.ProposalStatus.Archived
|
|
org.make.core.proposal.ProposalStatus.Archived
|
|
924
|
46720
|
35213
-
35297
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))))
|
|
924
|
33982
|
35218
-
35296
|
Apply
|
org.make.core.proposal.StatusSearchFilter.apply
|
|
org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived))))
|
|
927
|
47007
|
35384
-
35532
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))))
|
|
928
|
32606
|
35429
-
35453
|
Apply
|
scala.Option.orElse
|
|
sort.orElse[String](defaultSort)
|
|
928
|
33730
|
35416
-
35506
|
Apply
|
org.make.core.common.indexed.Sort.apply
|
|
org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder)))
|
|
928
|
45392
|
35493
-
35504
|
Select
|
org.make.core.Order.sortOrder
|
|
x$37.sortOrder
|
|
928
|
42132
|
35462
-
35505
|
Apply
|
scala.Option.map
|
|
order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))
|
|
935
|
32645
|
35802
-
35806
|
Select
|
scala.None
|
|
scala.None
|
|
937
|
41282
|
34842
-
35861
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)).asDirective
|
|
937
|
33769
|
35850
-
35850
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]
|
|
938
|
31045
|
35898
-
35898
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])
|
|
938
|
38653
|
35898
-
35898
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]
|
|
938
|
32148
|
35889
-
35900
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))
|
|
938
|
46763
|
35898
-
35898
|
Select
|
org.make.api.proposal.ProposalsResultSeededResponse.codec
|
|
proposal.this.ProposalsResultSeededResponse.codec
|
|
938
|
40279
|
35898
-
35899
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse])))
|
|
938
|
45176
|
34842
-
35901
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.proposal.ProposalsResultSeededResponse,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.proposalService.searchForUser(scala.Some.apply[org.make.core.user.UserId](userId), {
<artifact> val x$32: Some[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.SearchFilters]({
<artifact> val x$1: Some[org.make.core.proposal.UserSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.UserSearchFilter](org.make.core.proposal.UserSearchFilter.apply(scala.`package`.Seq.apply[org.make.core.user.UserId](userId)));
<artifact> val x$2: Some[org.make.core.proposal.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.proposal.StatusSearchFilter](org.make.core.proposal.StatusSearchFilter.apply(org.make.core.proposal.ProposalStatus.values.filter(((x$36: org.make.core.proposal.ProposalStatus) => x$36.!=(org.make.core.proposal.ProposalStatus.Archived)))));
<artifact> val x$3: Option[org.make.core.proposal.ProposalSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$1;
<artifact> val x$4: Option[org.make.core.proposal.InitialProposalFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$2;
<artifact> val x$5: Option[org.make.core.proposal.TagsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$3;
<artifact> val x$6: Option[org.make.core.proposal.LabelsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$4;
<artifact> val x$7: Option[org.make.core.proposal.OperationSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$5;
<artifact> val x$8: Option[org.make.core.proposal.QuestionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$6;
<artifact> val x$9: Option[org.make.core.proposal.ContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$7;
<artifact> val x$10: Option[org.make.core.proposal.ContextSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$9;
<artifact> val x$11: Option[org.make.core.proposal.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$10;
<artifact> val x$12: Option[org.make.core.proposal.IdeaSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$11;
<artifact> val x$13: Option[cats.data.NonEmptyList[org.make.core.proposal.LanguageSearchFilter]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$12;
<artifact> val x$14: Option[org.make.core.proposal.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$13;
<artifact> val x$15: Option[org.make.core.proposal.MinVotesCountSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$15;
<artifact> val x$16: Option[org.make.core.proposal.ToEnrichSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$16;
<artifact> val x$17: Option[org.make.core.proposal.IsAnonymousSearchFiler] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$17;
<artifact> val x$18: Option[org.make.core.proposal.MinScoreSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$18;
<artifact> val x$19: Option[org.make.core.proposal.CreatedAtSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$19;
<artifact> val x$20: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$20;
<artifact> val x$21: Option[org.make.core.proposal.SequencePoolSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$21;
<artifact> val x$22: Option[org.make.core.proposal.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$22;
<artifact> val x$23: Option[org.make.core.proposal.QuestionIsOpenSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$23;
<artifact> val x$24: Option[org.make.core.proposal.SegmentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$24;
<artifact> val x$25: Option[org.make.core.proposal.UserTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$25;
<artifact> val x$26: Option[org.make.core.proposal.ProposalTypesSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$26;
<artifact> val x$27: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$27;
<artifact> val x$28: Option[org.make.core.proposal.ZoneSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$28;
<artifact> val x$29: Option[org.make.core.proposal.MinScoreLowerBoundSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$29;
<artifact> val x$30: Option[org.make.core.proposal.KeywordsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$30;
<artifact> val x$31: Option[org.make.core.proposal.SubmittedAsLanguagesFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchFilters.apply$default$31;
org.make.core.proposal.SearchFilters.apply(x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$2, x$10, x$11, x$12, x$13, x$14, x$1, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$27, x$28, x$29, x$30, x$31)
});
<artifact> val x$33: Some[org.make.core.common.indexed.Sort] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.common.indexed.Sort](org.make.core.common.indexed.Sort.apply(sort.orElse[String](defaultSort), order.orElse[org.make.core.Order](defaultOrder).map[com.sksamuel.elastic4s.requests.searches.sort.SortOrder](((x$37: org.make.core.Order) => x$37.sortOrder))));
<artifact> val x$34: Option[org.make.core.technical.Pagination.Limit] @scala.reflect.internal.annotations.uncheckedBounds = limit;
<artifact> val x$35: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = offset;
<artifact> val x$36: Option[org.make.core.proposal.SearchFilters] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$2;
<artifact> val x$37: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$6;
<artifact> val x$38: Option[org.make.core.proposal.SortAlgorithm] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.proposal.SearchQuery.apply$default$7;
org.make.core.proposal.SearchQuery.apply(x$32, x$36, x$33, x$34, x$35, x$37, x$38)
}, requestContext, preferredLanguage, scala.None)).asDirective)(util.this.ApplyConverter.hac1[org.make.api.proposal.ProposalsResultSeededResponse]).apply(((x$38: org.make.api.proposal.ProposalsResultSeededResponse) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.proposal.ProposalsResultSeededResponse](x$38)(marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))))))
|
|
938
|
48573
|
35898
-
35898
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.proposal.ProposalsResultSeededResponse](DefaultUserApiComponent.this.marshaller[org.make.api.proposal.ProposalsResultSeededResponse](proposal.this.ProposalsResultSeededResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.proposal.ProposalsResultSeededResponse]))
|
|
947
|
42502
|
36020
-
40805
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.patch).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user"))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("PatchCurrentUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.UpdateUserRequest](DefaultUserApi.this.as[org.make.api.user.UpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRequest]).apply(((request: org.make.api.user.UpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val optInNewsletterHasChanged: Boolean = scala.Tuple2.apply[Option[Boolean], Option[org.make.core.profile.Profile]](request.optInNewsletter, user.profile) match {
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean]((value @ _)), (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profileValue @ _))) => value.!=(profileValue.optInNewsletter)
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean](_), scala.None) => true
case _ => false
};
val profile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24));
val updatedProfile: Option[org.make.core.profile.Profile] = profile.map[org.make.core.profile.Profile](((x$39: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)));
<artifact> val x$6: Boolean = request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)));
<artifact> val x$7: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)));
<artifact> val x$9: org.make.core.reference.Country = request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$10: org.make.core.reference.Language = request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)));
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)));
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$2;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$8;
<artifact> val x$18: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$9;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$13;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$14;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$24;
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
}));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
if (optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser)))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
else
();
if (user.userType.==(org.make.core.user.UserType.UserTypeOrganisation))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
else
();
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
})))))))))))
|
|
947
|
39729
|
36020
-
36025
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.patch
|
org.make.api.user.userapitest
|
DefaultUserApi.this.patch
|
|
948
|
50635
|
36036
-
40797
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user"))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("PatchCurrentUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.UpdateUserRequest](DefaultUserApi.this.as[org.make.api.user.UpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRequest]).apply(((request: org.make.api.user.UpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val optInNewsletterHasChanged: Boolean = scala.Tuple2.apply[Option[Boolean], Option[org.make.core.profile.Profile]](request.optInNewsletter, user.profile) match {
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean]((value @ _)), (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profileValue @ _))) => value.!=(profileValue.optInNewsletter)
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean](_), scala.None) => true
case _ => false
};
val profile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24));
val updatedProfile: Option[org.make.core.profile.Profile] = profile.map[org.make.core.profile.Profile](((x$39: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)));
<artifact> val x$6: Boolean = request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)));
<artifact> val x$7: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)));
<artifact> val x$9: org.make.core.reference.Country = request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$10: org.make.core.reference.Language = request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)));
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)));
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$2;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$8;
<artifact> val x$18: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$9;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$13;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$14;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$24;
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
}));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
if (optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser)))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
else
();
if (user.userType.==(org.make.core.user.UserType.UserTypeOrganisation))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
else
();
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
}))))))))))
|
|
948
|
31902
|
36041
-
36047
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")
|
|
948
|
45210
|
36036
-
36048
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user"))
|
|
949
|
38446
|
36061
-
36094
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("PatchCurrentUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
949
|
30835
|
36074
-
36074
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
949
|
33287
|
36061
-
40787
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("PatchCurrentUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.UpdateUserRequest](DefaultUserApi.this.as[org.make.api.user.UpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRequest]).apply(((request: org.make.api.user.UpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val optInNewsletterHasChanged: Boolean = scala.Tuple2.apply[Option[Boolean], Option[org.make.core.profile.Profile]](request.optInNewsletter, user.profile) match {
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean]((value @ _)), (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profileValue @ _))) => value.!=(profileValue.optInNewsletter)
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean](_), scala.None) => true
case _ => false
};
val profile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24));
val updatedProfile: Option[org.make.core.profile.Profile] = profile.map[org.make.core.profile.Profile](((x$39: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)));
<artifact> val x$6: Boolean = request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)));
<artifact> val x$7: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)));
<artifact> val x$9: org.make.core.reference.Country = request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$10: org.make.core.reference.Language = request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)));
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)));
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$2;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$8;
<artifact> val x$18: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$9;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$13;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$14;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$24;
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
}));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
if (optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser)))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
else
();
if (user.userType.==(org.make.core.user.UserType.UserTypeOrganisation))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
else
();
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
})))))))))
|
|
949
|
34264
|
36061
-
36061
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
949
|
47001
|
36061
-
36061
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
949
|
41839
|
36075
-
36093
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"PatchCurrentUser"
|
|
950
|
48369
|
36127
-
36137
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
950
|
40792
|
36127
-
36127
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
950
|
41420
|
36127
-
40775
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.UpdateUserRequest](DefaultUserApi.this.as[org.make.api.user.UpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRequest]).apply(((request: org.make.api.user.UpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val optInNewsletterHasChanged: Boolean = scala.Tuple2.apply[Option[Boolean], Option[org.make.core.profile.Profile]](request.optInNewsletter, user.profile) match {
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean]((value @ _)), (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profileValue @ _))) => value.!=(profileValue.optInNewsletter)
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean](_), scala.None) => true
case _ => false
};
val profile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24));
val updatedProfile: Option[org.make.core.profile.Profile] = profile.map[org.make.core.profile.Profile](((x$39: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)));
<artifact> val x$6: Boolean = request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)));
<artifact> val x$7: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)));
<artifact> val x$9: org.make.core.reference.Country = request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$10: org.make.core.reference.Language = request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)));
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)));
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$2;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$8;
<artifact> val x$18: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$9;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$13;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$14;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$24;
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
}));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
if (optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser)))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
else
();
if (user.userType.==(org.make.core.user.UserType.UserTypeOrganisation))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
else
();
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
})))))))
|
|
951
|
49268
|
36188
-
40761
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.UpdateUserRequest](DefaultUserApi.this.as[org.make.api.user.UpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRequest]).apply(((request: org.make.api.user.UpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val optInNewsletterHasChanged: Boolean = scala.Tuple2.apply[Option[Boolean], Option[org.make.core.profile.Profile]](request.optInNewsletter, user.profile) match {
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean]((value @ _)), (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profileValue @ _))) => value.!=(profileValue.optInNewsletter)
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean](_), scala.None) => true
case _ => false
};
val profile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24));
val updatedProfile: Option[org.make.core.profile.Profile] = profile.map[org.make.core.profile.Profile](((x$39: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)));
<artifact> val x$6: Boolean = request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)));
<artifact> val x$7: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)));
<artifact> val x$9: org.make.core.reference.Country = request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$10: org.make.core.reference.Language = request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)));
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)));
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$2;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$8;
<artifact> val x$18: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$9;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$13;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$14;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$24;
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
}));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
if (optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser)))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
else
();
if (user.userType.==(org.make.core.user.UserType.UserTypeOrganisation))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
else
();
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
})))))
|
|
951
|
32637
|
36188
-
36201
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultUserApi.this.decodeRequest
|
|
952
|
44971
|
36229
-
36229
|
Select
|
org.make.api.user.UpdateUserRequest.decoder
|
|
user.this.UpdateUserRequest.decoder
|
|
952
|
39190
|
36220
-
36249
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultUserApi.this.entity[org.make.api.user.UpdateUserRequest](DefaultUserApi.this.as[org.make.api.user.UpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder))))
|
|
952
|
38161
|
36229
-
36229
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder)
|
|
952
|
46756
|
36227
-
36248
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultUserApi.this.as[org.make.api.user.UpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder)))
|
|
952
|
36537
|
36220
-
40745
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.UpdateUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.UpdateUserRequest](DefaultUserApi.this.as[org.make.api.user.UpdateUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRequest]).apply(((request: org.make.api.user.UpdateUserRequest) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val optInNewsletterHasChanged: Boolean = scala.Tuple2.apply[Option[Boolean], Option[org.make.core.profile.Profile]](request.optInNewsletter, user.profile) match {
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean]((value @ _)), (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profileValue @ _))) => value.!=(profileValue.optInNewsletter)
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean](_), scala.None) => true
case _ => false
};
val profile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24));
val updatedProfile: Option[org.make.core.profile.Profile] = profile.map[org.make.core.profile.Profile](((x$39: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)));
<artifact> val x$6: Boolean = request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)));
<artifact> val x$7: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)));
<artifact> val x$9: org.make.core.reference.Country = request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$10: org.make.core.reference.Language = request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)));
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)));
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$2;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$8;
<artifact> val x$18: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$9;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$13;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$14;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$24;
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
}));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
if (optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser)))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
else
();
if (user.userType.==(org.make.core.user.UserType.UserTypeOrganisation))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
else
();
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
}))))
|
|
952
|
34297
|
36229
-
36229
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UpdateUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UpdateUserRequest](user.this.UpdateUserRequest.decoder))
|
|
952
|
31374
|
36226
-
36226
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.UpdateUserRequest]
|
|
953
|
32393
|
36300
-
36363
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound
|
|
953
|
45722
|
36342
-
36342
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
953
|
44098
|
36300
-
40727
|
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](DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val optInNewsletterHasChanged: Boolean = scala.Tuple2.apply[Option[Boolean], Option[org.make.core.profile.Profile]](request.optInNewsletter, user.profile) match {
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean]((value @ _)), (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profileValue @ _))) => value.!=(profileValue.optInNewsletter)
case (_1: Option[Boolean], _2: Option[org.make.core.profile.Profile]): (Option[Boolean], Option[org.make.core.profile.Profile])((value: Boolean): Some[Boolean](_), scala.None) => true
case _ => false
};
val profile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24));
val updatedProfile: Option[org.make.core.profile.Profile] = profile.map[org.make.core.profile.Profile](((x$39: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)));
<artifact> val x$6: Boolean = request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)));
<artifact> val x$7: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)));
<artifact> val x$9: org.make.core.reference.Country = request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$10: org.make.core.reference.Language = request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)));
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)));
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$2;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$8;
<artifact> val x$18: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$9;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$13;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$14;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$24;
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
}));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
if (optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser)))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
else
();
if (user.userType.==(org.make.core.user.UserType.UserTypeOrganisation))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
else
();
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
}))
|
|
953
|
40275
|
36300
-
36341
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultUserApiComponent.this.userService.getUser(userAuth.user.userId)
|
|
953
|
48409
|
36320
-
36340
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
955
|
38200
|
36556
-
36584
|
Select
|
org.make.core.profile.Profile.optInNewsletter
|
|
profileValue.optInNewsletter
|
|
955
|
34057
|
36547
-
36584
|
Apply
|
scala.Boolean.!=
|
|
value.!=(profileValue.optInNewsletter)
|
|
956
|
46791
|
36649
-
36653
|
Literal
|
<nosymbol>
|
|
true
|
|
957
|
38946
|
36718
-
36723
|
Literal
|
<nosymbol>
|
|
false
|
|
960
|
32190
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
960
|
48447
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$2
|
|
org.make.core.profile.Profile.parseProfile$default$2
|
|
960
|
32226
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$22
|
|
org.make.core.profile.Profile.parseProfile$default$22
|
|
960
|
44679
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
960
|
44993
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
960
|
34014
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
960
|
40031
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
960
|
43889
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
960
|
38984
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
960
|
46556
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
960
|
30580
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
960
|
40530
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$21
|
|
org.make.core.profile.Profile.parseProfile$default$21
|
|
960
|
33541
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
960
|
37357
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
960
|
46589
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$17
|
|
org.make.core.profile.Profile.parseProfile$default$17
|
|
960
|
51221
|
36801
-
36823
|
Apply
|
org.make.core.profile.Profile.parseProfile
|
|
org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)
|
|
960
|
40069
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
960
|
47043
|
36781
-
36824
|
Apply
|
scala.Option.orElse
|
|
user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24))
|
|
960
|
37392
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
960
|
44922
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
960
|
39500
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
960
|
44955
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
960
|
30788
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
960
|
30827
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
960
|
32433
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
960
|
37152
|
36809
-
36809
|
Select
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
962
|
49704
|
36867
-
38483
|
Apply
|
scala.Option.map
|
|
profile.map[org.make.core.profile.Profile](((x$39: org.make.core.profile.Profile) => {
<artifact> val x$1: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)));
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)));
<artifact> val x$6: Boolean = request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)));
<artifact> val x$7: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)));
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)));
<artifact> val x$9: org.make.core.reference.Country = request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$10: org.make.core.reference.Language = request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$11: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)));
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)));
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)));
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$2;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$6;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$7;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$8;
<artifact> val x$18: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$9;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$13;
<artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$14;
<artifact> val x$21: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$19;
<artifact> val x$22: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$20;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$39.copy$default$24;
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
}))
|
|
963
|
45851
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$9
|
|
x$39.copy$default$9
|
|
963
|
44263
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$24
|
|
x$39.copy$default$24
|
|
963
|
36424
|
36902
-
38461
|
Apply
|
org.make.core.profile.Profile.copy
|
|
x$39.copy(x$1, x$14, x$2, x$4, x$5, x$15, x$16, x$17, x$18, x$7, x$8, x$3, x$19, x$20, x$9, x$10, x$6, x$11, x$21, x$22, x$12, x$13, x$23, x$24)
|
|
963
|
38272
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$13
|
|
x$39.copy$default$13
|
|
963
|
38472
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$20
|
|
x$39.copy$default$20
|
|
963
|
32470
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$8
|
|
x$39.copy$default$8
|
|
963
|
31447
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$2
|
|
x$39.copy$default$2
|
|
963
|
43179
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$19
|
|
x$39.copy$default$19
|
|
963
|
50763
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$14
|
|
x$39.copy$default$14
|
|
963
|
44761
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$6
|
|
x$39.copy$default$6
|
|
963
|
36665
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$7
|
|
x$39.copy$default$7
|
|
963
|
31482
|
36904
-
36904
|
Select
|
org.make.core.profile.Profile.copy$default$23
|
|
x$39.copy$default$23
|
|
964
|
40573
|
36948
-
37028
|
Apply
|
scala.Option.orElse
|
|
request.dateOfBirth.map[java.time.LocalDate](((x$40: org.make.core.Validation.BirthDate) => x$40.birthDate)).orElse[java.time.LocalDate](user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth)))
|
|
964
|
39538
|
36972
-
36983
|
Select
|
org.make.core.Validation.BirthDate.birthDate
|
|
x$40.birthDate
|
|
964
|
30621
|
37013
-
37026
|
Select
|
org.make.core.profile.Profile.dateOfBirth
|
|
x$41.dateOfBirth
|
|
964
|
44438
|
36992
-
37027
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[java.time.LocalDate](((x$41: org.make.core.profile.Profile) => x$41.dateOfBirth))
|
|
965
|
37947
|
37067
-
37128
|
Apply
|
scala.Option.orElse
|
|
request.profession.orElse[String](user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession)))
|
|
965
|
46067
|
37093
-
37127
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$42: org.make.core.profile.Profile) => x$42.profession))
|
|
965
|
32430
|
37114
-
37126
|
Select
|
org.make.core.profile.Profile.profession
|
|
x$42.profession
|
|
966
|
31696
|
37167
-
37241
|
Apply
|
scala.Option.orElse
|
|
request.postalCode.map[String](((x$43: org.make.core.Validation.PostalCode) => x$43.value)).orElse[String](user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode)))
|
|
966
|
38978
|
37206
-
37240
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$44: org.make.core.profile.Profile) => x$44.postalCode))
|
|
966
|
47085
|
37227
-
37239
|
Select
|
org.make.core.profile.Profile.postalCode
|
|
x$44.postalCode
|
|
966
|
50978
|
37190
-
37197
|
Select
|
org.make.core.Validation.PostalCode.value
|
|
x$43.value
|
|
967
|
44476
|
37305
-
37312
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$45.value
|
|
967
|
40315
|
37342
-
37355
|
Select
|
org.make.core.profile.Profile.phoneNumber
|
|
x$46.phoneNumber
|
|
967
|
45504
|
37281
-
37357
|
Apply
|
scala.Option.orElse
|
|
request.phoneNumber.map[String](((x$45: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$45.value)).orElse[String](user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber)))
|
|
967
|
32182
|
37321
-
37356
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$46: org.make.core.profile.Profile) => x$46.phoneNumber))
|
|
968
|
37705
|
37421
-
37428
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$47.value
|
|
968
|
46586
|
37437
-
37472
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description))
|
|
968
|
38732
|
37397
-
37473
|
Apply
|
scala.Option.orElse
|
|
request.description.map[String](((x$47: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$47.value)).orElse[String](user.profile.flatMap[String](((x$48: org.make.core.profile.Profile) => x$48.description)))
|
|
968
|
51017
|
37458
-
37471
|
Select
|
org.make.core.profile.Profile.description
|
|
x$48.description
|
|
969
|
36672
|
37517
-
37590
|
Apply
|
scala.Option.getOrElse
|
|
request.optInNewsletter.getOrElse[Boolean](user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter)))
|
|
969
|
44241
|
37551
-
37589
|
Apply
|
scala.Option.exists
|
|
user.profile.exists(((x$49: org.make.core.profile.Profile) => x$49.optInNewsletter))
|
|
969
|
31127
|
37571
-
37588
|
Select
|
org.make.core.profile.Profile.optInNewsletter
|
|
x$49.optInNewsletter
|
|
970
|
32222
|
37668
-
37676
|
Select
|
org.make.core.profile.Profile.gender
|
|
x$50.gender
|
|
970
|
37141
|
37625
-
37678
|
Apply
|
scala.Option.orElse
|
|
request.gender.orElse[org.make.core.profile.Gender](user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender)))
|
|
970
|
45248
|
37647
-
37677
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[org.make.core.profile.Gender](((x$50: org.make.core.profile.Profile) => x$50.gender))
|
|
971
|
38770
|
37717
-
37778
|
Apply
|
scala.Option.orElse
|
|
request.genderName.orElse[String](user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName)))
|
|
971
|
51049
|
37764
-
37776
|
Select
|
org.make.core.profile.Profile.genderName
|
|
x$51.genderName
|
|
971
|
46348
|
37743
-
37777
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$51: org.make.core.profile.Profile) => x$51.genderName))
|
|
972
|
31974
|
37817
-
37899
|
Apply
|
scala.Option.getOrElse
|
|
request.crmCountry.orElse[org.make.core.reference.Country](user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))).getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"))
|
|
972
|
43667
|
37843
-
37873
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Country](((x$52: org.make.core.profile.Profile) => x$52.crmCountry))
|
|
972
|
31656
|
37860
-
37872
|
Select
|
org.make.core.profile.Profile.crmCountry
|
|
x$52.crmCountry
|
|
972
|
36174
|
37885
-
37898
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("FR")
|
|
974
|
46383
|
37965
-
38050
|
Apply
|
scala.Option.getOrElse
|
|
request.crmLanguage.orElse[org.make.core.reference.Language](user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))).getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))
|
|
974
|
45291
|
38009
-
38022
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$53.crmLanguage
|
|
974
|
50208
|
38035
-
38049
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply("fr")
|
|
974
|
38199
|
37992
-
38023
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Language](((x$53: org.make.core.profile.Profile) => x$53.crmLanguage))
|
|
976
|
38518
|
38192
-
38219
|
Select
|
org.make.core.profile.Profile.socioProfessionalCategory
|
|
x$54.socioProfessionalCategory
|
|
976
|
31687
|
38171
-
38220
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory))
|
|
976
|
43706
|
38130
-
38221
|
Apply
|
scala.Option.orElse
|
|
request.socioProfessionalCategory.orElse[org.make.core.profile.SocioProfessionalCategory](user.profile.flatMap[org.make.core.profile.SocioProfessionalCategory](((x$54: org.make.core.profile.Profile) => x$54.socioProfessionalCategory)))
|
|
977
|
45820
|
38264
-
38333
|
Apply
|
scala.Option.orElse
|
|
request.politicalParty.orElse[String](user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty)))
|
|
977
|
32012
|
38294
-
38332
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$55: org.make.core.profile.Profile) => x$55.politicalParty))
|
|
977
|
36629
|
38315
-
38331
|
Select
|
org.make.core.profile.Profile.politicalParty
|
|
x$55.politicalParty
|
|
978
|
43144
|
38405
-
38436
|
Apply
|
scala.Option.flatMap
|
|
user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website))
|
|
978
|
51009
|
38426
-
38435
|
Select
|
org.make.core.profile.Profile.website
|
|
x$57.website
|
|
978
|
38558
|
38369
-
38437
|
Apply
|
scala.Option.orElse
|
|
request.website.map[String](((x$56: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.Or[eu.timepit.refined.string.Url,eu.timepit.refined.collection.Empty]]) => x$56.value)).orElse[String](user.profile.flatMap[String](((x$57: org.make.core.profile.Profile) => x$57.website)))
|
|
978
|
38235
|
38389
-
38396
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$56.value
|
|
982
|
51088
|
38505
-
39119
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User]))
|
|
982
|
42972
|
38514
-
38514
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
983
|
49449
|
38538
-
39097
|
Apply
|
org.make.api.user.UserService.update
|
|
DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext)
|
|
983
|
45584
|
38556
-
38556
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.user.User]
|
|
983
|
37778
|
38538
-
39097
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])
|
|
984
|
42888
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
984
|
36455
|
38582
-
39033
|
Apply
|
org.make.core.user.User.copy
|
|
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
|
|
984
|
30695
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
984
|
38025
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
984
|
37986
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
984
|
51258
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$2
|
|
user.copy$default$2
|
|
984
|
37471
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
984
|
42929
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
984
|
36909
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
984
|
44753
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
984
|
45076
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
984
|
49699
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
984
|
30655
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
984
|
36947
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
984
|
51293
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
984
|
38553
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
984
|
46134
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
984
|
31223
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
984
|
44549
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
984
|
42979
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
984
|
51050
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$25
|
|
user.copy$default$25
|
|
984
|
44515
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
984
|
34613
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$15
|
|
user.copy$default$15
|
|
984
|
35349
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
984
|
48968
|
38587
-
38587
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
985
|
50801
|
38631
-
38684
|
Apply
|
scala.Option.orElse
|
|
request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName)
|
|
985
|
38034
|
38669
-
38683
|
Select
|
org.make.core.user.User.firstName
|
|
user.firstName
|
|
985
|
45286
|
38653
-
38660
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$58.value
|
|
986
|
42941
|
38747
-
38760
|
Select
|
org.make.core.user.User.lastName
|
|
user.lastName
|
|
986
|
38513
|
38723
-
38761
|
Apply
|
scala.Option.orElse
|
|
request.lastName.orElse[String](user.lastName)
|
|
987
|
44021
|
38853
-
38874
|
Select
|
org.make.core.user.User.organisationName
|
|
user.organisationName
|
|
987
|
30910
|
38837
-
38844
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$59.value
|
|
987
|
36463
|
38808
-
38875
|
Apply
|
scala.Option.orElse
|
|
request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName)
|
|
988
|
45037
|
38913
-
38955
|
Apply
|
scala.Option.getOrElse
|
|
request.crmCountry.getOrElse[org.make.core.reference.Country](user.country)
|
|
988
|
48927
|
38942
-
38954
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
993
|
48201
|
38505
-
40707
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$25: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.firstName.map[String](((x$58: org.make.core.Validation.Name) => x$58.value)).orElse[String](user.firstName);
<artifact> val x$26: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.lastName.orElse[String](user.lastName);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = request.organisationName.map[String](((x$59: org.make.core.Validation.Name) => x$59.value)).orElse[String](user.organisationName);
<artifact> val x$28: org.make.core.reference.Country = request.crmCountry.getOrElse[org.make.core.reference.Country](user.country);
<artifact> val x$29: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = updatedProfile;
<artifact> val x$30: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$31: String = user.copy$default$2;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$33: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$34: Boolean = user.copy$default$7;
<artifact> val x$35: Boolean = user.copy$default$8;
<artifact> val x$36: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$40: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$41: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$42: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$43: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$45: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$46: Boolean = user.copy$default$21;
<artifact> val x$47: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$30, x$31, x$25, x$26, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$28, x$43, x$29, x$44, x$45, x$46, x$47, x$27, x$48, x$49, x$50, x$51, x$52, x$53)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
if (optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser)))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
else
();
if (user.userType.==(org.make.core.user.UserType.UserTypeOrganisation))
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
else
();
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
}))
|
|
994
|
35097
|
39208
-
39229
|
Select
|
org.make.core.user.UserType.UserTypeUser
|
|
org.make.core.user.UserType.UserTypeUser
|
|
994
|
44311
|
39162
-
39229
|
Apply
|
scala.Boolean.&&
|
|
optInNewsletterHasChanged.&&(user.userType.==(org.make.core.user.UserType.UserTypeUser))
|
|
994
|
51043
|
39158
-
39158
|
Block
|
<nosymbol>
|
|
()
|
|
994
|
30652
|
39191
-
39229
|
Apply
|
java.lang.Object.==
|
|
user.userType.==(org.make.core.user.UserType.UserTypeUser)
|
|
994
|
37257
|
39158
-
39158
|
Literal
|
<nosymbol>
|
|
()
|
|
995
|
49238
|
39257
-
39845
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
|
|
995
|
41142
|
39257
-
39845
|
Block
|
org.make.api.technical.EventBusService.publish
|
|
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$54: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId);
<artifact> val x$55: org.make.core.user.UserId = user.userId;
<artifact> val x$56: org.make.core.RequestContext = requestContext;
<artifact> val x$57: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$58: org.make.core.reference.Country = user.country;
<artifact> val x$59: Boolean = user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter));
<artifact> val x$60: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
})
|
|
996
|
36244
|
39308
-
39819
|
Apply
|
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply
|
|
org.make.api.userhistory.UserUpdatedOptInNewsletterEvent.apply(x$54, x$57, x$55, x$56, x$58, x$59, x$60)
|
|
997
|
36208
|
39392
-
39412
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
997
|
49486
|
39387
-
39413
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserId](userAuth.user.userId)
|
|
998
|
41104
|
39452
-
39463
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
1000
|
37219
|
39566
-
39582
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
1001
|
50594
|
39622
-
39634
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
1002
|
42711
|
39702
-
39719
|
Select
|
org.make.core.profile.Profile.optInNewsletter
|
|
x$60.optInNewsletter
|
|
1002
|
35133
|
39682
-
39720
|
Apply
|
scala.Option.exists
|
|
user.profile.exists(((x$60: org.make.core.profile.Profile) => x$60.optInNewsletter))
|
|
1003
|
31723
|
39765
-
39790
|
Apply
|
org.make.core.technical.IdGenerator.nextEventId
|
|
DefaultUserApiComponent.this.idGenerator.nextEventId()
|
|
1003
|
43748
|
39760
-
39791
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())
|
|
1007
|
44302
|
39892
-
39892
|
Literal
|
<nosymbol>
|
|
()
|
|
1007
|
42750
|
39913
-
39942
|
Select
|
org.make.core.user.UserType.UserTypeOrganisation
|
|
org.make.core.user.UserType.UserTypeOrganisation
|
|
1007
|
35667
|
39896
-
39942
|
Apply
|
java.lang.Object.==
|
|
user.userType.==(org.make.core.user.UserType.UserTypeOrganisation)
|
|
1007
|
36737
|
39892
-
39892
|
Block
|
<nosymbol>
|
|
()
|
|
1008
|
47696
|
39970
-
40456
|
Block
|
org.make.api.technical.EventBusService.publish
|
|
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
|
|
1008
|
35705
|
39970
-
40456
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultUserApiComponent.this.eventBusService.publish({
<artifact> val x$61: Some[org.make.core.user.UserId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.user.UserId](user.userId);
<artifact> val x$62: org.make.core.user.UserId = user.userId;
<artifact> val x$63: org.make.core.RequestContext = requestContext;
<artifact> val x$64: org.make.core.reference.Country = user.country;
<artifact> val x$65: java.time.ZonedDateTime = org.make.core.DateHelper.now();
<artifact> val x$66: Some[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId());
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
})
|
|
1009
|
43219
|
40021
-
40430
|
Apply
|
org.make.api.userhistory.OrganisationUpdatedEvent.apply
|
|
org.make.api.userhistory.OrganisationUpdatedEvent.apply(x$61, x$65, x$62, x$63, x$64, x$66)
|
|
1010
|
47660
|
40098
-
40109
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
1010
|
44546
|
40093
-
40110
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserId](user.userId)
|
|
1011
|
36704
|
40149
-
40160
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
1013
|
49275
|
40261
-
40273
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
1014
|
42192
|
40315
-
40331
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
1015
|
51085
|
40371
-
40402
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())
|
|
1015
|
38314
|
40376
-
40401
|
Apply
|
org.make.core.technical.IdGenerator.nextEventId
|
|
DefaultUserApiComponent.this.idGenerator.nextEventId()
|
|
1019
|
50837
|
40545
-
40545
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]
|
|
1019
|
42231
|
40503
-
40544
|
Apply
|
org.make.api.user.UserService.getFollowedUsers
|
|
DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)
|
|
1019
|
49196
|
40532
-
40543
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
1019
|
37048
|
40503
-
40556
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective
|
|
1019
|
34882
|
40503
-
40685
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))))
|
|
1020
|
33871
|
40624
-
40624
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))
|
|
1020
|
42469
|
40600
-
40661
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]))))
|
|
1020
|
36503
|
40624
-
40624
|
Select
|
org.make.api.user.UserResponse.encoder
|
|
user.this.UserResponse.encoder
|
|
1020
|
44338
|
40624
-
40624
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
1020
|
48755
|
40609
-
40660
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers))
|
|
1020
|
41670
|
40624
-
40624
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse])
|
|
1020
|
43258
|
40609
-
40623
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
1020
|
49230
|
40624
-
40624
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse]
|
|
1020
|
50877
|
40609
-
40660
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.api.user.UserResponse](UserResponse.apply(user, followedUsers)))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.api.user.UserResponse](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.api.user.UserResponse](user.this.UserResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserResponse])))
|
|
1020
|
34847
|
40627
-
40660
|
Apply
|
org.make.api.user.UserResponse.apply
|
|
UserResponse.apply(user, followedUsers)
|
|
1031
|
49308
|
40848
-
42022
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("change-password"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ChangePassword", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$61: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ChangePasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ChangePasswordRequest](DefaultUserApi.this.as[org.make.api.user.ChangePasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ChangePasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ChangePasswordRequest]).apply(((request: org.make.api.user.ChangePasswordRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.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 connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
}))))))))))
|
|
1031
|
34920
|
40848
-
40852
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1032
|
41461
|
40882
-
40882
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
1032
|
42540
|
40861
-
40902
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("change-password"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
1032
|
34681
|
40865
-
40865
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1032
|
35736
|
40873
-
40873
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
1032
|
51377
|
40866
-
40901
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("change-password"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
1032
|
48706
|
40866
-
40872
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1032
|
49034
|
40884
-
40901
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("change-password")
|
|
1032
|
32284
|
40861
-
42016
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("change-password"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ChangePassword", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$61: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ChangePasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ChangePasswordRequest](DefaultUserApi.this.as[org.make.api.user.ChangePasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ChangePasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ChangePasswordRequest]).apply(((request: org.make.api.user.ChangePasswordRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.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 connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
})))))))))
|
|
1032
|
34359
|
40882
-
40882
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
1032
|
44832
|
40875
-
40881
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
1033
|
49069
|
40931
-
40962
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("ChangePassword", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1033
|
40710
|
40931
-
42008
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ChangePassword", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$61: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ChangePasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ChangePasswordRequest](DefaultUserApi.this.as[org.make.api.user.ChangePasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ChangePasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ChangePasswordRequest]).apply(((request: org.make.api.user.ChangePasswordRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.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 connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
})))))))
|
|
1033
|
36496
|
40931
-
40931
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1033
|
48745
|
40945
-
40961
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"ChangePassword"
|
|
1033
|
41980
|
40944
-
40944
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1033
|
40891
|
40931
-
40931
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1034
|
34397
|
40980
-
40993
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
1034
|
48295
|
40980
-
41998
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ChangePasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ChangePasswordRequest](DefaultUserApi.this.as[org.make.api.user.ChangePasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ChangePasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ChangePasswordRequest]).apply(((request: org.make.api.user.ChangePasswordRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.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 connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
})))))
|
|
1035
|
43010
|
41017
-
41017
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder)
|
|
1035
|
48506
|
41015
-
41040
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.ChangePasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ChangePasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder)))
|
|
1035
|
36534
|
41014
-
41014
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.ChangePasswordRequest]
|
|
1035
|
50874
|
41017
-
41017
|
Select
|
org.make.api.user.ChangePasswordRequest.decoder
|
org.make.api.user.userapitest
|
user.this.ChangePasswordRequest.decoder
|
|
1035
|
40927
|
41008
-
41041
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.ChangePasswordRequest](DefaultUserApi.this.as[org.make.api.user.ChangePasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ChangePasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder))))
|
|
1035
|
34506
|
41008
-
41986
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.ChangePasswordRequest,)](DefaultUserApi.this.entity[org.make.api.user.ChangePasswordRequest](DefaultUserApi.this.as[org.make.api.user.ChangePasswordRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ChangePasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ChangePasswordRequest]).apply(((request: org.make.api.user.ChangePasswordRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.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 connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
}))))
|
|
1035
|
34715
|
41017
-
41017
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ChangePasswordRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ChangePasswordRequest](user.this.ChangePasswordRequest.decoder))
|
|
1036
|
42785
|
41092
-
41972
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.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 connectedUserId: org.make.core.user.UserId = userAuth.user.userId;
if (connectedUserId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
}))
|
|
1036
|
42016
|
41092
-
41092
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
1036
|
49522
|
41092
-
41102
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
1037
|
34155
|
41185
-
41205
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
1038
|
46890
|
41226
-
41251
|
Apply
|
java.lang.Object.!=
|
|
connectedUserId.!=(userId)
|
|
1039
|
39653
|
41273
-
41304
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
1039
|
48544
|
41282
-
41303
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode)
|
|
1039
|
43047
|
41282
-
41303
|
Select
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
1039
|
36285
|
41273
-
41304
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
1039
|
34640
|
41294
-
41294
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1041
|
34188
|
41348
-
41430
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective
|
|
1041
|
34179
|
41348
-
41938
|
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]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
|
|
1041
|
46927
|
41419
-
41419
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
1041
|
47184
|
41348
-
41938
|
Block
|
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]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
|
|
1041
|
49567
|
41395
-
41417
|
Select
|
org.make.api.user.ChangePasswordRequest.actualPassword
|
|
request.actualPassword
|
|
1041
|
41175
|
41348
-
41418
|
Apply
|
org.make.api.user.UserService.getUserByUserIdAndPassword
|
|
DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.actualPassword)
|
|
1043
|
42789
|
41526
-
41530
|
Select
|
scala.None
|
|
scala.None
|
|
1043
|
36326
|
41559
-
41559
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Boolean]
|
|
1043
|
42830
|
41491
-
41650
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Boolean,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective)(util.this.ApplyConverter.hac1[Boolean]).apply(((x$62: Boolean) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
|
|
1043
|
40168
|
41491
-
41570
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Boolean](DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)).asDirective
|
|
1043
|
47695
|
41491
-
41558
|
Apply
|
org.make.api.user.UserService.updatePassword
|
|
DefaultUserApiComponent.this.userService.updatePassword(userId, scala.None, request.newPassword.value)
|
|
1043
|
34676
|
41532
-
41557
|
Select
|
org.make.core.Validation.Password.value
|
|
request.newPassword.value
|
|
1044
|
48785
|
41611
-
41625
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
1044
|
46695
|
41602
-
41626
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
|
|
1044
|
33625
|
41611
-
41625
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
|
|
1044
|
41209
|
41623
-
41623
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1047
|
41006
|
41706
-
41918
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
|
|
1048
|
41246
|
41766
-
41894
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))
|
|
1048
|
49879
|
41740
-
41894
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
|
|
1048
|
33078
|
41763
-
41763
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
|
|
1048
|
47773
|
41763
-
41763
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
1048
|
47438
|
41763
-
41763
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
1048
|
40667
|
41763
-
41763
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
|
|
1048
|
34144
|
41740
-
41894
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password"))))
|
|
1048
|
34434
|
41740
-
41762
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
1048
|
43352
|
41763
-
41763
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
1048
|
34470
|
41763
-
41763
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
1049
|
32328
|
41845
-
41867
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Wrong password")
|
|
1049
|
47732
|
41813
-
41823
|
Literal
|
<nosymbol>
|
|
"password"
|
|
1049
|
48825
|
41797
-
41868
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password"))
|
|
1049
|
40921
|
41825
-
41843
|
Literal
|
<nosymbol>
|
|
"invalid_password"
|
|
1061
|
47261
|
42061
-
43423
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("delete"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("deleteUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DeleteUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.DeleteUserRequest](DefaultUserApi.this.as[org.make.api.user.DeleteUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DeleteUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DeleteUserRequest]).apply(((request: org.make.api.user.DeleteUserRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))))))))))))
|
|
1061
|
41043
|
42061
-
42065
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1062
|
34962
|
42097
-
42105
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("delete")
|
|
1062
|
32315
|
42079
-
42105
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("delete"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
1062
|
40958
|
42078
-
42078
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1062
|
47220
|
42088
-
42094
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
1062
|
48329
|
42095
-
42095
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
1062
|
40460
|
42095
-
42095
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
1062
|
34263
|
42074
-
43417
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("delete"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("deleteUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DeleteUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.DeleteUserRequest](DefaultUserApi.this.as[org.make.api.user.DeleteUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DeleteUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DeleteUserRequest]).apply(((request: org.make.api.user.DeleteUserRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
})))))))))))
|
|
1062
|
33940
|
42079
-
42085
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1062
|
38830
|
42086
-
42086
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
1062
|
49354
|
42074
-
42106
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("delete"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
1063
|
38124
|
42135
-
43409
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("deleteUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DeleteUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.DeleteUserRequest](DefaultUserApi.this.as[org.make.api.user.DeleteUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DeleteUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DeleteUserRequest]).apply(((request: org.make.api.user.DeleteUserRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
})))))))))
|
|
1063
|
46445
|
42135
-
42135
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1063
|
38867
|
42135
-
42135
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1063
|
47479
|
42148
-
42148
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1063
|
35002
|
42135
-
42162
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("deleteUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1063
|
33976
|
42149
-
42161
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"deleteUser"
|
|
1064
|
40496
|
42193
-
42206
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
1064
|
45206
|
42193
-
43399
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.DeleteUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.DeleteUserRequest](DefaultUserApi.this.as[org.make.api.user.DeleteUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DeleteUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DeleteUserRequest]).apply(((request: org.make.api.user.DeleteUserRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
})))))))
|
|
1065
|
32355
|
42230
-
42230
|
Select
|
org.make.api.user.DeleteUserRequest.decoder
|
org.make.api.user.userapitest
|
user.this.DeleteUserRequest.decoder
|
|
1065
|
31894
|
42221
-
43387
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.DeleteUserRequest,)](DefaultUserApi.this.entity[org.make.api.user.DeleteUserRequest](DefaultUserApi.this.as[org.make.api.user.DeleteUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DeleteUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.DeleteUserRequest]).apply(((request: org.make.api.user.DeleteUserRequest) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))))))
|
|
1065
|
45396
|
42230
-
42230
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder)
|
|
1065
|
38906
|
42227
-
42227
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.DeleteUserRequest]
|
|
1065
|
33116
|
42228
-
42249
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.DeleteUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DeleteUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder)))
|
|
1065
|
46478
|
42221
-
42250
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.DeleteUserRequest](DefaultUserApi.this.as[org.make.api.user.DeleteUserRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DeleteUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder))))
|
|
1065
|
41001
|
42230
-
42230
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.DeleteUserRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.DeleteUserRequest](user.this.DeleteUserRequest.decoder))
|
|
1066
|
40746
|
42297
-
43373
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => if (userAuth.user.userId.!=(userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))))
|
|
1066
|
35521
|
42297
-
42307
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
1066
|
47522
|
42297
-
42297
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
1067
|
39652
|
42364
-
42394
|
Apply
|
java.lang.Object.!=
|
|
userAuth.user.userId.!=(userId)
|
|
1068
|
32115
|
42425
-
42446
|
Select
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
1068
|
33149
|
42416
-
42447
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
1068
|
45431
|
42437
-
42437
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1068
|
42051
|
42425
-
42446
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode)
|
|
1068
|
47213
|
42416
-
42447
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
1070
|
48576
|
42491
-
42567
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective
|
|
1070
|
48614
|
42491
-
43339
|
Block
|
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]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
|
|
1070
|
30792
|
42491
-
43339
|
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]](DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
}))
|
|
1070
|
35562
|
42491
-
42555
|
Apply
|
org.make.api.user.UserService.getUserByUserIdAndPassword
|
|
DefaultUserApiComponent.this.userService.getUserByUserIdAndPassword(userId, request.password)
|
|
1070
|
38660
|
42538
-
42554
|
Select
|
org.make.api.user.DeleteUserRequest.password
|
|
request.password
|
|
1070
|
40451
|
42556
-
42556
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
1073
|
32860
|
42684
-
42704
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
1073
|
42092
|
42631
-
42745
|
Apply
|
org.make.api.user.UserService.anonymize
|
|
DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)
|
|
1073
|
45957
|
42722
-
42744
|
Select
|
org.make.api.user.Anonymization.Explicit
|
|
Anonymization.Explicit
|
|
1074
|
40238
|
42631
-
43051
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$63: Unit) => server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))
|
|
1074
|
33191
|
42631
-
42782
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultUserApiComponent.this.userService.anonymize(user, userAuth.user.userId, requestContext, Anonymization.Explicit)).asDirective
|
|
1074
|
46962
|
42771
-
42771
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
1075
|
31589
|
42816
-
42873
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective
|
|
1075
|
48617
|
42862
-
42862
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Int]
|
|
1075
|
39399
|
42816
-
42861
|
Apply
|
org.make.api.technical.auth.MakeDataHandler.removeTokenByUserId
|
|
DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)
|
|
1075
|
48654
|
42816
-
43025
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Int,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Int](DefaultUserApiComponent.this.oauth2DataHandler.removeTokenByUserId(userId)).asDirective)(util.this.ApplyConverter.hac1[Int]).apply(((x$64: Int) => server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))
|
|
1076
|
33724
|
42992
-
42992
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1076
|
31005
|
42909
-
42997
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())).apply(DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))
|
|
1076
|
45386
|
42909
-
42968
|
Apply
|
scala.Function2.apply
|
|
DefaultUserApiComponent.this.addCookies.apply(requestContext.applicationName, DefaultUserApiComponent.this.logoutCookies())
|
|
1076
|
32601
|
42952
-
42967
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.logoutCookies
|
|
DefaultUserApiComponent.this.logoutCookies()
|
|
1076
|
41842
|
42980
-
42994
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
1076
|
38615
|
42971
-
42995
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
|
|
1076
|
40490
|
42920
-
42950
|
Select
|
org.make.core.RequestContext.applicationName
|
|
requestContext.applicationName
|
|
1076
|
47003
|
42980
-
42994
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
|
|
1080
|
38407
|
43107
-
43319
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
|
|
1081
|
48570
|
43164
-
43164
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
1081
|
45169
|
43164
-
43164
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
1081
|
40276
|
43164
-
43164
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
1081
|
46792
|
43141
-
43295
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
|
|
1081
|
38648
|
43167
-
43295
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password")))
|
|
1081
|
30756
|
43141
-
43295
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password"))))
|
|
1081
|
34219
|
43164
-
43164
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
|
|
1081
|
32640
|
43141
-
43163
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
1081
|
31862
|
43164
-
43164
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
1081
|
37598
|
43164
-
43164
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
|
|
1082
|
41281
|
43226
-
43244
|
Literal
|
<nosymbol>
|
|
"invalid_password"
|
|
1082
|
45132
|
43214
-
43224
|
Literal
|
<nosymbol>
|
|
"password"
|
|
1082
|
33764
|
43246
-
43268
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Wrong password")
|
|
1082
|
46758
|
43198
-
43269
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("password", "invalid_password", scala.Some.apply[String]("Wrong password"))
|
|
1095
|
38688
|
43468
-
44380
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("follow"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("FollowUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.publicProfile.unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))))))
|
|
1095
|
38439
|
43468
-
43472
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1096
|
34015
|
43488
-
43514
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("follow"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
1096
|
30830
|
43488
-
43494
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1096
|
46754
|
43483
-
43515
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("follow"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
1096
|
44646
|
43497
-
43503
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
1096
|
40791
|
43495
-
43495
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
1096
|
47083
|
43483
-
44372
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("follow"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("FollowUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.publicProfile.unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
|
|
1096
|
38156
|
43504
-
43504
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
1096
|
32354
|
43506
-
43514
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("follow")
|
|
1096
|
44962
|
43504
-
43504
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
1096
|
39187
|
43487
-
43487
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1097
|
44682
|
43538
-
43538
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1097
|
40534
|
43538
-
43538
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1097
|
31364
|
43552
-
43564
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"FollowUser"
|
|
1097
|
32390
|
43538
-
43565
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("FollowUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1097
|
45718
|
43551
-
43551
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1097
|
50969
|
43538
-
44362
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("FollowUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.publicProfile.unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))
|
|
1098
|
34053
|
43598
-
43598
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
1098
|
37915
|
43598
-
43608
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
1098
|
37179
|
43598
-
44350
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.publicProfile.unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))
|
|
1099
|
38943
|
43659
-
43708
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound
|
|
1099
|
45465
|
43659
-
44336
|
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](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => if (user.publicProfile.unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))
|
|
1099
|
30784
|
43687
-
43687
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
1099
|
46514
|
43659
-
43686
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultUserApiComponent.this.userService.getUser(userId)
|
|
1100
|
44446
|
43739
-
43758
|
Select
|
scala.Boolean.unary_!
|
|
user.publicProfile.unary_!
|
|
1101
|
44918
|
43789
-
43810
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode)
|
|
1101
|
40028
|
43789
-
43810
|
Select
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
akka.http.scaladsl.model.StatusCodes.Forbidden
|
|
1101
|
37351
|
43780
-
43811
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
1101
|
32431
|
43801
-
43801
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1101
|
50987
|
43780
-
43811
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.Forbidden)(marshalling.this.Marshaller.fromStatusCode))
|
|
1103
|
30542
|
43855
-
43917
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective
|
|
1103
|
36870
|
43855
-
44302
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))
|
|
1103
|
43885
|
43906
-
43906
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]
|
|
1103
|
38980
|
43855
-
43905
|
Apply
|
org.make.api.user.UserService.getFollowedUsers
|
|
DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)
|
|
1103
|
32143
|
43855
-
44302
|
Block
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId))
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))
|
|
1103
|
46552
|
43884
-
43904
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
1104
|
40784
|
43961
-
43991
|
Apply
|
scala.collection.SeqOps.contains
|
|
followedUsers.contains[org.make.core.user.UserId](userId)
|
|
1105
|
47302
|
44017
-
44049
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
|
|
1105
|
44951
|
44038
-
44038
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1105
|
32185
|
44026
-
44048
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
1105
|
51175
|
44017
-
44049
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode))
|
|
1105
|
37107
|
44026
-
44048
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest)(marshalling.this.Marshaller.fromStatusCode)
|
|
1107
|
46031
|
44110
-
44110
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1107
|
40528
|
44111
-
44179
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])
|
|
1107
|
31660
|
44101
-
44260
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
|
|
1107
|
32940
|
44101
-
44180
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId]))
|
|
1107
|
30574
|
44111
-
44179
|
Apply
|
org.make.api.user.UserService.followUser
|
|
DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext)
|
|
1107
|
39495
|
44142
-
44162
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
1107
|
44432
|
44101
-
44260
|
Block
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.followUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$65: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
|
|
1107
|
43633
|
44133
-
44133
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.user.UserId]
|
|
1108
|
38940
|
44212
-
44236
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
|
|
1108
|
47041
|
44221
-
44235
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
|
|
1108
|
37145
|
44221
-
44235
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
1108
|
51217
|
44233
-
44233
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1120
|
31084
|
44427
-
44431
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1120
|
45034
|
44427
-
45363
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("unfollow"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("FollowUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$66: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId).unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$67: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)))))))))))))))
|
|
1121
|
49455
|
44442
-
45355
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("unfollow"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("FollowUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$66: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId).unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$67: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))))
|
|
1121
|
43151
|
44447
-
44475
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("unfollow"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
1121
|
51013
|
44463
-
44463
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
1121
|
31125
|
44446
-
44446
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1121
|
36634
|
44456
-
44462
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
1121
|
45205
|
44465
-
44475
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("unfollow")
|
|
1121
|
38730
|
44442
-
44476
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("unfollow"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
1121
|
44472
|
44447
-
44453
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1121
|
37099
|
44463
-
44463
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
1121
|
32179
|
44454
-
44454
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
1122
|
31932
|
44499
-
44499
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1122
|
45246
|
44499
-
44526
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("FollowUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1122
|
37138
|
44512
-
44512
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1122
|
36459
|
44499
-
45345
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("FollowUser", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$66: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId).unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$67: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))))
|
|
1122
|
36668
|
44499
-
44499
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1122
|
43624
|
44513
-
44525
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"FollowUser"
|
|
1123
|
50167
|
44559
-
44569
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
1123
|
44715
|
44559
-
45333
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((userAuth: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$66: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId).unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$67: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))))
|
|
1123
|
42645
|
44559
-
44559
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
1124
|
43662
|
44648
-
44648
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
1124
|
30617
|
44620
-
45319
|
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](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$66: org.make.core.user.User) => server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId).unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$67: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))))
|
|
1124
|
38476
|
44620
-
44647
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultUserApiComponent.this.userService.getUser(userId)
|
|
1124
|
31651
|
44620
-
44669
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound
|
|
1125
|
35818
|
44722
-
44742
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
1125
|
34807
|
44693
-
45303
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.user.UserId],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]).apply(((followedUsers: Seq[org.make.core.user.UserId]) => if (followedUsers.contains[org.make.core.user.UserId](userId).unary_!)
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
else
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$67: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))))
|
|
1125
|
45288
|
44693
-
44755
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.user.UserId]](DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)).asDirective
|
|
1125
|
31970
|
44693
-
44743
|
Apply
|
org.make.api.user.UserService.getFollowedUsers
|
|
DefaultUserApiComponent.this.userService.getFollowedUsers(userAuth.user.userId)
|
|
1125
|
38193
|
44744
-
44744
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.user.UserId]]
|
|
1126
|
50205
|
44797
-
44828
|
Select
|
scala.Boolean.unary_!
|
|
followedUsers.contains[org.make.core.user.UserId](userId).unary_!
|
|
1127
|
49661
|
44852
-
45060
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
|
|
1127
|
45243
|
44852
-
45060
|
Block
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
|
|
1128
|
36386
|
44884
-
45038
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
|
|
1128
|
38231
|
44907
-
44907
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
1128
|
31442
|
44907
-
44907
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
|
|
1128
|
51263
|
44907
-
44907
|
Select
|
org.make.core.ValidationError.codec
|
|
core.this.ValidationError.codec
|
|
1128
|
43140
|
44907
-
44907
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
1128
|
45814
|
44884
-
45038
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed"))))
|
|
1128
|
44755
|
44907
-
44907
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
|
|
1128
|
49917
|
44910
-
45038
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed")))
|
|
1128
|
39270
|
44907
-
44907
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
1128
|
43104
|
44884
-
44906
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
1129
|
31685
|
44965
-
44980
|
Literal
|
<nosymbol>
|
|
"invalid_state"
|
|
1129
|
38514
|
44955
-
44963
|
Literal
|
<nosymbol>
|
|
"userId"
|
|
1129
|
36624
|
44939
-
45014
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("userId", "invalid_state", scala.Some.apply[String]("User already unfollowed"))
|
|
1129
|
44719
|
44982
-
45013
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("User already unfollowed")
|
|
1133
|
37989
|
45151
-
45171
|
Select
|
org.make.core.auth.UserRights.userId
|
|
userAuth.user.userId
|
|
1133
|
42933
|
45108
-
45265
|
Block
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$67: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
|
|
1133
|
44520
|
45117
-
45117
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1133
|
30868
|
45108
-
45189
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId]))
|
|
1133
|
43177
|
45142
-
45142
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.user.UserId]
|
|
1133
|
50797
|
45108
-
45265
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((x$67: org.make.core.user.UserId) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))))
|
|
1133
|
38469
|
45118
-
45188
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.user.UserId](DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.UserId])
|
|
1133
|
50757
|
45118
-
45188
|
Apply
|
org.make.api.user.UserService.unfollowUser
|
|
DefaultUserApiComponent.this.userService.unfollowUser(userId, userAuth.user.userId, requestContext)
|
|
1134
|
44990
|
45228
-
45242
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode)
|
|
1134
|
37432
|
45219
-
45243
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK)(marshalling.this.Marshaller.fromStatusCode))
|
|
1134
|
36417
|
45228
-
45242
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
1134
|
49701
|
45240
-
45240
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1145
|
37180
|
45413
-
45417
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1145
|
51086
|
45413
-
45710
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reconnect"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ReconnectInfo", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$68: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.ReconnectInfo,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.ReconnectInfo](DefaultUserApiComponent.this.userService.reconnectInfo(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.ReconnectInfo]).apply(((reconnectInfo: org.make.core.user.ReconnectInfo) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.core.user.ReconnectInfo](reconnectInfo))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.core.user.ReconnectInfo](user.this.ReconnectInfo.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo])))))))))))
|
|
1146
|
30653
|
45451
-
45462
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("reconnect")
|
|
1146
|
37979
|
45432
-
45432
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1146
|
51254
|
45433
-
45439
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1146
|
37772
|
45428
-
45702
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reconnect"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ReconnectInfo", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$68: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.ReconnectInfo,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.ReconnectInfo](DefaultUserApiComponent.this.userService.reconnectInfo(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.ReconnectInfo]).apply(((reconnectInfo: org.make.core.user.ReconnectInfo) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.core.user.ReconnectInfo](reconnectInfo))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.core.user.ReconnectInfo](user.this.ReconnectInfo.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo]))))))))))
|
|
1146
|
41110
|
45428
-
45463
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reconnect"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
1146
|
34572
|
45440
-
45440
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
1146
|
48963
|
45433
-
45462
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("reconnect"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
1146
|
36907
|
45449
-
45449
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
1146
|
42975
|
45442
-
45448
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
1146
|
44751
|
45449
-
45449
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
1147
|
41879
|
45486
-
45692
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ReconnectInfo", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$68: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.user.ReconnectInfo,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.ReconnectInfo](DefaultUserApiComponent.this.userService.reconnectInfo(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.ReconnectInfo]).apply(((reconnectInfo: org.make.core.user.ReconnectInfo) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.core.user.ReconnectInfo](reconnectInfo))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.core.user.ReconnectInfo](user.this.ReconnectInfo.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo]))))))))
|
|
1147
|
44508
|
45499
-
45499
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1147
|
31726
|
45486
-
45516
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("ReconnectInfo", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1147
|
34608
|
45486
-
45486
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1147
|
43430
|
45486
-
45486
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1147
|
51292
|
45500
-
45515
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"ReconnectInfo"
|
|
1148
|
49445
|
45536
-
45680
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.ReconnectInfo,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.ReconnectInfo](DefaultUserApiComponent.this.userService.reconnectInfo(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.ReconnectInfo]).apply(((reconnectInfo: org.make.core.user.ReconnectInfo) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.core.user.ReconnectInfo](reconnectInfo))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.core.user.ReconnectInfo](user.this.ReconnectInfo.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo]))))))
|
|
1148
|
36944
|
45536
-
45569
|
Apply
|
org.make.api.user.UserService.reconnectInfo
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.userService.reconnectInfo(userId)
|
|
1148
|
49408
|
45536
-
45591
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.ReconnectInfo](DefaultUserApiComponent.this.userService.reconnectInfo(userId)).asDirectiveOrNotFound
|
|
1148
|
41145
|
45570
-
45570
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.ReconnectInfo]
|
|
1149
|
44547
|
45634
-
45665
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.user.userapitest
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.core.user.ReconnectInfo](reconnectInfo))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.core.user.ReconnectInfo](user.this.ReconnectInfo.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo])))
|
|
1149
|
35058
|
45649
-
45649
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.marshaller[org.make.core.user.ReconnectInfo](user.this.ReconnectInfo.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo])
|
|
1149
|
36705
|
45625
-
45666
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.core.user.ReconnectInfo](reconnectInfo))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.core.user.ReconnectInfo](user.this.ReconnectInfo.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo]))))
|
|
1149
|
51045
|
45649
-
45649
|
TypeApply
|
scala.Predef.$conforms
|
org.make.api.user.userapitest
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
1149
|
31217
|
45649
-
45649
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
org.make.api.user.userapitest
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.user.ReconnectInfo](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultUserApiComponent.this.marshaller[org.make.core.user.ReconnectInfo](user.this.ReconnectInfo.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo]))
|
|
1149
|
42925
|
45649
-
45649
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.core.user.ReconnectInfo]
|
|
1149
|
38023
|
45634
-
45665
|
Apply
|
scala.Predef.ArrowAssoc.->
|
org.make.api.user.userapitest
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.OK).->[org.make.core.user.ReconnectInfo](reconnectInfo)
|
|
1157
|
42678
|
45774
-
45778
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1157
|
36498
|
45774
-
46726
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("validation-email"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResendValidationEmail", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResendValidationEmailRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResendValidationEmailRequest](DefaultUserApi.this.as[org.make.api.user.ResendValidationEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResendValidationEmailRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResendValidationEmailRequest]).apply(((entity: org.make.api.user.ResendValidationEmailRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(entity.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((user: org.make.core.user.User) => DefaultUserApiComponent.this.eventBusService.publish(org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())))));
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
})))))))))
|
|
1158
|
36204
|
45794
-
45821
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("validation-email"))(TupleOps.this.Join.join0P[Unit])
|
|
1158
|
35094
|
45794
-
45800
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1158
|
44305
|
45801
-
45801
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
1158
|
47869
|
45803
-
45821
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("validation-email")
|
|
1158
|
40344
|
45789
-
46718
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("validation-email"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResendValidationEmail", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResendValidationEmailRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResendValidationEmailRequest](DefaultUserApi.this.as[org.make.api.user.ResendValidationEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResendValidationEmailRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResendValidationEmailRequest]).apply(((entity: org.make.api.user.ResendValidationEmailRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(entity.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((user: org.make.core.user.User) => DefaultUserApiComponent.this.eventBusService.publish(org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())))));
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
}))))))))
|
|
1158
|
49201
|
45789
-
45822
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("validation-email"))(TupleOps.this.Join.join0P[Unit]))
|
|
1159
|
48749
|
45835
-
46708
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("ResendValidationEmail", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((requestContext: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResendValidationEmailRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResendValidationEmailRequest](DefaultUserApi.this.as[org.make.api.user.ResendValidationEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResendValidationEmailRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResendValidationEmailRequest]).apply(((entity: org.make.api.user.ResendValidationEmailRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(entity.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((user: org.make.core.user.User) => DefaultUserApiComponent.this.eventBusService.publish(org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())))));
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
})))))))
|
|
1159
|
50842
|
45835
-
45835
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1159
|
41098
|
45849
-
45872
|
Literal
|
<nosymbol>
|
|
"ResendValidationEmail"
|
|
1159
|
37216
|
45835
-
45835
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1159
|
35131
|
45848
-
45848
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1159
|
42706
|
45835
-
45873
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
|
DefaultUserApiComponent.this.makeOperation("ResendValidationEmail", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1160
|
34843
|
45906
-
46696
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.ResendValidationEmailRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResendValidationEmailRequest](DefaultUserApi.this.as[org.make.api.user.ResendValidationEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResendValidationEmailRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResendValidationEmailRequest]).apply(((entity: org.make.api.user.ResendValidationEmailRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(entity.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((user: org.make.core.user.User) => DefaultUserApiComponent.this.eventBusService.publish(org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())))));
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
})))))
|
|
1160
|
47617
|
45906
-
45919
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultUserApi.this.decodeRequest
|
|
1161
|
43256
|
45936
-
46682
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.ResendValidationEmailRequest,)](DefaultUserApi.this.entity[org.make.api.user.ResendValidationEmailRequest](DefaultUserApi.this.as[org.make.api.user.ResendValidationEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResendValidationEmailRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.ResendValidationEmailRequest]).apply(((entity: org.make.api.user.ResendValidationEmailRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(entity.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((user: org.make.core.user.User) => DefaultUserApiComponent.this.eventBusService.publish(org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())))));
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
}))))
|
|
1161
|
43745
|
45945
-
45945
|
Select
|
org.make.api.user.ResendValidationEmailRequest.decoder
|
|
user.this.ResendValidationEmailRequest.decoder
|
|
1161
|
41137
|
45943
-
45975
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultUserApi.this.as[org.make.api.user.ResendValidationEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResendValidationEmailRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder)))
|
|
1161
|
33253
|
45936
-
45976
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultUserApi.this.entity[org.make.api.user.ResendValidationEmailRequest](DefaultUserApi.this.as[org.make.api.user.ResendValidationEmailRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResendValidationEmailRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder))))
|
|
1161
|
35954
|
45945
-
45945
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder)
|
|
1161
|
49232
|
45945
-
45945
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.ResendValidationEmailRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.ResendValidationEmailRequest](user.this.ResendValidationEmailRequest.decoder))
|
|
1161
|
51041
|
45942
-
45942
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.ResendValidationEmailRequest]
|
|
1162
|
47655
|
46005
-
46057
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(entity.email)).asDirective
|
|
1162
|
44795
|
46046
-
46046
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
1162
|
34886
|
46005
-
46045
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
|
DefaultUserApiComponent.this.userService.getUserByEmail(entity.email)
|
|
1162
|
50832
|
46005
-
46666
|
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]](DefaultUserApiComponent.this.userService.getUserByEmail(entity.email)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => {
maybeUser.foreach[Unit](((user: org.make.core.user.User) => DefaultUserApiComponent.this.eventBusService.publish(org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())))));
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
}))
|
|
1162
|
42473
|
46032
-
46044
|
Select
|
org.make.api.user.ResendValidationEmailRequest.email
|
|
entity.email
|
|
1163
|
44298
|
46091
-
46598
|
Apply
|
scala.Option.foreach
|
|
maybeUser.foreach[Unit](((user: org.make.core.user.User) => DefaultUserApiComponent.this.eventBusService.publish(org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())))))
|
|
1164
|
48711
|
46139
-
46578
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultUserApiComponent.this.eventBusService.publish(org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())))
|
|
1165
|
35699
|
46186
-
46556
|
Apply
|
org.make.api.userhistory.ResendValidationEmailEvent.apply
|
|
org.make.api.userhistory.ResendValidationEmailEvent.apply(scala.None, org.make.core.DateHelper.now(), user.userId, user.country, requestContext, scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId()))
|
|
1166
|
36701
|
46256
-
46260
|
Select
|
scala.None
|
|
scala.None
|
|
1167
|
49270
|
46298
-
46314
|
Apply
|
org.make.core.DefaultDateHelper.now
|
|
org.make.core.DateHelper.now()
|
|
1168
|
42187
|
46349
-
46360
|
Select
|
org.make.core.user.User.userId
|
|
user.userId
|
|
1169
|
33291
|
46396
-
46408
|
Select
|
org.make.core.user.User.country
|
|
user.country
|
|
1171
|
43218
|
46501
-
46532
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.EventId](DefaultUserApiComponent.this.idGenerator.nextEventId())
|
|
1171
|
50796
|
46506
-
46531
|
Apply
|
org.make.core.technical.IdGenerator.nextEventId
|
|
DefaultUserApiComponent.this.idGenerator.nextEventId()
|
|
1175
|
36736
|
46626
-
46647
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
1175
|
42226
|
46626
-
46647
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
1175
|
49744
|
46638
-
46638
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
|
marshalling.this.Marshaller.fromStatusCode
|
|
1175
|
34366
|
46617
-
46648
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
1185
|
47770
|
46781
-
48052
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("upload-avatar"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserUploadAvatar", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId).||(user.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)))).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultUserApiComponent.this.storageService.uploadUserAvatar(extension, contentType, fileContent);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Some[org.make.core.profile.Profile] = user.profile match {
case (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profile @ _)) => scala.Some.apply[org.make.core.profile.Profile]({
<artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$2: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$4;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$5;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$6;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$7;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$8;
<artifact> val x$9: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$9;
<artifact> val x$10: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$12;
<artifact> val x$13: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$13;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$14;
<artifact> val x$15: org.make.core.reference.Country = profile.copy$default$15;
<artifact> val x$16: org.make.core.reference.Language = profile.copy$default$16;
<artifact> val x$17: Boolean = profile.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$18;
<artifact> val x$19: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$19;
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$20;
<artifact> val x$21: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$21;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$22;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$24;
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
})
case scala.None => {
<artifact> val x$25: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$26: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$29: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$33: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$34: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$37: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$39: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$40: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$41: Boolean = org.make.core.profile.Profile.parseProfile$default$17;
<artifact> val x$42: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$43: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$44: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$45: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$21;
<artifact> val x$46: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$22;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$26, x$25, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$44, x$45, x$46, x$47, x$48)
}
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$69: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))))
}))
}))
}))))))))
|
|
1185
|
49228
|
46781
-
46785
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1186
|
34879
|
46817
-
46817
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
1186
|
36535
|
46796
-
46835
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("upload-avatar"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
1186
|
50875
|
46808
-
46808
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
1186
|
47914
|
46817
-
46817
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
1186
|
43012
|
46819
-
46834
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("upload-avatar")
|
|
1186
|
41382
|
46801
-
46807
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1186
|
31001
|
46796
-
48044
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("upload-avatar"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserUploadAvatar", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId).||(user.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)))).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultUserApiComponent.this.storageService.uploadUserAvatar(extension, contentType, fileContent);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Some[org.make.core.profile.Profile] = user.profile match {
case (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profile @ _)) => scala.Some.apply[org.make.core.profile.Profile]({
<artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$2: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$4;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$5;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$6;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$7;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$8;
<artifact> val x$9: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$9;
<artifact> val x$10: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$12;
<artifact> val x$13: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$13;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$14;
<artifact> val x$15: org.make.core.reference.Country = profile.copy$default$15;
<artifact> val x$16: org.make.core.reference.Language = profile.copy$default$16;
<artifact> val x$17: Boolean = profile.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$18;
<artifact> val x$19: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$19;
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$20;
<artifact> val x$21: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$21;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$22;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$24;
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
})
case scala.None => {
<artifact> val x$25: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$26: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$29: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$33: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$34: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$37: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$39: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$40: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$41: Boolean = org.make.core.profile.Profile.parseProfile$default$17;
<artifact> val x$42: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$43: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$44: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$45: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$21;
<artifact> val x$46: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$22;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$26, x$25, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$44, x$45, x$46, x$47, x$48)
}
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$69: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))))
}))
}))
})))))))
|
|
1186
|
33863
|
46810
-
46816
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
1186
|
48995
|
46800
-
46800
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1186
|
40382
|
46801
-
46834
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("upload-avatar"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
1187
|
34643
|
46871
-
46871
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1187
|
50630
|
46858
-
46858
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1187
|
39149
|
46858
-
48034
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("UserUploadAvatar", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId).||(user.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)))).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultUserApiComponent.this.storageService.uploadUserAvatar(extension, contentType, fileContent);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Some[org.make.core.profile.Profile] = user.profile match {
case (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profile @ _)) => scala.Some.apply[org.make.core.profile.Profile]({
<artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$2: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$4;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$5;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$6;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$7;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$8;
<artifact> val x$9: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$9;
<artifact> val x$10: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$12;
<artifact> val x$13: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$13;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$14;
<artifact> val x$15: org.make.core.reference.Country = profile.copy$default$15;
<artifact> val x$16: org.make.core.reference.Language = profile.copy$default$16;
<artifact> val x$17: Boolean = profile.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$18;
<artifact> val x$19: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$19;
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$20;
<artifact> val x$21: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$21;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$22;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$24;
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
})
case scala.None => {
<artifact> val x$25: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$26: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$29: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$33: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$34: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$37: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$39: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$40: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$41: Boolean = org.make.core.profile.Profile.parseProfile$default$17;
<artifact> val x$42: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$43: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$44: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$45: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$21;
<artifact> val x$46: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$22;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$26, x$25, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$44, x$45, x$46, x$47, x$48)
}
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$69: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))))
}))
}))
})))))
|
|
1187
|
33283
|
46858
-
46858
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1187
|
42500
|
46858
-
46891
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("UserUploadAvatar", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1187
|
41417
|
46872
-
46890
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"UserUploadAvatar"
|
|
1188
|
46719
|
46924
-
48022
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId).||(user.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)))).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultUserApiComponent.this.storageService.uploadUserAvatar(extension, contentType, fileContent);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Some[org.make.core.profile.Profile] = user.profile match {
case (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profile @ _)) => scala.Some.apply[org.make.core.profile.Profile]({
<artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$2: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$4;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$5;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$6;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$7;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$8;
<artifact> val x$9: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$9;
<artifact> val x$10: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$12;
<artifact> val x$13: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$13;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$14;
<artifact> val x$15: org.make.core.reference.Country = profile.copy$default$15;
<artifact> val x$16: org.make.core.reference.Language = profile.copy$default$16;
<artifact> val x$17: Boolean = profile.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$18;
<artifact> val x$19: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$19;
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$20;
<artifact> val x$21: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$21;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$22;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$24;
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
})
case scala.None => {
<artifact> val x$25: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$26: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$29: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$33: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$34: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$37: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$39: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$40: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$41: Boolean = org.make.core.profile.Profile.parseProfile$default$17;
<artifact> val x$42: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$43: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$44: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$45: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$21;
<artifact> val x$46: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$22;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$26, x$25, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$44, x$45, x$46, x$47, x$48)
}
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$69: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))))
}))
}))
})))
|
|
1188
|
39824
|
46924
-
46924
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
1188
|
48702
|
46924
-
46934
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
1189
|
41180
|
46969
-
47034
|
Apply
|
scala.Boolean.||
|
|
user.user.userId.==(userId).||(user.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin))
|
|
1189
|
34352
|
46959
-
47035
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultUserApi.this.authorize(user.user.userId.==(userId).||(user.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)))
|
|
1189
|
36289
|
47024
-
47033
|
Select
|
org.make.core.user.Role.RoleAdmin
|
|
org.make.core.user.Role.RoleAdmin
|
|
1189
|
33720
|
46959
-
48008
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId).||(user.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)))).apply({
def uploadFile(extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content): scala.concurrent.Future[String] = DefaultUserApiComponent.this.storageService.uploadUserAvatar(extension, contentType, fileContent);
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Some[org.make.core.profile.Profile] = user.profile match {
case (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profile @ _)) => scala.Some.apply[org.make.core.profile.Profile]({
<artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$2: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$4;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$5;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$6;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$7;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$8;
<artifact> val x$9: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$9;
<artifact> val x$10: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$12;
<artifact> val x$13: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$13;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$14;
<artifact> val x$15: org.make.core.reference.Country = profile.copy$default$15;
<artifact> val x$16: org.make.core.reference.Language = profile.copy$default$16;
<artifact> val x$17: Boolean = profile.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$18;
<artifact> val x$19: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$19;
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$20;
<artifact> val x$21: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$21;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$22;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$24;
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
})
case scala.None => {
<artifact> val x$25: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$26: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$29: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$33: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$34: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$37: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$39: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$40: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$41: Boolean = org.make.core.profile.Profile.parseProfile$default$17;
<artifact> val x$42: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$43: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$44: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$45: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$21;
<artifact> val x$46: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$22;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$26, x$25, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$44, x$45, x$46, x$47, x$48)
}
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$69: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))))
}))
}))
})
|
|
1189
|
49031
|
46999
-
47034
|
Apply
|
scala.collection.SeqOps.contains
|
|
user.user.roles.contains[org.make.core.user.Role](org.make.core.user.Role.RoleAdmin)
|
|
1191
|
46345
|
47167
-
47235
|
Apply
|
org.make.api.technical.storage.StorageService.uploadUserAvatar
|
|
DefaultUserApiComponent.this.storageService.uploadUserAvatar(extension, contentType, fileContent)
|
|
1192
|
42260
|
47269
-
47275
|
Literal
|
<nosymbol>
|
|
"data"
|
|
1192
|
36494
|
47252
-
47340
|
Apply
|
org.make.api.technical.MakeDirectives.uploadImageAsync
|
|
DefaultUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultUserApiComponent.this.storageConfiguration.maxFileSize))
|
|
1192
|
37522
|
47252
-
47992
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(String, java.io.File)](DefaultUserApiComponent.this.uploadImageAsync("data", ((extension: String, contentType: String, fileContent: org.make.api.technical.storage.Content) => uploadFile(extension, contentType, fileContent)), scala.Some.apply[Long](DefaultUserApiComponent.this.storageConfiguration.maxFileSize)))(util.this.ApplyConverter.hac2[String, java.io.File]).apply(((path: String, file: java.io.File) => {
file.delete();
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Some[org.make.core.profile.Profile] = user.profile match {
case (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profile @ _)) => scala.Some.apply[org.make.core.profile.Profile]({
<artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$2: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$4;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$5;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$6;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$7;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$8;
<artifact> val x$9: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$9;
<artifact> val x$10: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$12;
<artifact> val x$13: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$13;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$14;
<artifact> val x$15: org.make.core.reference.Country = profile.copy$default$15;
<artifact> val x$16: org.make.core.reference.Language = profile.copy$default$16;
<artifact> val x$17: Boolean = profile.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$18;
<artifact> val x$19: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$19;
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$20;
<artifact> val x$21: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$21;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$22;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$24;
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
})
case scala.None => {
<artifact> val x$25: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$26: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$29: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$33: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$34: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$37: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$39: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$40: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$41: Boolean = org.make.core.profile.Profile.parseProfile$default$17;
<artifact> val x$42: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$43: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$44: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$45: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$21;
<artifact> val x$46: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$22;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$26, x$25, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$44, x$45, x$46, x$47, x$48)
}
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$69: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))))
}))
}))
|
|
1192
|
48740
|
47306
-
47338
|
Select
|
org.make.api.technical.storage.StorageConfiguration.maxFileSize
|
|
DefaultUserApiComponent.this.storageConfiguration.maxFileSize
|
|
1192
|
40886
|
47301
-
47339
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Long](DefaultUserApiComponent.this.storageConfiguration.maxFileSize)
|
|
1192
|
48790
|
47268
-
47268
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac2
|
|
util.this.ApplyConverter.hac2[String, java.io.File]
|
|
1192
|
34677
|
47277
-
47287
|
Apply
|
org.make.api.user.DefaultUserApiComponent.DefaultUserApi.uploadFile
|
|
uploadFile(extension, contentType, fileContent)
|
|
1194
|
41973
|
47397
-
47410
|
Apply
|
java.io.File.delete
|
|
file.delete()
|
|
1195
|
34391
|
47431
-
47458
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultUserApiComponent.this.userService.getUser(userId)
|
|
1195
|
43007
|
47459
-
47459
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
1195
|
45381
|
47431
-
47974
|
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](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Some[org.make.core.profile.Profile] = user.profile match {
case (value: org.make.core.profile.Profile): Some[org.make.core.profile.Profile]((profile @ _)) => scala.Some.apply[org.make.core.profile.Profile]({
<artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$2: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$4;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$5;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$6;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$7;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$8;
<artifact> val x$9: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$9;
<artifact> val x$10: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$12;
<artifact> val x$13: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$13;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$14;
<artifact> val x$15: org.make.core.reference.Country = profile.copy$default$15;
<artifact> val x$16: org.make.core.reference.Language = profile.copy$default$16;
<artifact> val x$17: Boolean = profile.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$18;
<artifact> val x$19: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$19;
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$20;
<artifact> val x$21: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$21;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$22;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$24;
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
})
case scala.None => {
<artifact> val x$25: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$26: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$1;
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$3;
<artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$4;
<artifact> val x$29: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$5;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$6;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$7;
<artifact> val x$32: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$8;
<artifact> val x$33: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$9;
<artifact> val x$34: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$10;
<artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$11;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$12;
<artifact> val x$37: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$13;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$14;
<artifact> val x$39: org.make.core.reference.Country = org.make.core.profile.Profile.parseProfile$default$15;
<artifact> val x$40: org.make.core.reference.Language = org.make.core.profile.Profile.parseProfile$default$16;
<artifact> val x$41: Boolean = org.make.core.profile.Profile.parseProfile$default$17;
<artifact> val x$42: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$18;
<artifact> val x$43: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$19;
<artifact> val x$44: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$20;
<artifact> val x$45: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$21;
<artifact> val x$46: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$22;
<artifact> val x$47: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$23;
<artifact> val x$48: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.profile.Profile.parseProfile$default$24;
org.make.core.profile.Profile.parseProfile(x$26, x$25, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$44, x$45, x$46, x$47, x$48)
}
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$69: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))))
}))
|
|
1195
|
47399
|
47431
-
47480
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound
|
|
1196
|
34440
|
47535
-
47547
|
Select
|
org.make.core.user.User.profile
|
|
user.profile
|
|
1197
|
40923
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$1
|
|
profile.copy$default$1
|
|
1197
|
40672
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$11
|
|
profile.copy$default$11
|
|
1197
|
32528
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$12
|
|
profile.copy$default$12
|
|
1197
|
35175
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$9
|
|
profile.copy$default$9
|
|
1197
|
42747
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$8
|
|
profile.copy$default$8
|
|
1197
|
49521
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$4
|
|
profile.copy$default$4
|
|
1197
|
32495
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$3
|
|
profile.copy$default$3
|
|
1197
|
42786
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$17
|
|
profile.copy$default$17
|
|
1197
|
32289
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$21
|
|
profile.copy$default$21
|
|
1197
|
41171
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$14
|
|
profile.copy$default$14
|
|
1197
|
41207
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$23
|
|
profile.copy$default$23
|
|
1197
|
40160
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$20
|
|
profile.copy$default$20
|
|
1197
|
49565
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$13
|
|
profile.copy$default$13
|
|
1197
|
33329
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$24
|
|
profile.copy$default$24
|
|
1197
|
46688
|
47607
-
47643
|
Apply
|
org.make.core.profile.Profile.copy
|
|
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
|
|
1197
|
34148
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$6
|
|
profile.copy$default$6
|
|
1197
|
48539
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$10
|
|
profile.copy$default$10
|
|
1197
|
46649
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$16
|
|
profile.copy$default$16
|
|
1197
|
46885
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$7
|
|
profile.copy$default$7
|
|
1197
|
34674
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$18
|
|
profile.copy$default$18
|
|
1197
|
39112
|
47602
-
47644
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.profile.Profile]({
<artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](path);
<artifact> val x$2: Option[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$3;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$4;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$5;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$6;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$7;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$8;
<artifact> val x$9: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$9;
<artifact> val x$10: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$12;
<artifact> val x$13: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$13;
<artifact> val x$14: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$14;
<artifact> val x$15: org.make.core.reference.Country = profile.copy$default$15;
<artifact> val x$16: org.make.core.reference.Language = profile.copy$default$16;
<artifact> val x$17: Boolean = profile.copy$default$17;
<artifact> val x$18: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$18;
<artifact> val x$19: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$19;
<artifact> val x$20: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$20;
<artifact> val x$21: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$21;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$22;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = profile.copy$default$24;
profile.copy(x$2, x$1, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
})
|
|
1197
|
34183
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$15
|
|
profile.copy$default$15
|
|
1197
|
48502
|
47632
-
47642
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](path)
|
|
1197
|
42012
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$5
|
|
profile.copy$default$5
|
|
1197
|
47691
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$19
|
|
profile.copy$default$19
|
|
1197
|
49309
|
47615
-
47615
|
Select
|
org.make.core.profile.Profile.copy$default$22
|
|
profile.copy$default$22
|
|
1198
|
33898
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
1198
|
48824
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
1198
|
45597
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
1198
|
47140
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
1198
|
40707
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$21
|
|
org.make.core.profile.Profile.parseProfile$default$21
|
|
1198
|
35524
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
1198
|
33075
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
1198
|
39071
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
1198
|
49873
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
1198
|
40662
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
1198
|
47483
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
1198
|
34429
|
47724
-
47734
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](path)
|
|
1198
|
32321
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
1198
|
47181
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$17
|
|
org.make.core.profile.Profile.parseProfile$default$17
|
|
1198
|
34468
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
1198
|
38873
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
1198
|
47731
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
1198
|
41002
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
1198
|
40960
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
1198
|
33935
|
47691
-
47735
|
Apply
|
org.make.core.profile.Profile.parseProfile
|
|
org.make.core.profile.Profile.parseProfile(x$26, x$25, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$43, x$44, x$45, x$46, x$47, x$48)
|
|
1198
|
48293
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
1198
|
34141
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
1198
|
32822
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$22
|
|
org.make.core.profile.Profile.parseProfile$default$22
|
|
1198
|
42057
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
1198
|
40624
|
47699
-
47699
|
Select
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
1201
|
32310
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
1201
|
38620
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
1201
|
33114
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
1201
|
40453
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
1201
|
32815
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$25
|
|
user.copy$default$25
|
|
1201
|
40997
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
1201
|
47475
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
1201
|
42047
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
1201
|
48043
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$4
|
|
user.copy$default$4
|
|
1201
|
45390
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$16
|
|
user.copy$default$16
|
|
1201
|
32560
|
47783
-
47866
|
Apply
|
akka.http.scaladsl.server.directives.FutureDirectives.onSuccess
|
|
DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User]))
|
|
1201
|
30975
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
1201
|
38861
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
1201
|
47519
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$23
|
|
user.copy$default$23
|
|
1201
|
30502
|
47793
-
47865
|
Apply
|
org.make.api.user.UserService.update
|
|
DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext)
|
|
1201
|
46921
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
1201
|
47175
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
1201
|
45138
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
1201
|
45892
|
47792
-
47792
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
1201
|
40491
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
1201
|
39360
|
47812
-
47848
|
Apply
|
org.make.core.user.User.copy
|
|
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
|
|
1201
|
39650
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
1201
|
46965
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
1201
|
48571
|
47811
-
47811
|
TypeApply
|
akka.http.scaladsl.server.util.LowerPriorityTupler.forAnyRef
|
|
util.this.Tupler.forAnyRef[org.make.core.user.User]
|
|
1201
|
47216
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
1201
|
45350
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
1201
|
41495
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
1201
|
40448
|
47793
-
47865
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.OnSuccessMagnet.apply
|
|
directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])
|
|
1201
|
32598
|
47783
-
47952
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](DefaultUserApi.this.onSuccess(directives.this.OnSuccessMagnet.apply[org.make.core.user.User](DefaultUserApiComponent.this.userService.update({
<artifact> val x$49: Some[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$50: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$51: String = user.copy$default$2;
<artifact> val x$52: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$3;
<artifact> val x$53: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$4;
<artifact> val x$54: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$55: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$56: Boolean = user.copy$default$7;
<artifact> val x$57: Boolean = user.copy$default$8;
<artifact> val x$58: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$59: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$60: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$61: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$62: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$63: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$64: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$65: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$66: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$67: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$68: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$69: Boolean = user.copy$default$21;
<artifact> val x$70: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$71: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$72: Boolean = user.copy$default$24;
<artifact> val x$73: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$74: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$75: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$76: Int = user.copy$default$28;
<artifact> val x$77: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$50, x$51, x$52, x$53, x$54, x$55, x$56, x$57, x$58, x$59, x$60, x$61, x$62, x$63, x$64, x$65, x$66, x$49, x$67, x$68, x$69, x$70, x$71, x$72, x$73, x$74, x$75, x$76, x$77)
}, requestContext))(util.this.Tupler.forAnyRef[org.make.core.user.User])))(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((x$69: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))))
|
|
1201
|
31010
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
1201
|
38824
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$2
|
|
user.copy$default$2
|
|
1201
|
33148
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
1201
|
33973
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
1201
|
34960
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$3
|
|
user.copy$default$3
|
|
1201
|
32074
|
47817
-
47817
|
Select
|
org.make.core.user.User.copy$default$15
|
|
user.copy$default$15
|
|
1202
|
39111
|
47921
-
47921
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse])
|
|
1202
|
48615
|
47907
-
47927
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse])))
|
|
1202
|
46960
|
47921
-
47921
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]
|
|
1202
|
40198
|
47898
-
47928
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.storage.UploadResponse](org.make.api.technical.storage.UploadResponse.apply(path))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))))
|
|
1202
|
34222
|
47921
-
47921
|
Select
|
org.make.api.technical.storage.UploadResponse.encoder
|
|
storage.this.UploadResponse.encoder
|
|
1202
|
37066
|
47907
-
47927
|
Apply
|
org.make.api.technical.storage.UploadResponse.apply
|
|
org.make.api.technical.storage.UploadResponse.apply(path)
|
|
1202
|
30965
|
47921
-
47921
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.storage.UploadResponse](DefaultUserApiComponent.this.marshaller[org.make.api.technical.storage.UploadResponse](storage.this.UploadResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.technical.storage.UploadResponse]))
|
|
1214
|
40234
|
48112
-
48115
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.user.userapitest
|
DefaultUserApi.this.put
|
|
1214
|
47659
|
48112
-
51036
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("profile"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("modifyUserProfile", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId))).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UserProfileRequest,)](DefaultUserApi.this.entity[org.make.api.user.UserProfileRequest](DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.UserProfileRequest]).apply(((entity: org.make.api.user.UserProfileRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity): _*));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}));
val modifiedUser: org.make.core.user.User = {
<artifact> val x$25: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$26: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](entity.firstName.value);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value));
<artifact> val x$28: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$29: String = user.copy$default$2;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$32: Boolean = user.copy$default$7;
<artifact> val x$33: Boolean = user.copy$default$8;
<artifact> val x$34: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$35: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$40: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$41: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$42: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$43: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$45: Boolean = user.copy$default$21;
<artifact> val x$46: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$47: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
}))
})))))))))))
|
|
1215
|
38644
|
48147
-
48147
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.util.TupleOps.LowLevelJoinImplicits.join
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])
|
|
1215
|
46755
|
48147
-
48147
|
TypeApply
|
akka.http.scaladsl.server.util.TupleFoldInstances.t0
|
org.make.api.user.userapitest
|
TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]
|
|
1215
|
34176
|
48149
-
48158
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("profile")
|
|
1215
|
32636
|
48131
-
48137
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1215
|
37558
|
48138
-
48138
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[(org.make.core.user.UserId,)]
|
|
1215
|
30751
|
48131
-
48158
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("profile"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))
|
|
1215
|
45127
|
48140
-
48146
|
Select
|
org.make.api.user.UserApi.userId
|
org.make.api.user.userapitest
|
DefaultUserApi.this.userId
|
|
1215
|
40706
|
48130
-
48130
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.user.UserId]
|
|
1215
|
44845
|
48126
-
48159
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("profile"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type])))
|
|
1215
|
35050
|
48126
-
51028
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.user.UserId,)](DefaultUserApi.this.path[(org.make.core.user.UserId,)](DefaultUserApi.this._segmentStringToPathMatcher("user")./[(org.make.core.user.UserId,)](DefaultUserApi.this.userId)(TupleOps.this.Join.join0P[(org.make.core.user.UserId,)])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("profile"))(TupleOps.this.Join.join[(org.make.core.user.UserId,), Unit](TupleOps.this.FoldLeft.t0[(org.make.core.user.UserId,), akka.http.scaladsl.server.util.TupleOps.Join.Fold.type]))))(util.this.ApplyConverter.hac1[org.make.core.user.UserId]).apply(((userId: org.make.core.user.UserId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("modifyUserProfile", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId))).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UserProfileRequest,)](DefaultUserApi.this.entity[org.make.api.user.UserProfileRequest](DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.UserProfileRequest]).apply(((entity: org.make.api.user.UserProfileRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity): _*));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}));
val modifiedUser: org.make.core.user.User = {
<artifact> val x$25: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$26: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](entity.firstName.value);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value));
<artifact> val x$28: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$29: String = user.copy$default$2;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$32: Boolean = user.copy$default$7;
<artifact> val x$33: Boolean = user.copy$default$8;
<artifact> val x$34: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$35: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$40: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$41: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$42: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$43: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$45: Boolean = user.copy$default$21;
<artifact> val x$46: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$47: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
}))
}))))))))))
|
|
1216
|
46207
|
48195
-
48195
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1216
|
37316
|
48182
-
48182
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1216
|
42920
|
48182
-
51018
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("modifyUserProfile", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.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],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId))).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UserProfileRequest,)](DefaultUserApi.this.entity[org.make.api.user.UserProfileRequest](DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.UserProfileRequest]).apply(((entity: org.make.api.user.UserProfileRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity): _*));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}));
val modifiedUser: org.make.core.user.User = {
<artifact> val x$25: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$26: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](entity.firstName.value);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value));
<artifact> val x$28: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$29: String = user.copy$default$2;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$32: Boolean = user.copy$default$7;
<artifact> val x$33: Boolean = user.copy$default$8;
<artifact> val x$34: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$35: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$40: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$41: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$42: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$43: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$45: Boolean = user.copy$default$21;
<artifact> val x$46: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$47: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
}))
}))))))))
|
|
1216
|
32392
|
48196
-
48215
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"modifyUserProfile"
|
|
1216
|
34216
|
48182
-
48216
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("modifyUserProfile", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1216
|
45164
|
48182
-
48182
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1217
|
30787
|
48249
-
48249
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
1217
|
51042
|
48249
-
51006
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultUserApiComponent.this.makeOAuth2)(util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]).apply(((user: scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId))).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UserProfileRequest,)](DefaultUserApi.this.entity[org.make.api.user.UserProfileRequest](DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.UserProfileRequest]).apply(((entity: org.make.api.user.UserProfileRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity): _*));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}));
val modifiedUser: org.make.core.user.User = {
<artifact> val x$25: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$26: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](entity.firstName.value);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value));
<artifact> val x$28: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$29: String = user.copy$default$2;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$32: Boolean = user.copy$default$7;
<artifact> val x$33: Boolean = user.copy$default$8;
<artifact> val x$34: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$35: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$40: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$41: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$42: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$43: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$45: Boolean = user.copy$default$21;
<artifact> val x$46: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$47: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
}))
}))))))
|
|
1217
|
38400
|
48249
-
48259
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOAuth2
|
|
1218
|
37729
|
48284
-
50992
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.authorize(user.user.userId.==(userId))).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UserProfileRequest,)](DefaultUserApi.this.entity[org.make.api.user.UserProfileRequest](DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.UserProfileRequest]).apply(((entity: org.make.api.user.UserProfileRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity): _*));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}));
val modifiedUser: org.make.core.user.User = {
<artifact> val x$25: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$26: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](entity.firstName.value);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value));
<artifact> val x$28: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$29: String = user.copy$default$2;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$32: Boolean = user.copy$default$7;
<artifact> val x$33: Boolean = user.copy$default$8;
<artifact> val x$34: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$35: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$40: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$41: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$42: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$43: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$45: Boolean = user.copy$default$21;
<artifact> val x$46: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$47: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
}))
}))))
|
|
1218
|
40745
|
48284
-
48321
|
Apply
|
akka.http.scaladsl.server.directives.SecurityDirectives.authorize
|
|
DefaultUserApi.this.authorize(user.user.userId.==(userId))
|
|
1218
|
44608
|
48294
-
48320
|
Apply
|
java.lang.Object.==
|
|
user.user.userId.==(userId)
|
|
1219
|
32594
|
48340
-
48353
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultUserApi.this.decodeRequest
|
|
1219
|
41140
|
48340
-
50976
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.UserProfileRequest,)](DefaultUserApi.this.entity[org.make.api.user.UserProfileRequest](DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.UserProfileRequest]).apply(((entity: org.make.api.user.UserProfileRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity): _*));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}));
val modifiedUser: org.make.core.user.User = {
<artifact> val x$25: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$26: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](entity.firstName.value);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value));
<artifact> val x$28: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$29: String = user.copy$default$2;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$32: Boolean = user.copy$default$7;
<artifact> val x$33: Boolean = user.copy$default$8;
<artifact> val x$34: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$35: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$40: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$41: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$42: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$43: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$45: Boolean = user.copy$default$21;
<artifact> val x$46: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$47: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
}))
})))
|
|
1220
|
44921
|
48383
-
48383
|
Select
|
org.make.api.user.UserProfileRequest.codec
|
|
user.this.UserProfileRequest.codec
|
|
1220
|
30548
|
48380
-
48380
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.user.UserProfileRequest]
|
|
1220
|
47259
|
48381
-
48403
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)))
|
|
1220
|
50121
|
48383
-
48383
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec))
|
|
1220
|
39145
|
48374
-
48404
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultUserApi.this.entity[org.make.api.user.UserProfileRequest](DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec))))
|
|
1220
|
37356
|
48383
-
48383
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)
|
|
1220
|
49402
|
48374
-
50958
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.user.UserProfileRequest,)](DefaultUserApi.this.entity[org.make.api.user.UserProfileRequest](DefaultUserApi.this.as[org.make.api.user.UserProfileRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.UserProfileRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.UserProfileRequest](user.this.UserProfileRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.UserProfileRequest]).apply(((entity: org.make.api.user.UserProfileRequest) => {
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity): _*));
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}));
val modifiedUser: org.make.core.user.User = {
<artifact> val x$25: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$26: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](entity.firstName.value);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value));
<artifact> val x$28: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$29: String = user.copy$default$2;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$32: Boolean = user.copy$default$7;
<artifact> val x$33: Boolean = user.copy$default$8;
<artifact> val x$34: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$35: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$40: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$41: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$42: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$43: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$45: Boolean = user.copy$default$21;
<artifact> val x$46: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$47: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
}))
}))
|
|
1221
|
40788
|
48437
-
48508
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate((DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity): _*))
|
|
1221
|
44639
|
48457
-
48503
|
Apply
|
org.make.api.user.validation.UserRegistrationValidator.requirements
|
|
DefaultUserApiComponent.this.userRegistrationValidator.requirements(entity)
|
|
1222
|
36663
|
48529
-
50938
|
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](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((user: org.make.core.user.User) => {
val modifiedProfile: Option[org.make.core.profile.Profile] = user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}));
val modifiedUser: org.make.core.user.User = {
<artifact> val x$25: Option[org.make.core.profile.Profile] @scala.reflect.internal.annotations.uncheckedBounds = modifiedProfile;
<artifact> val x$26: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](entity.firstName.value);
<artifact> val x$27: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value));
<artifact> val x$28: org.make.core.user.UserId = user.copy$default$1;
<artifact> val x$29: String = user.copy$default$2;
<artifact> val x$30: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$5;
<artifact> val x$31: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$6;
<artifact> val x$32: Boolean = user.copy$default$7;
<artifact> val x$33: Boolean = user.copy$default$8;
<artifact> val x$34: org.make.core.user.UserType = user.copy$default$9;
<artifact> val x$35: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$10;
<artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$11;
<artifact> val x$37: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$12;
<artifact> val x$38: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$13;
<artifact> val x$39: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$14;
<artifact> val x$40: Seq[org.make.core.user.Role] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$15;
<artifact> val x$41: org.make.core.reference.Country = user.copy$default$16;
<artifact> val x$42: org.make.core.reference.Language = user.copy$default$17;
<artifact> val x$43: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$19;
<artifact> val x$44: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$20;
<artifact> val x$45: Boolean = user.copy$default$21;
<artifact> val x$46: Option[org.make.core.user.MailingErrorLog] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$22;
<artifact> val x$47: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$23;
<artifact> val x$48: Boolean = user.copy$default$24;
<artifact> val x$49: Seq[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$25;
<artifact> val x$50: Seq[org.make.core.EventId] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$26;
<artifact> val x$51: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$27;
<artifact> val x$52: Int = user.copy$default$28;
<artifact> val x$53: Option[java.time.ZonedDateTime] @scala.reflect.internal.annotations.uncheckedBounds = user.copy$default$29;
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
};
server.this.Directive.addDirectiveApply[(org.make.core.user.User,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
}))
|
|
1222
|
37871
|
48557
-
48557
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
1222
|
45679
|
48529
-
48578
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.getUser(userId)).asDirectiveOrNotFound
|
|
1222
|
32350
|
48529
-
48556
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultUserApiComponent.this.userService.getUser(userId)
|
|
1224
|
31305
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
org.make.core.profile.Profile.parseProfile$default$4
|
|
1224
|
46509
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
org.make.core.profile.Profile.parseProfile$default$11
|
|
1224
|
38901
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
org.make.core.profile.Profile.parseProfile$default$3
|
|
1224
|
32181
|
48678
-
48700
|
Apply
|
org.make.core.profile.Profile.parseProfile
|
|
org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)
|
|
1224
|
37307
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
org.make.core.profile.Profile.parseProfile$default$9
|
|
1224
|
51180
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
org.make.core.profile.Profile.parseProfile$default$1
|
|
1224
|
45426
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
org.make.core.profile.Profile.parseProfile$default$8
|
|
1224
|
50378
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
org.make.core.profile.Profile.parseProfile$default$19
|
|
1224
|
38691
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$21
|
|
org.make.core.profile.Profile.parseProfile$default$21
|
|
1224
|
38942
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
org.make.core.profile.Profile.parseProfile$default$12
|
|
1224
|
44678
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
org.make.core.profile.Profile.parseProfile$default$5
|
|
1224
|
43882
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
org.make.core.profile.Profile.parseProfile$default$23
|
|
1224
|
30535
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$22
|
|
org.make.core.profile.Profile.parseProfile$default$22
|
|
1224
|
36788
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
org.make.core.profile.Profile.parseProfile$default$24
|
|
1224
|
37347
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
org.make.core.profile.Profile.parseProfile$default$18
|
|
1224
|
40529
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
org.make.core.profile.Profile.parseProfile$default$6
|
|
1224
|
46549
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
org.make.core.profile.Profile.parseProfile$default$20
|
|
1224
|
36348
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
org.make.core.profile.Profile.parseProfile$default$15
|
|
1224
|
45466
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$17
|
|
org.make.core.profile.Profile.parseProfile$default$17
|
|
1224
|
30501
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
org.make.core.profile.Profile.parseProfile$default$13
|
|
1224
|
32146
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
org.make.core.profile.Profile.parseProfile$default$16
|
|
1224
|
51220
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
org.make.core.profile.Profile.parseProfile$default$10
|
|
1224
|
43845
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
org.make.core.profile.Profile.parseProfile$default$14
|
|
1224
|
32388
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
org.make.core.profile.Profile.parseProfile$default$7
|
|
1224
|
46752
|
48686
-
48686
|
Select
|
org.make.core.profile.Profile.parseProfile$default$2
|
|
org.make.core.profile.Profile.parseProfile$default$2
|
|
1225
|
43622
|
48633
-
49498
|
Apply
|
scala.Option.map
|
|
user.profile.orElse[org.make.core.profile.Profile](org.make.core.profile.Profile.parseProfile(org.make.core.profile.Profile.parseProfile$default$1, org.make.core.profile.Profile.parseProfile$default$2, org.make.core.profile.Profile.parseProfile$default$3, org.make.core.profile.Profile.parseProfile$default$4, org.make.core.profile.Profile.parseProfile$default$5, org.make.core.profile.Profile.parseProfile$default$6, org.make.core.profile.Profile.parseProfile$default$7, org.make.core.profile.Profile.parseProfile$default$8, org.make.core.profile.Profile.parseProfile$default$9, org.make.core.profile.Profile.parseProfile$default$10, org.make.core.profile.Profile.parseProfile$default$11, org.make.core.profile.Profile.parseProfile$default$12, org.make.core.profile.Profile.parseProfile$default$13, org.make.core.profile.Profile.parseProfile$default$14, org.make.core.profile.Profile.parseProfile$default$15, org.make.core.profile.Profile.parseProfile$default$16, org.make.core.profile.Profile.parseProfile$default$17, org.make.core.profile.Profile.parseProfile$default$18, org.make.core.profile.Profile.parseProfile$default$19, org.make.core.profile.Profile.parseProfile$default$20, org.make.core.profile.Profile.parseProfile$default$21, org.make.core.profile.Profile.parseProfile$default$22, org.make.core.profile.Profile.parseProfile$default$23, org.make.core.profile.Profile.parseProfile$default$24)).map[org.make.core.profile.Profile](((x$70: org.make.core.profile.Profile) => {
<artifact> val x$1: Some[java.time.LocalDate] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate);
<artifact> val x$2: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value));
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value));
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value));
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value));
<artifact> val x$6: org.make.core.reference.Country = entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"));
<artifact> val x$7: org.make.core.reference.Language = entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"));
<artifact> val x$8: Boolean = entity.optInNewsletter;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value));
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$4;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$6;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$7;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$8;
<artifact> val x$14: Option[Map[org.make.core.operation.OperationId,org.make.core.user.OidcInfo]] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$9;
<artifact> val x$15: Option[org.make.core.profile.Gender] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$10;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$11;
<artifact> val x$17: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$13;
<artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$14;
<artifact> val x$19: Option[org.make.core.profile.SocioProfessionalCategory] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$18;
<artifact> val x$20: Option[org.make.core.question.QuestionId] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$19;
<artifact> val x$21: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$20;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$21;
<artifact> val x$23: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$23;
<artifact> val x$24: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$70.copy$default$24;
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
}))
|
|
1226
|
50729
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$21
|
|
x$70.copy$default$21
|
|
1226
|
45462
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$6
|
|
x$70.copy$default$6
|
|
1226
|
38727
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$24
|
|
x$70.copy$default$24
|
|
1226
|
30826
|
48758
-
49472
|
Apply
|
org.make.core.profile.Profile.copy
|
|
x$70.copy(x$1, x$2, x$3, x$10, x$4, x$11, x$12, x$13, x$14, x$15, x$16, x$5, x$17, x$18, x$6, x$7, x$8, x$19, x$20, x$21, x$22, x$9, x$23, x$24)
|
|
1226
|
43111
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$9
|
|
x$70.copy$default$9
|
|
1226
|
32677
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$4
|
|
x$70.copy$default$4
|
|
1226
|
36627
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$14
|
|
x$70.copy$default$14
|
|
1226
|
50964
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$8
|
|
x$70.copy$default$8
|
|
1226
|
37641
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$20
|
|
x$70.copy$default$20
|
|
1226
|
31082
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$11
|
|
x$70.copy$default$11
|
|
1226
|
38197
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$7
|
|
x$70.copy$default$7
|
|
1226
|
38684
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$10
|
|
x$70.copy$default$10
|
|
1226
|
44193
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$13
|
|
x$70.copy$default$13
|
|
1226
|
43143
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$23
|
|
x$70.copy$default$23
|
|
1226
|
45203
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$19
|
|
x$70.copy$default$19
|
|
1226
|
49369
|
48760
-
48760
|
Select
|
org.make.core.profile.Profile.copy$default$18
|
|
x$70.copy$default$18
|
|
1227
|
37102
|
48808
-
48842
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[java.time.LocalDate](entity.dateOfBirth.birthDate)
|
|
1227
|
44949
|
48813
-
48841
|
Select
|
org.make.core.Validation.BirthDate.birthDate
|
|
entity.dateOfBirth.birthDate
|
|
1228
|
47000
|
48884
-
48913
|
Apply
|
scala.Option.map
|
|
entity.avatarUrl.map[String](((x$71: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$71.value))
|
|
1228
|
51170
|
48905
-
48912
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$71.value
|
|
1229
|
30572
|
48956
-
48986
|
Apply
|
scala.Option.map
|
|
entity.profession.map[String](((x$72: eu.timepit.refined.api.Refined[String,org.make.core.Validation.ValidHtml]) => x$72.value))
|
|
1229
|
38731
|
48978
-
48985
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$72.value
|
|
1230
|
43628
|
49053
-
49060
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$73.value
|
|
1230
|
36830
|
49030
-
49061
|
Apply
|
scala.Option.map
|
|
entity.description.map[String](((x$73: eu.timepit.refined.api.Refined[String,eu.timepit.refined.boolean.And[org.make.core.Validation.ValidHtml,eu.timepit.refined.collection.MaxSize[450]]]) => x$73.value))
|
|
1231
|
32635
|
49126
-
49133
|
Select
|
org.make.core.Validation.PostalCode.value
|
|
x$74.value
|
|
1231
|
46023
|
49104
-
49134
|
Apply
|
scala.Option.map
|
|
entity.postalCode.map[String](((x$74: org.make.core.Validation.PostalCode) => x$74.value))
|
|
1232
|
37140
|
49205
-
49218
|
Apply
|
org.make.core.reference.Country.apply
|
|
org.make.core.reference.Country.apply("FR")
|
|
1232
|
50932
|
49177
-
49219
|
Apply
|
scala.Option.getOrElse
|
|
entity.crmCountry.getOrElse[org.make.core.reference.Country](org.make.core.reference.Country.apply("FR"))
|
|
1233
|
38937
|
49263
-
49307
|
Apply
|
scala.Option.getOrElse
|
|
entity.crmLanguage.getOrElse[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))
|
|
1233
|
43349
|
49292
-
49306
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply("fr")
|
|
1234
|
31654
|
49355
-
49377
|
Select
|
org.make.api.user.UserProfileRequest.optInNewsletter
|
|
entity.optInNewsletter
|
|
1235
|
36591
|
49417
-
49444
|
Apply
|
scala.Option.map
|
|
entity.website.map[String](((x$75: eu.timepit.refined.api.Refined[String,eu.timepit.refined.string.Url]) => x$75.value))
|
|
1235
|
43666
|
49436
-
49443
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$75.value
|
|
1240
|
50164
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$1
|
|
user.copy$default$1
|
|
1240
|
49162
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$9
|
|
user.copy$default$9
|
|
1240
|
43136
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$23
|
|
user.copy$default$23
|
|
1240
|
44948
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$29
|
|
user.copy$default$29
|
|
1240
|
49658
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$28
|
|
user.copy$default$28
|
|
1240
|
35270
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$24
|
|
user.copy$default$24
|
|
1240
|
49619
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$19
|
|
user.copy$default$19
|
|
1240
|
35814
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$8
|
|
user.copy$default$8
|
|
1240
|
38470
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$5
|
|
user.copy$default$5
|
|
1240
|
31436
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$25
|
|
user.copy$default$25
|
|
1240
|
36618
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$17
|
|
user.copy$default$17
|
|
1240
|
36379
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$27
|
|
user.copy$default$27
|
|
1240
|
30870
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$6
|
|
user.copy$default$6
|
|
1240
|
38230
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$21
|
|
user.copy$default$21
|
|
1240
|
50201
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$12
|
|
user.copy$default$12
|
|
1240
|
38188
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$11
|
|
user.copy$default$11
|
|
1240
|
44677
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$7
|
|
user.copy$default$7
|
|
1240
|
37984
|
49565
-
49788
|
Apply
|
org.make.core.user.User.copy
|
|
user.copy(x$28, x$29, x$26, x$27, x$30, x$31, x$32, x$33, x$34, x$35, x$36, x$37, x$38, x$39, x$40, x$41, x$42, x$25, x$43, x$44, x$45, x$46, x$47, x$48, x$49, x$50, x$51, x$52, x$53)
|
|
1240
|
43098
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$13
|
|
user.copy$default$13
|
|
1240
|
44991
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$10
|
|
user.copy$default$10
|
|
1240
|
45036
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$20
|
|
user.copy$default$20
|
|
1240
|
31399
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$15
|
|
user.copy$default$15
|
|
1240
|
44716
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$16
|
|
user.copy$default$16
|
|
1240
|
44752
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$26
|
|
user.copy$default$26
|
|
1240
|
34811
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$14
|
|
user.copy$default$14
|
|
1240
|
42640
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$2
|
|
user.copy$default$2
|
|
1240
|
51256
|
49570
-
49570
|
Select
|
org.make.core.user.User.copy$default$22
|
|
user.copy$default$22
|
|
1242
|
36664
|
49672
-
49694
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
entity.firstName.value
|
|
1242
|
49127
|
49667
-
49695
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](entity.firstName.value)
|
|
1243
|
38152
|
49734
-
49762
|
Apply
|
scala.Option.map
|
|
entity.lastName.map[String](((x$76: org.make.core.Validation.Name) => x$76.value))
|
|
1243
|
45245
|
49754
-
49761
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$76.value
|
|
1246
|
44503
|
49812
-
50916
|
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](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective)(util.this.ApplyConverter.hac1[org.make.core.user.User]).apply(((result: org.make.core.user.User) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))))
|
|
1246
|
50755
|
49812
-
49860
|
Apply
|
org.make.api.user.UserService.update
|
|
DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)
|
|
1246
|
42886
|
49812
-
49872
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.user.User](DefaultUserApiComponent.this.userService.update(modifiedUser, requestContext)).asDirective
|
|
1246
|
35308
|
49861
-
49861
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.user.User]
|
|
1247
|
47621
|
49909
-
50892
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))))
|
|
1248
|
48958
|
49945
-
50866
|
Apply
|
org.make.api.user.UserProfileResponse.apply
|
|
UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage)))
|
|
1248
|
34602
|
49945
-
50866
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserProfileResponse](UserProfileResponse.apply(result.email, result.firstName, result.lastName, result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth)), result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl)), result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession)), result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description)), result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode)), result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter)), result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website)), result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry)), result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse])))
|
|
1248
|
43427
|
49964
-
49964
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserProfileResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]))
|
|
1248
|
41103
|
49964
-
49964
|
Select
|
org.make.api.user.UserProfileResponse.encoder
|
|
user.this.UserProfileResponse.encoder
|
|
1248
|
37218
|
49964
-
49964
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse]
|
|
1248
|
51008
|
49964
-
49964
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.UserProfileResponse](user.this.UserProfileResponse.encoder, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserProfileResponse])
|
|
1249
|
30864
|
50002
-
50014
|
Select
|
org.make.core.user.User.email
|
|
result.email
|
|
1250
|
44513
|
50056
-
50072
|
Select
|
org.make.core.user.User.firstName
|
|
result.firstName
|
|
1251
|
36413
|
50113
-
50128
|
Select
|
org.make.core.user.User.lastName
|
|
result.lastName
|
|
1252
|
41299
|
50172
-
50209
|
Apply
|
scala.Option.flatMap
|
|
result.profile.flatMap[java.time.LocalDate](((x$77: org.make.core.profile.Profile) => x$77.dateOfBirth))
|
|
1252
|
49415
|
50195
-
50208
|
Select
|
org.make.core.profile.Profile.dateOfBirth
|
|
x$77.dateOfBirth
|
|
1253
|
50514
|
50251
-
50286
|
Apply
|
scala.Option.flatMap
|
|
result.profile.flatMap[String](((x$78: org.make.core.profile.Profile) => x$78.avatarUrl))
|
|
1253
|
37430
|
50274
-
50285
|
Select
|
org.make.core.profile.Profile.avatarUrl
|
|
x$78.avatarUrl
|
|
1254
|
34528
|
50329
-
50365
|
Apply
|
scala.Option.flatMap
|
|
result.profile.flatMap[String](((x$79: org.make.core.profile.Profile) => x$79.profession))
|
|
1254
|
42928
|
50352
-
50364
|
Select
|
org.make.core.profile.Profile.profession
|
|
x$79.profession
|
|
1255
|
43963
|
50409
-
50446
|
Apply
|
scala.Option.flatMap
|
|
result.profile.flatMap[String](((x$80: org.make.core.profile.Profile) => x$80.description))
|
|
1255
|
30615
|
50432
-
50445
|
Select
|
org.make.core.profile.Profile.description
|
|
x$80.description
|
|
1256
|
36173
|
50512
-
50524
|
Select
|
org.make.core.profile.Profile.postalCode
|
|
x$81.postalCode
|
|
1256
|
49448
|
50489
-
50525
|
Apply
|
scala.Option.flatMap
|
|
result.profile.flatMap[String](((x$81: org.make.core.profile.Profile) => x$81.postalCode))
|
|
1257
|
41341
|
50595
-
50612
|
Select
|
org.make.core.profile.Profile.optInNewsletter
|
|
x$82.optInNewsletter
|
|
1257
|
37177
|
50573
-
50613
|
Apply
|
scala.Option.forall
|
|
result.profile.forall(((x$82: org.make.core.profile.Profile) => x$82.optInNewsletter))
|
|
1258
|
51252
|
50676
-
50685
|
Select
|
org.make.core.profile.Profile.website
|
|
x$83.website
|
|
1258
|
42683
|
50653
-
50686
|
Apply
|
scala.Option.flatMap
|
|
result.profile.flatMap[String](((x$83: org.make.core.profile.Profile) => x$83.website))
|
|
1259
|
47872
|
50729
-
50761
|
Apply
|
scala.Option.map
|
|
result.profile.map[org.make.core.reference.Country](((x$84: org.make.core.profile.Profile) => x$84.crmCountry))
|
|
1259
|
34566
|
50748
-
50760
|
Select
|
org.make.core.profile.Profile.crmCountry
|
|
x$84.crmCountry
|
|
1260
|
44467
|
50824
-
50837
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$85.crmLanguage
|
|
1260
|
36906
|
50805
-
50838
|
Apply
|
scala.Option.map
|
|
result.profile.map[org.make.core.reference.Language](((x$85: org.make.core.profile.Profile) => x$85.crmLanguage))
|
|
1275
|
43009
|
51095
-
51825
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetPrivacyPolicy", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$86: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.PrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.PrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.PrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.PrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.PrivacyPolicyRequest]).apply(((request: org.make.api.user.PrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmailAndPassword(request.email, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))
})))))))))
|
|
1275
|
44261
|
51095
-
51099
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1276
|
46853
|
51110
-
51817
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetPrivacyPolicy", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$86: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.PrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.PrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.PrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.PrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.PrivacyPolicyRequest]).apply(((request: org.make.api.user.PrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmailAndPassword(request.email, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))
}))))))))
|
|
1276
|
51084
|
51110
-
51141
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy"))(TupleOps.this.Join.join0P[Unit]))
|
|
1276
|
49442
|
51124
-
51140
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy")
|
|
1276
|
36702
|
51115
-
51121
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1276
|
41588
|
51122
-
51122
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
1276
|
34078
|
51115
-
51140
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy"))(TupleOps.this.Join.join0P[Unit])
|
|
1277
|
35091
|
51154
-
51154
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1277
|
36203
|
51167
-
51167
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1277
|
34396
|
51154
-
51807
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetPrivacyPolicy", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$86: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.PrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.PrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.PrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.PrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.PrivacyPolicyRequest]).apply(((request: org.make.api.user.PrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmailAndPassword(request.email, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))
})))))))
|
|
1277
|
47575
|
51154
-
51154
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1277
|
42673
|
51168
-
51186
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"GetPrivacyPolicy"
|
|
1277
|
44300
|
51154
-
51187
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("GetPrivacyPolicy", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1278
|
41377
|
51207
-
51795
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.PrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.PrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.PrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.PrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.PrivacyPolicyRequest]).apply(((request: org.make.api.user.PrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmailAndPassword(request.email, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))
})))))
|
|
1278
|
49194
|
51207
-
51220
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
1279
|
34846
|
51237
-
51269
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.PrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.PrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.PrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec))))
|
|
1279
|
33207
|
51246
-
51246
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec)
|
|
1279
|
47612
|
51243
-
51243
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.PrivacyPolicyRequest]
|
|
1279
|
42704
|
51244
-
51268
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.PrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.PrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec)))
|
|
1279
|
50835
|
51246
-
51246
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.PrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec))
|
|
1279
|
48957
|
51237
-
51781
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.PrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.PrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.PrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.PrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.PrivacyPolicyRequest](user.this.PrivacyPolicyRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.PrivacyPolicyRequest]).apply(((request: org.make.api.user.PrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmailAndPassword(request.email, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))
}))))
|
|
1279
|
41627
|
51246
-
51246
|
Select
|
org.make.api.user.PrivacyPolicyRequest.codec
|
org.make.api.user.userapitest
|
user.this.PrivacyPolicyRequest.codec
|
|
1280
|
43740
|
51337
-
51350
|
Select
|
org.make.api.user.PrivacyPolicyRequest.email
|
org.make.api.user.userapitest
|
request.email
|
|
1280
|
33249
|
51370
-
51370
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
1280
|
35949
|
51352
-
51368
|
Select
|
org.make.api.user.PrivacyPolicyRequest.password
|
org.make.api.user.userapitest
|
request.password
|
|
1280
|
42145
|
51299
-
51381
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmailAndPassword(request.email, request.password)).asDirective
|
|
1280
|
36495
|
51299
-
51765
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmailAndPassword(request.email, request.password)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
case (value: org.make.core.user.User): Some[org.make.core.user.User]((user @ _)) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))
}))
|
|
1280
|
49229
|
51299
-
51369
|
Apply
|
org.make.api.user.UserService.getUserByEmailAndPassword
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.userService.getUserByEmailAndPassword(request.email, request.password)
|
|
1282
|
36453
|
51435
-
51642
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))))
|
|
1283
|
50792
|
51490
-
51490
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
org.make.api.user.userapitest
|
circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec)
|
|
1283
|
35408
|
51490
-
51490
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])
|
|
1283
|
39828
|
51467
-
51620
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.user.userapitest
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError])](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]])))
|
|
1283
|
49000
|
51467
-
51620
|
Apply
|
scala.Predef.ArrowAssoc.->
|
org.make.api.user.userapitest
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.ClientError](akka.http.scaladsl.model.StatusCodes.BadRequest).->[Seq[org.make.core.ValidationError]](scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid."))))
|
|
1283
|
43216
|
51490
-
51490
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]
|
|
1283
|
50286
|
51467
-
51489
|
Select
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
org.make.api.user.userapitest
|
akka.http.scaladsl.model.StatusCodes.BadRequest
|
|
1283
|
42180
|
51490
-
51490
|
TypeApply
|
scala.Predef.$conforms
|
org.make.api.user.userapitest
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError]
|
|
1283
|
33286
|
51490
-
51490
|
Select
|
org.make.core.ValidationError.codec
|
org.make.api.user.userapitest
|
core.this.ValidationError.codec
|
|
1283
|
36698
|
51493
-
51620
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.user.userapitest
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid.")))
|
|
1283
|
48705
|
51490
-
51490
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
org.make.api.user.userapitest
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.ClientError, Seq[org.make.core.ValidationError]](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.ClientError], DefaultUserApiComponent.this.marshaller[Seq[org.make.core.ValidationError]](circe.this.Encoder.encodeSeq[org.make.core.ValidationError](core.this.ValidationError.codec), DefaultUserApiComponent.this.marshaller$default$2[Seq[org.make.core.ValidationError]]))
|
|
1284
|
39783
|
51522
-
51596
|
Apply
|
org.make.core.ValidationError.apply
|
org.make.api.user.userapitest
|
org.make.core.ValidationError.apply("email", "invalid", scala.Some.apply[String]("email or password is invalid."))
|
|
1284
|
48671
|
51558
-
51595
|
Apply
|
scala.Some.apply
|
org.make.api.user.userapitest
|
scala.Some.apply[String]("email or password is invalid.")
|
|
1284
|
34881
|
51547
-
51556
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"invalid"
|
|
1284
|
42467
|
51538
-
51545
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"email"
|
|
1287
|
34840
|
51714
-
51714
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
org.make.api.user.userapitest
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))
|
|
1287
|
42220
|
51689
-
51746
|
Apply
|
org.make.api.user.UserPrivacyPolicyResponse.apply
|
org.make.api.user.userapitest
|
UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate)
|
|
1287
|
40338
|
51680
-
51747
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))
|
|
1287
|
34357
|
51714
-
51714
|
Select
|
org.make.api.user.UserPrivacyPolicyResponse.codec
|
org.make.api.user.userapitest
|
user.this.UserPrivacyPolicyResponse.codec
|
|
1287
|
47097
|
51714
-
51714
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]
|
|
1287
|
42970
|
51714
-
51714
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse])
|
|
1287
|
48744
|
51689
-
51746
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.user.userapitest
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(user.privacyPolicyApprovalDate))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse])))
|
|
1287
|
49743
|
51715
-
51745
|
Select
|
org.make.core.user.User.privacyPolicyApprovalDate
|
org.make.api.user.userapitest
|
user.privacyPolicyApprovalDate
|
|
1297
|
34876
|
51890
-
51894
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1297
|
33327
|
51890
-
52755
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("social"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetSocialPrivacyPolicy", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$87: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SocialPrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.SocialPrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialPrivacyPolicyRequest]).apply(((request: org.make.api.user.SocialPrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](cats.syntax.`package`.traverse.toTraverseOps[Option, org.make.core.question.QuestionId](request.questionId)(cats.this.UnorderedFoldable.catsTraverseForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultUserApiComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
})(cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.this.Invariant.catsInstancesForOption).flatMap[Option[org.make.core.user.User]](((maybeQuestion: Option[org.make.core.question.Question]) => DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse])))))))))))))
|
|
1298
|
46889
|
51905
-
51947
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("social"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy"))(TupleOps.this.Join.join0P[Unit]))
|
|
1298
|
36242
|
51917
-
51917
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
1298
|
47908
|
51910
-
51916
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1298
|
40374
|
51919
-
51927
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("social")
|
|
1298
|
41415
|
51928
-
51928
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
1298
|
48990
|
51930
-
51946
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy")
|
|
1298
|
42219
|
51905
-
52747
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("social"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetSocialPrivacyPolicy", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$87: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SocialPrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.SocialPrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialPrivacyPolicyRequest]).apply(((request: org.make.api.user.SocialPrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](cats.syntax.`package`.traverse.toTraverseOps[Option, org.make.core.question.QuestionId](request.questionId)(cats.this.UnorderedFoldable.catsTraverseForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultUserApiComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
})(cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.this.Invariant.catsInstancesForOption).flatMap[Option[org.make.core.user.User]](((maybeQuestion: Option[org.make.core.question.Question]) => DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))))))))))
|
|
1298
|
34308
|
51910
-
51946
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("social"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("privacy-policy"))(TupleOps.this.Join.join0P[Unit])
|
|
1299
|
43519
|
51974
-
51998
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"GetSocialPrivacyPolicy"
|
|
1299
|
31930
|
51973
-
51973
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1299
|
40842
|
51960
-
51999
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("GetSocialPrivacyPolicy", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1299
|
47950
|
51960
-
51960
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1299
|
45602
|
51960
-
52737
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("GetSocialPrivacyPolicy", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$87: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SocialPrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.SocialPrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialPrivacyPolicyRequest]).apply(((request: org.make.api.user.SocialPrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](cats.syntax.`package`.traverse.toTraverseOps[Option, org.make.core.question.QuestionId](request.questionId)(cats.this.UnorderedFoldable.catsTraverseForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultUserApiComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
})(cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.this.Invariant.catsInstancesForOption).flatMap[Option[org.make.core.user.User]](((maybeQuestion: Option[org.make.core.question.Question]) => DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse])))))))))))
|
|
1299
|
34638
|
51960
-
51960
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1300
|
32282
|
52019
-
52725
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.SocialPrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.SocialPrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialPrivacyPolicyRequest]).apply(((request: org.make.api.user.SocialPrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](cats.syntax.`package`.traverse.toTraverseOps[Option, org.make.core.question.QuestionId](request.questionId)(cats.this.UnorderedFoldable.catsTraverseForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultUserApiComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
})(cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.this.Invariant.catsInstancesForOption).flatMap[Option[org.make.core.user.User]](((maybeQuestion: Option[org.make.core.question.Question]) => DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse])))))))))
|
|
1300
|
49028
|
52019
-
52032
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
1301
|
40103
|
52049
-
52711
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.SocialPrivacyPolicyRequest,)](DefaultUserApi.this.entity[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.SocialPrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder)))))(util.this.ApplyConverter.hac1[org.make.api.user.SocialPrivacyPolicyRequest]).apply(((request: org.make.api.user.SocialPrivacyPolicyRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](cats.syntax.`package`.traverse.toTraverseOps[Option, org.make.core.question.QuestionId](request.questionId)(cats.this.UnorderedFoldable.catsTraverseForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultUserApiComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
})(cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.this.Invariant.catsInstancesForOption).flatMap[Option[org.make.core.user.User]](((maybeQuestion: Option[org.make.core.question.Question]) => DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))))))
|
|
1301
|
42965
|
52056
-
52086
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.SocialPrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder)))
|
|
1301
|
47358
|
52058
-
52058
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder))
|
|
1301
|
34675
|
52049
-
52087
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApi.this.as[org.make.api.user.SocialPrivacyPolicyRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder))))
|
|
1301
|
41173
|
52058
-
52058
|
Select
|
org.make.api.user.SocialPrivacyPolicyRequest.decoder
|
org.make.api.user.userapitest
|
user.this.SocialPrivacyPolicyRequest.decoder
|
|
1301
|
34348
|
52058
-
52058
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.SocialPrivacyPolicyRequest](user.this.SocialPrivacyPolicyRequest.decoder)
|
|
1301
|
48460
|
52055
-
52055
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.SocialPrivacyPolicyRequest]
|
|
1303
|
49482
|
52191
-
52218
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
eta$0$1.getQuestion(questionId)
|
|
1303
|
34143
|
52156
-
52156
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.user.userapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1303
|
34110
|
52190
-
52190
|
ApplyToImplicitArgs
|
cats.Invariant.catsInstancesForFuture
|
org.make.api.user.userapitest
|
cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1303
|
47436
|
52118
-
52547
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.user.userapitest
|
cats.syntax.`package`.traverse.toTraverseOps[Option, org.make.core.question.QuestionId](request.questionId)(cats.this.UnorderedFoldable.catsTraverseForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultUserApiComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
})(cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.this.Invariant.catsInstancesForOption).flatMap[Option[org.make.core.user.User]](((maybeQuestion: Option[org.make.core.question.Question]) => DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1303
|
40883
|
52159
-
52177
|
Select
|
org.make.api.user.SocialPrivacyPolicyRequest.questionId
|
org.make.api.user.userapitest
|
request.questionId
|
|
1303
|
47396
|
52190
-
52190
|
Select
|
cats.Invariant.catsInstancesForOption
|
org.make.api.user.userapitest
|
cats.this.Invariant.catsInstancesForOption
|
|
1303
|
41208
|
52190
-
52190
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.user.userapitest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1303
|
32729
|
52167
-
52167
|
Select
|
cats.UnorderedFoldable.catsTraverseForOption
|
org.make.api.user.userapitest
|
cats.this.UnorderedFoldable.catsTraverseForOption
|
|
1304
|
49520
|
52248
-
52248
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
1304
|
41131
|
52238
-
52547
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
1306
|
43004
|
52335
-
52351
|
Select
|
org.make.api.user.SocialPrivacyPolicyRequest.provider
|
|
request.provider
|
|
1307
|
35129
|
52375
-
52388
|
Select
|
org.make.api.user.SocialPrivacyPolicyRequest.token
|
|
request.token
|
|
1308
|
40629
|
52412
-
52448
|
Apply
|
scala.Option.flatMap
|
|
maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId))
|
|
1308
|
48497
|
52434
-
52447
|
Select
|
org.make.core.question.Question.operationId
|
|
x$88.operationId
|
|
1309
|
32490
|
52472
-
52491
|
Select
|
org.make.api.user.SocialPrivacyPolicyRequest.redirectUri
|
|
request.redirectUri
|
|
1311
|
39039
|
52118
-
52560
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](cats.syntax.`package`.traverse.toTraverseOps[Option, org.make.core.question.QuestionId](request.questionId)(cats.this.UnorderedFoldable.catsTraverseForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultUserApiComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
})(cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.this.Invariant.catsInstancesForOption).flatMap[Option[org.make.core.user.User]](((maybeQuestion: Option[org.make.core.question.Question]) => DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective
|
|
1311
|
35174
|
52549
-
52549
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
1311
|
47689
|
52118
-
52695
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](cats.syntax.`package`.traverse.toTraverseOps[Option, org.make.core.question.QuestionId](request.questionId)(cats.this.UnorderedFoldable.catsTraverseForOption).flatTraverse[scala.concurrent.Future, org.make.core.question.Question]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultUserApiComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
})(cats.this.Invariant.catsInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.this.Invariant.catsInstancesForOption).flatMap[Option[org.make.core.user.User]](((maybeQuestion: Option[org.make.core.question.Question]) => DefaultUserApiComponent.this.socialService.getUserByProviderAndToken(request.provider, request.token, maybeQuestion.flatMap[org.make.core.operation.OperationId](((x$88: org.make.core.question.Question) => x$88.operationId)), request.redirectUri).map[Option[org.make.core.user.User]](((maybeUser: Option[org.make.core.user.User]) => maybeUser))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((maybeUser: Option[org.make.core.user.User]) => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))))
|
|
1312
|
39075
|
52603
-
52676
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse])))
|
|
1312
|
35692
|
52594
-
52677
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.user.UserPrivacyPolicyResponse](UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))))(marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))))
|
|
1312
|
40665
|
52629
-
52675
|
Apply
|
scala.Option.flatMap
|
|
maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate))
|
|
1312
|
33580
|
52628
-
52628
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse])
|
|
1312
|
49266
|
52628
-
52628
|
Select
|
org.make.api.user.UserPrivacyPolicyResponse.codec
|
|
user.this.UserPrivacyPolicyResponse.codec
|
|
1312
|
47650
|
52647
-
52674
|
Select
|
org.make.core.user.User.privacyPolicyApprovalDate
|
|
x$89.privacyPolicyApprovalDate
|
|
1312
|
32524
|
52603
-
52676
|
Apply
|
org.make.api.user.UserPrivacyPolicyResponse.apply
|
|
UserPrivacyPolicyResponse.apply(maybeUser.flatMap[java.time.ZonedDateTime](((x$89: org.make.core.user.User) => x$89.privacyPolicyApprovalDate)))
|
|
1312
|
41169
|
52628
-
52628
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]
|
|
1312
|
46642
|
52628
-
52628
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.user.UserPrivacyPolicyResponse](DefaultUserApiComponent.this.marshaller[org.make.api.user.UserPrivacyPolicyResponse](user.this.UserPrivacyPolicyResponse.codec, DefaultUserApiComponent.this.marshaller$default$2[org.make.api.user.UserPrivacyPolicyResponse]))
|
|
1322
|
41493
|
52815
-
53330
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("check-registration"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("CheckRegistration", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$90: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CheckRegistrationRequest,)](DefaultUserApi.this.entity[org.make.api.user.CheckRegistrationRequest](DefaultUserApi.this.as[org.make.api.user.CheckRegistrationRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CheckRegistrationRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.CheckRegistrationRequest]).apply(((request: org.make.api.user.CheckRegistrationRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(request.email.value)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => DefaultUserApi.this.failWith(org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply(request.email.value))
})))))))))
|
|
1322
|
47390
|
52815
-
52819
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.user.userapitest
|
DefaultUserApi.this.post
|
|
1323
|
38829
|
52835
-
52841
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"user"
|
|
1323
|
47729
|
52842
-
52842
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.user.userapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
1323
|
45345
|
52830
-
53322
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("check-registration"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("CheckRegistration", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$90: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CheckRegistrationRequest,)](DefaultUserApi.this.entity[org.make.api.user.CheckRegistrationRequest](DefaultUserApi.this.as[org.make.api.user.CheckRegistrationRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CheckRegistrationRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.CheckRegistrationRequest]).apply(((request: org.make.api.user.CheckRegistrationRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(request.email.value)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => DefaultUserApi.this.failWith(org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply(request.email.value))
}))))))))
|
|
1323
|
33035
|
52830
-
52865
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.user.userapitest
|
DefaultUserApi.this.path[Unit](DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("check-registration"))(TupleOps.this.Join.join0P[Unit]))
|
|
1323
|
40619
|
52835
-
52864
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("user")./[Unit](DefaultUserApi.this._segmentStringToPathMatcher("check-registration"))(TupleOps.this.Join.join0P[Unit])
|
|
1323
|
35732
|
52844
-
52864
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.user.userapitest
|
DefaultUserApi.this._segmentStringToPathMatcher("check-registration")
|
|
1324
|
47133
|
52878
-
52912
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation("CheckRegistration", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3)
|
|
1324
|
39570
|
52891
-
52891
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
1324
|
33367
|
52878
-
52878
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$3
|
|
1324
|
40957
|
52878
-
52878
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.makeOperation$default$2
|
|
1324
|
46119
|
52892
-
52911
|
Literal
|
<nosymbol>
|
org.make.api.user.userapitest
|
"CheckRegistration"
|
|
1324
|
32565
|
52878
-
53312
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultUserApiComponent.this.makeOperation("CheckRegistration", DefaultUserApiComponent.this.makeOperation$default$2, DefaultUserApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$90: org.make.core.RequestContext) => server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CheckRegistrationRequest,)](DefaultUserApi.this.entity[org.make.api.user.CheckRegistrationRequest](DefaultUserApi.this.as[org.make.api.user.CheckRegistrationRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CheckRegistrationRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.CheckRegistrationRequest]).apply(((request: org.make.api.user.CheckRegistrationRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(request.email.value)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => DefaultUserApi.this.failWith(org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply(request.email.value))
})))))))
|
|
1325
|
35480
|
52932
-
52945
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
org.make.api.user.userapitest
|
DefaultUserApi.this.decodeRequest
|
|
1325
|
40450
|
52932
-
53300
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addByNameNullaryApply(DefaultUserApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.user.CheckRegistrationRequest,)](DefaultUserApi.this.entity[org.make.api.user.CheckRegistrationRequest](DefaultUserApi.this.as[org.make.api.user.CheckRegistrationRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CheckRegistrationRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.CheckRegistrationRequest]).apply(((request: org.make.api.user.CheckRegistrationRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(request.email.value)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => DefaultUserApi.this.failWith(org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply(request.email.value))
})))))
|
|
1326
|
41000
|
52962
-
52998
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
org.make.api.user.userapitest
|
DefaultUserApi.this.entity[org.make.api.user.CheckRegistrationRequest](DefaultUserApi.this.as[org.make.api.user.CheckRegistrationRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CheckRegistrationRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec))))
|
|
1326
|
45557
|
52969
-
52997
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
org.make.api.user.userapitest
|
DefaultUserApi.this.as[org.make.api.user.CheckRegistrationRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CheckRegistrationRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec)))
|
|
1326
|
47477
|
52971
-
52971
|
Select
|
org.make.api.user.CheckRegistrationRequest.codec
|
org.make.api.user.userapitest
|
user.this.CheckRegistrationRequest.codec
|
|
1326
|
48736
|
52962
-
53286
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(org.make.api.user.CheckRegistrationRequest,)](DefaultUserApi.this.entity[org.make.api.user.CheckRegistrationRequest](DefaultUserApi.this.as[org.make.api.user.CheckRegistrationRequest](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CheckRegistrationRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec)))))(util.this.ApplyConverter.hac1[org.make.api.user.CheckRegistrationRequest]).apply(((request: org.make.api.user.CheckRegistrationRequest) => server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(request.email.value)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => DefaultUserApi.this.failWith(org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply(request.email.value))
}))))
|
|
1326
|
33893
|
52968
-
52968
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[org.make.api.user.CheckRegistrationRequest]
|
|
1326
|
32777
|
52971
-
52971
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
org.make.api.user.userapitest
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.user.CheckRegistrationRequest](DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec))
|
|
1326
|
40660
|
52971
-
52971
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.unmarshaller[org.make.api.user.CheckRegistrationRequest](user.this.CheckRegistrationRequest.codec)
|
|
1327
|
47178
|
53055
-
53074
|
Select
|
org.make.core.Validation.Email.value
|
org.make.api.user.userapitest
|
request.email.value
|
|
1327
|
38783
|
53028
-
53075
|
Apply
|
org.make.api.user.UserService.getUserByEmail
|
org.make.api.user.userapitest
|
DefaultUserApiComponent.this.userService.getUserByEmail(request.email.value)
|
|
1327
|
31214
|
53028
-
53270
|
Apply
|
scala.Function1.apply
|
org.make.api.user.userapitest
|
server.this.Directive.addDirectiveApply[(Option[org.make.core.user.User],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(request.email.value)).asDirective)(util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]).apply(((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case scala.None => DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
case (value: org.make.core.user.User): Some[org.make.core.user.User](_) => DefaultUserApi.this.failWith(org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply(request.email.value))
}))
|
|
1327
|
47521
|
53076
-
53076
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.user.userapitest
|
util.this.ApplyConverter.hac1[Option[org.make.core.user.User]]
|
|
1327
|
31177
|
53028
-
53087
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
org.make.api.user.userapitest
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Option[org.make.core.user.User]](DefaultUserApiComponent.this.userService.getUserByEmail(request.email.value)).asDirective
|
|
1328
|
40411
|
53133
-
53154
|
Select
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
org.make.api.user.userapitest
|
akka.http.scaladsl.model.StatusCodes.NoContent
|
|
1328
|
45593
|
53133
-
53154
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
org.make.api.user.userapitest
|
marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode)
|
|
1328
|
32819
|
53145
-
53145
|
Select
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCode
|
org.make.api.user.userapitest
|
marshalling.this.Marshaller.fromStatusCode
|
|
1328
|
41456
|
53124
-
53155
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
org.make.api.user.userapitest
|
DefaultUserApi.this.complete(marshalling.this.ToResponseMarshallable.apply[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.NoContent)(marshalling.this.Marshaller.fromStatusCode))
|
|
1329
|
46925
|
53199
-
53251
|
Apply
|
org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply
|
org.make.api.user.userapitest
|
org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply(request.email.value)
|
|
1329
|
38820
|
53190
-
53252
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.failWith
|
org.make.api.user.userapitest
|
DefaultUserApi.this.failWith(org.make.api.user.UserExceptions.EmailAlreadyRegisteredException.apply(request.email.value))
|
|
1329
|
33932
|
53231
-
53250
|
Select
|
org.make.core.Validation.Email.value
|
org.make.api.user.userapitest
|
request.email.value
|