| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
159
|
34946
|
5472
-
5500
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminGetCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminGetCrmQuestionTemplates
|
|
159
|
39354
|
5406
-
5469
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this.adminListCrmQuestionTemplates).~(AdminCrmQuestionTemplatesApi.this.adminCreateCrmQuestionTemplates)
|
|
159
|
41483
|
5406
-
5568
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this.adminListCrmQuestionTemplates).~(AdminCrmQuestionTemplatesApi.this.adminCreateCrmQuestionTemplates)).~(AdminCrmQuestionTemplatesApi.this.adminGetCrmQuestionTemplates)).~(AdminCrmQuestionTemplatesApi.this.adminUpdateCrmQuestionTemplates)).~(AdminCrmQuestionTemplatesApi.this.adminDeleteCrmQuestionTemplates)
|
|
159
|
45332
|
5537
-
5568
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminDeleteCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminDeleteCrmQuestionTemplates
|
|
159
|
47207
|
5438
-
5469
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminCreateCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminCreateCrmQuestionTemplates
|
|
159
|
48257
|
5406
-
5500
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this.adminListCrmQuestionTemplates).~(AdminCrmQuestionTemplatesApi.this.adminCreateCrmQuestionTemplates)).~(AdminCrmQuestionTemplatesApi.this.adminGetCrmQuestionTemplates)
|
|
159
|
33145
|
5406
-
5435
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminListCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminListCrmQuestionTemplates
|
|
159
|
32852
|
5406
-
5534
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this.adminListCrmQuestionTemplates).~(AdminCrmQuestionTemplatesApi.this.adminCreateCrmQuestionTemplates)).~(AdminCrmQuestionTemplatesApi.this.adminGetCrmQuestionTemplates)).~(AdminCrmQuestionTemplatesApi.this.adminUpdateCrmQuestionTemplates)
|
|
159
|
40442
|
5503
-
5534
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminUpdateCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminUpdateCrmQuestionTemplates
|
|
175
|
33903
|
6069
-
6076
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.Segment
|
|
175
|
39394
|
6069
-
6109
|
Apply
|
akka.http.scaladsl.server.PathMatcher.PathMatcher1Ops.map
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.PathMatcher.PathMatcher1Ops[String](DefaultAdminCrmQuestionTemplatesApiComponent.this.Segment).map[org.make.core.crmTemplate.CrmQuestionTemplateId](((value: String) => org.make.core.crmTemplate.CrmQuestionTemplateId.apply(value)))
|
|
175
|
46954
|
6081
-
6108
|
Apply
|
org.make.core.crmTemplate.CrmQuestionTemplateId.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
org.make.core.crmTemplate.CrmQuestionTemplateId.apply(value)
|
|
182
|
30958
|
6381
-
6384
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.get
|
|
182
|
39179
|
6381
-
6985
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.get).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.path[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminListCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultAdminCrmQuestionTemplatesApi.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.question.QuestionId](DefaultAdminCrmQuestionTemplatesApi.this._string2NR("questionId").as[org.make.core.question.QuestionId])(DefaultAdminCrmQuestionTemplatesApiComponent.this.questionIdFromStringUnmarshaller)))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.core.crmTemplate.CrmQuestionTemplate],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]).apply(((templates: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]])))))))))))))))
|
|
183
|
46746
|
6395
-
6977
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.path[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminListCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultAdminCrmQuestionTemplatesApi.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.question.QuestionId](DefaultAdminCrmQuestionTemplatesApi.this._string2NR("questionId").as[org.make.core.question.QuestionId])(DefaultAdminCrmQuestionTemplatesApiComponent.this.questionIdFromStringUnmarshaller)))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.core.crmTemplate.CrmQuestionTemplate],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]).apply(((templates: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]))))))))))))))
|
|
183
|
48018
|
6400
-
6407
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
183
|
45374
|
6428
-
6439
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
183
|
41519
|
6426
-
6426
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
183
|
39889
|
6410
-
6425
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
183
|
32595
|
6408
-
6408
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
183
|
34419
|
6400
-
6439
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])
|
|
183
|
46408
|
6395
-
6440
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.path[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit]))
|
|
184
|
30997
|
6453
-
6453
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
184
|
39146
|
6467
-
6498
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminListCrmQuestionTemplates"
|
|
184
|
32039
|
6466
-
6466
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
184
|
40951
|
6453
-
6499
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminListCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3)
|
|
184
|
33405
|
6453
-
6967
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminListCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$1: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultAdminCrmQuestionTemplatesApi.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.question.QuestionId](DefaultAdminCrmQuestionTemplatesApi.this._string2NR("questionId").as[org.make.core.question.QuestionId])(DefaultAdminCrmQuestionTemplatesApiComponent.this.questionIdFromStringUnmarshaller)))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.core.crmTemplate.CrmQuestionTemplate],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]).apply(((templates: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]])))))))))))))
|
|
184
|
48050
|
6453
-
6453
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
185
|
41276
|
6530
-
6557
|
TypeApply
|
akka.http.scaladsl.common.NameReceptacle.as
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._string2NR("questionId").as[org.make.core.question.QuestionId]
|
|
185
|
33138
|
6545
-
6545
|
Select
|
org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.questionIdFromStringUnmarshaller
|
|
185
|
31038
|
6529
-
6529
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]
|
|
185
|
47471
|
6530
-
6557
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.ParameterDirectives.ParamSpec.forNR
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
ParameterDirectives.this.ParamSpec.forNR[org.make.core.question.QuestionId](DefaultAdminCrmQuestionTemplatesApi.this._string2NR("questionId").as[org.make.core.question.QuestionId])(DefaultAdminCrmQuestionTemplatesApiComponent.this.questionIdFromStringUnmarshaller)
|
|
185
|
37551
|
6519
-
6955
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.question.QuestionId,)](DefaultAdminCrmQuestionTemplatesApi.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.question.QuestionId](DefaultAdminCrmQuestionTemplatesApi.this._string2NR("questionId").as[org.make.core.question.QuestionId])(DefaultAdminCrmQuestionTemplatesApiComponent.this.questionIdFromStringUnmarshaller)))(util.this.ApplyConverter.hac1[org.make.core.question.QuestionId]).apply(((questionId: org.make.core.question.QuestionId) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.core.crmTemplate.CrmQuestionTemplate],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]).apply(((templates: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]])))))))))))
|
|
185
|
45419
|
6530
-
6542
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"questionId"
|
|
185
|
39350
|
6519
-
6558
|
Apply
|
akka.http.scaladsl.server.directives.ParameterDirectivesInstances.parameters
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.parameters(ParameterDirectives.this.ParamSpec.forNR[org.make.core.question.QuestionId](DefaultAdminCrmQuestionTemplatesApi.this._string2NR("questionId").as[org.make.core.question.QuestionId])(DefaultAdminCrmQuestionTemplatesApiComponent.this.questionIdFromStringUnmarshaller))
|
|
186
|
48567
|
6603
-
6613
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
186
|
39680
|
6603
-
6603
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
186
|
45673
|
6603
-
6941
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.core.crmTemplate.CrmQuestionTemplate],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]).apply(((templates: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]])))))))))
|
|
187
|
32630
|
6666
-
6925
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Seq[org.make.core.crmTemplate.CrmQuestionTemplate],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]).apply(((templates: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]])))))))
|
|
187
|
45882
|
6666
-
6697
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
187
|
31796
|
6683
-
6696
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
188
|
37594
|
6718
-
6754
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.list
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)
|
|
188
|
46200
|
6755
-
6755
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]
|
|
188
|
34214
|
6718
-
6766
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)).asDirective
|
|
188
|
40780
|
6718
-
6907
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Seq[org.make.core.crmTemplate.CrmQuestionTemplate],)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)).asDirective)(util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]).apply(((templates: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]))))))
|
|
189
|
32591
|
6811
-
6886
|
Apply
|
scala.Tuple3.apply
|
|
scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates)
|
|
189
|
48606
|
6833
-
6873
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(templates.size.toString())
|
|
189
|
34253
|
6811
-
6811
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]
|
|
189
|
44047
|
6802
-
6887
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]))))
|
|
189
|
31555
|
6811
-
6886
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate])](scala.Tuple3.apply[akka.http.scaladsl.model.StatusCodes.Success, List[org.make.api.technical.X-Total-Count], Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](akka.http.scaladsl.model.StatusCodes.OK, scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString())), templates))(marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]])))
|
|
189
|
39387
|
6812
-
6826
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
189
|
40742
|
6828
-
6874
|
Apply
|
scala.collection.IterableFactory.apply
|
|
scala.`package`.List.apply[org.make.api.technical.X-Total-Count](org.make.api.technical.X-Total-Count.apply(templates.size.toString()))
|
|
189
|
47255
|
6811
-
6811
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]])
|
|
189
|
45918
|
6811
-
6811
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
189
|
31512
|
6849
-
6872
|
Apply
|
scala.Any.toString
|
|
templates.size.toString()
|
|
189
|
37508
|
6811
-
6811
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)
|
|
189
|
39141
|
6811
-
6811
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndHeadersAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndHeadersAndValue[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec), DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]))
|
|
199
|
30736
|
7051
-
7055
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.post
|
|
199
|
39217
|
7051
-
8993
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.post).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.path[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminCreateCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.crmTemplates.CreateCrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]).apply(((request: org.make.api.crmTemplates.CreateCrmQuestionTemplate) => server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((template: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))))))))))))
|
|
200
|
44090
|
7069
-
7076
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
200
|
33105
|
7077
-
7077
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
200
|
46189
|
7064
-
7109
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.path[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit]))
|
|
200
|
40204
|
7079
-
7094
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
200
|
43380
|
7064
-
8987
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.path[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit]))).apply(server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminCreateCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.crmTemplates.CreateCrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]).apply(((request: org.make.api.crmTemplates.CreateCrmQuestionTemplate) => server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((template: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))))))))))))))
|
|
200
|
33439
|
7069
-
7108
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])
|
|
200
|
37302
|
7095
-
7095
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
200
|
45711
|
7097
-
7108
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
201
|
30776
|
7120
-
7120
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
201
|
39643
|
7134
-
7167
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminCreateCrmQuestionTemplates"
|
|
201
|
43835
|
7120
-
7120
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
201
|
31821
|
7133
-
7133
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
201
|
50198
|
7120
-
8979
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminCreateCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$2: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.crmTemplates.CreateCrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]).apply(((request: org.make.api.crmTemplates.CreateCrmQuestionTemplate) => server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((template: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))))))))))
|
|
201
|
40733
|
7120
-
7168
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminCreateCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3)
|
|
202
|
37587
|
7186
-
8969
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.crmTemplates.CreateCrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]).apply(((request: org.make.api.crmTemplates.CreateCrmQuestionTemplate) => server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((template: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))))))))
|
|
202
|
37341
|
7186
-
7186
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
202
|
45625
|
7186
-
7196
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
203
|
50666
|
7262
-
7275
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
203
|
47247
|
7245
-
7276
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
203
|
45991
|
7245
-
8957
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.crmTemplates.CreateCrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]).apply(((request: org.make.api.crmTemplates.CreateCrmQuestionTemplate) => server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((template: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))))))
|
|
204
|
38369
|
7293
-
7306
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest
|
|
204
|
32665
|
7293
-
8943
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.api.crmTemplates.CreateCrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]).apply(((request: org.make.api.crmTemplates.CreateCrmQuestionTemplate) => server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((template: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))))))))
|
|
205
|
32893
|
7332
-
7361
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)))
|
|
205
|
45668
|
7325
-
7362
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec))))
|
|
205
|
35808
|
7325
-
8927
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.api.crmTemplates.CreateCrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.api.crmTemplates.CreateCrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]).apply(((request: org.make.api.crmTemplates.CreateCrmQuestionTemplate) => server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((template: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))))
|
|
205
|
40772
|
7334
-
7334
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec))
|
|
205
|
31253
|
7334
-
7334
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.codec
|
|
crmTemplates.this.CreateCrmQuestionTemplate.codec
|
|
205
|
38092
|
7331
-
7331
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]
|
|
205
|
43878
|
7334
-
7334
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)
|
|
206
|
47037
|
7421
-
7917
|
Apply
|
scala.Tuple2.apply
|
|
scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)
|
|
208
|
51162
|
7500
-
7518
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.questionId
|
|
request.questionId
|
|
208
|
47288
|
7443
-
7519
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)
|
|
209
|
32928
|
7443
-
7819
|
Apply
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrBadRequest
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String))))
|
|
210
|
40525
|
7592
-
7795
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))
|
|
211
|
39432
|
7635
-
7647
|
Literal
|
<nosymbol>
|
|
"questionId"
|
|
212
|
31293
|
7675
-
7686
|
Literal
|
<nosymbol>
|
|
"not_found"
|
|
213
|
44615
|
7714
-
7769
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String))
|
|
216
|
45418
|
7866
-
7884
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.questionId
|
|
request.questionId
|
|
216
|
50621
|
7841
-
7897
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective
|
|
216
|
37840
|
7841
-
7885
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.list
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)
|
|
217
|
37092
|
7922
-
7922
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
217
|
50408
|
7421
-
8798
|
ApplyToImplicitArgs
|
cats.syntax.Tuple2SemigroupalOps.mapN
|
|
cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
217
|
45497
|
7922
-
7922
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
217
|
42535
|
7922
-
7922
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
219
|
38681
|
8031
-
8586
|
Apply
|
org.make.core.Validation.validate
|
|
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."))
|
|
220
|
46477
|
8078
-
8560
|
Apply
|
org.make.core.Validation.validateField
|
|
org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language.")
|
|
221
|
38932
|
8140
-
8154
|
Literal
|
<nosymbol>
|
|
"templateKind"
|
|
222
|
31330
|
8190
-
8205
|
Literal
|
<nosymbol>
|
|
"invalid_value"
|
|
223
|
37877
|
8247
-
8422
|
Select
|
scala.Boolean.unary_!
|
|
allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!
|
|
224
|
43830
|
8338
-
8350
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.kind
|
|
request.kind
|
|
224
|
32672
|
8354
-
8392
|
Apply
|
java.lang.Object.==
|
|
templates.language.==(request.language)
|
|
224
|
45457
|
8320
-
8392
|
Apply
|
scala.Boolean.&&
|
|
templates.kind.==(request.kind).&&(templates.language.==(request.language))
|
|
224
|
36279
|
8376
-
8392
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.language
|
|
request.language
|
|
226
|
50368
|
8462
-
8532
|
Literal
|
<nosymbol>
|
|
"This CRM template kind already exist for this question and language."
|
|
230
|
36023
|
8611
-
8736
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.create
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))
|
|
230
|
43872
|
8665
-
8735
|
Apply
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.toCrmQuestionTemplate
|
|
request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId())
|
|
230
|
31078
|
8695
-
8734
|
Apply
|
org.make.core.technical.IdGenerator.nextCrmQuestionTemplateId
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()
|
|
231
|
32882
|
8611
-
8775
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
|
|
233
|
43619
|
8820
-
8820
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
233
|
39420
|
8820
-
8820
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
233
|
31118
|
7421
-
8827
|
ApplyToImplicitArgs
|
cats.syntax.FlattenOps.flatten
|
|
cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad)
|
|
234
|
45956
|
8896
-
8896
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
234
|
32917
|
8896
-
8896
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
234
|
43339
|
8896
-
8896
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.PredefinedToResponseMarshallers.fromStatusCodeAndValue
|
|
marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))
|
|
234
|
50157
|
8896
-
8896
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])
|
|
234
|
36065
|
8876
-
8907
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template)
|
|
234
|
39456
|
8876
-
8907
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))
|
|
234
|
31028
|
8867
-
8908
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))
|
|
234
|
43654
|
7421
-
8909
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](cats.implicits.catsSyntaxFlatten[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](cats.implicits.catsSyntaxTuple2Semigroupal[akka.http.scaladsl.server.Directive1, org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](scala.Tuple2.apply[akka.http.scaladsl.server.Directive1[org.make.core.question.Question], akka.http.scaladsl.server.Directive1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))), org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)).asDirective)).mapN[akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate]](((x0$1: org.make.core.question.Question, x1$1: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]) => scala.Tuple2.apply[org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate]](x0$1, x1$1) match {
case (_1: org.make.core.question.Question, _2: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]): (org.make.core.question.Question, Seq[org.make.core.crmTemplate.CrmQuestionTemplate])(_, (allQuestionTemplates @ (_: Seq[org.make.core.crmTemplate.CrmQuestionTemplate]))) => {
org.make.core.Validation.validate(org.make.core.Validation.validateField("templateKind", "invalid_value", allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!, "This CRM template kind already exist for this question and language."));
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))).asDirective
}
}))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad, org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatten(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((template: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[(akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate)](scala.Predef.ArrowAssoc[akka.http.scaladsl.model.StatusCodes.Success](akka.http.scaladsl.model.StatusCodes.Created).->[org.make.core.crmTemplate.CrmQuestionTemplate](template))(marshalling.this.Marshaller.fromStatusCodeAndValue[akka.http.scaladsl.model.StatusCodes.Success, org.make.core.crmTemplate.CrmQuestionTemplate](scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success], DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
|
|
234
|
37134
|
8896
-
8896
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
244
|
42366
|
9058
-
9559
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.get).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]).apply(((crmQuestionTemplateId: org.make.core.crmTemplate.CrmQuestionTemplateId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminGetCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$4: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))))))))))
|
|
244
|
31070
|
9058
-
9061
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.get
|
|
245
|
44126
|
9077
-
9084
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
245
|
43130
|
9117
-
9117
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)]
|
|
245
|
30817
|
9072
-
9141
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)]))
|
|
245
|
44167
|
9076
-
9076
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]
|
|
245
|
37629
|
9103
-
9103
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
245
|
36612
|
9087
-
9102
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
245
|
49911
|
9085
-
9085
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
245
|
51248
|
9072
-
9551
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]).apply(((crmQuestionTemplateId: org.make.core.crmTemplate.CrmQuestionTemplateId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminGetCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$4: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))))))))))))
|
|
245
|
45751
|
9105
-
9116
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
245
|
39255
|
9077
-
9140
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])
|
|
245
|
50939
|
9119
-
9140
|
Select
|
org.make.api.crmTemplates.DefaultAdminCrmQuestionTemplatesApiComponent.crmQuestionTemplateId
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId
|
|
246
|
37460
|
9179
-
9541
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminGetCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$3: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$4: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))))))))))
|
|
246
|
36054
|
9193
-
9223
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminGetCrmQuestionTemplates"
|
|
246
|
45234
|
9179
-
9179
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
246
|
49651
|
9179
-
9179
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
246
|
37383
|
9179
-
9224
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminGetCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3)
|
|
246
|
50153
|
9192
-
9192
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
247
|
45740
|
9244
-
9529
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$4: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))))))))
|
|
247
|
39013
|
9244
-
9244
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
247
|
42568
|
9244
-
9254
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
248
|
44197
|
9305
-
9336
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
248
|
30856
|
9322
-
9335
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
248
|
48855
|
9305
-
9515
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$4: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))))))
|
|
250
|
35804
|
9355
-
9420
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.get
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)
|
|
251
|
44987
|
9440
-
9440
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
251
|
49100
|
9355
-
9461
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound
|
|
252
|
37424
|
9496
-
9496
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
252
|
50191
|
9496
-
9496
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
252
|
44705
|
9487
-
9498
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))
|
|
252
|
35844
|
9355
-
9499
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$4: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
|
|
252
|
35512
|
9496
-
9496
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))
|
|
252
|
30613
|
9496
-
9497
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$4)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))
|
|
252
|
42332
|
9496
-
9496
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])
|
|
260
|
35257
|
9625
-
9628
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.put
|
|
260
|
49737
|
9625
-
10848
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.put).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]).apply(((crmQuestionTemplateId: org.make.core.crmTemplate.CrmQuestionTemplateId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminUpdateCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((request: org.make.core.crmTemplate.CrmQuestionTemplate) => {
val templateDirective: akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate] = cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$7: org.make.core.crmTemplate.CrmQuestionTemplate) => (x$7: org.make.core.crmTemplate.CrmQuestionTemplate @unchecked) match {
case _ => cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
}));
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](templateDirective)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$8: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
})))))))))))
|
|
261
|
44745
|
9652
-
9667
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
261
|
31404
|
9641
-
9641
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]
|
|
261
|
37373
|
9684
-
9705
|
Select
|
org.make.api.crmTemplates.DefaultAdminCrmQuestionTemplatesApiComponent.crmQuestionTemplateId
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId
|
|
261
|
36727
|
9637
-
10842
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]).apply(((crmQuestionTemplateId: org.make.core.crmTemplate.CrmQuestionTemplateId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminUpdateCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((request: org.make.core.crmTemplate.CrmQuestionTemplate) => {
val templateDirective: akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate] = cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$7: org.make.core.crmTemplate.CrmQuestionTemplate) => (x$7: org.make.core.crmTemplate.CrmQuestionTemplate @unchecked) match {
case _ => cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
}));
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](templateDirective)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$8: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
}))))))))))
|
|
261
|
51288
|
9682
-
9682
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)]
|
|
261
|
31367
|
9642
-
9649
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
261
|
36902
|
9650
-
9650
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
261
|
49645
|
9670
-
9681
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
261
|
43424
|
9642
-
9705
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])
|
|
261
|
35301
|
9637
-
9706
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)]))
|
|
261
|
42084
|
9668
-
9668
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
262
|
41835
|
9742
-
9790
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminUpdateCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3)
|
|
262
|
36939
|
9742
-
9742
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
262
|
43910
|
9756
-
9789
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminUpdateCrmQuestionTemplates"
|
|
262
|
37414
|
9755
-
9755
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
262
|
43688
|
9742
-
10834
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminUpdateCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$5: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((request: org.make.core.crmTemplate.CrmQuestionTemplate) => {
val templateDirective: akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate] = cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$7: org.make.core.crmTemplate.CrmQuestionTemplate) => (x$7: org.make.core.crmTemplate.CrmQuestionTemplate @unchecked) match {
case _ => cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
}));
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](templateDirective)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$8: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
}))))))))
|
|
262
|
49397
|
9742
-
9742
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
263
|
42915
|
9808
-
9808
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
263
|
48109
|
9808
-
10824
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((request: org.make.core.crmTemplate.CrmQuestionTemplate) => {
val templateDirective: akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate] = cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$7: org.make.core.crmTemplate.CrmQuestionTemplate) => (x$7: org.make.core.crmTemplate.CrmQuestionTemplate @unchecked) match {
case _ => cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
}));
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](templateDirective)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$8: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
}))))))
|
|
263
|
50446
|
9808
-
9818
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
264
|
35339
|
9884
-
9897
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
264
|
35082
|
9867
-
10812
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((request: org.make.core.crmTemplate.CrmQuestionTemplate) => {
val templateDirective: akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate] = cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$7: org.make.core.crmTemplate.CrmQuestionTemplate) => (x$7: org.make.core.crmTemplate.CrmQuestionTemplate @unchecked) match {
case _ => cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
}));
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](templateDirective)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$8: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
}))))
|
|
264
|
30604
|
9867
-
9898
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
265
|
43949
|
9915
-
9928
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest
|
|
265
|
43210
|
9915
-
10798
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((request: org.make.core.crmTemplate.CrmQuestionTemplate) => {
val templateDirective: akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate] = cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$7: org.make.core.crmTemplate.CrmQuestionTemplate) => (x$7: org.make.core.crmTemplate.CrmQuestionTemplate @unchecked) match {
case _ => cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
}));
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](templateDirective)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$8: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
})))
|
|
266
|
51073
|
9947
-
10782
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)))))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((request: org.make.core.crmTemplate.CrmQuestionTemplate) => {
val templateDirective: akka.http.scaladsl.server.Directive1[org.make.core.crmTemplate.CrmQuestionTemplate] = cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$7: org.make.core.crmTemplate.CrmQuestionTemplate) => (x$7: org.make.core.crmTemplate.CrmQuestionTemplate @unchecked) match {
case _ => cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
}));
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](templateDirective)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$8: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
}))
|
|
266
|
50486
|
9947
-
9978
|
Apply
|
akka.http.scaladsl.server.directives.MarshallingDirectives.entity
|
|
DefaultAdminCrmQuestionTemplatesApi.this.entity[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec))))
|
|
266
|
37171
|
9954
-
9977
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.directives.MarshallingDirectives.as
|
|
DefaultAdminCrmQuestionTemplatesApi.this.as[org.make.core.crmTemplate.CrmQuestionTemplate](unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)))
|
|
266
|
41875
|
9956
-
9956
|
ApplyToImplicitArgs
|
akka.http.scaladsl.unmarshalling.LowerPriorityGenericUnmarshallers.messageUnmarshallerFromEntityUnmarshaller
|
|
unmarshalling.this.Unmarshaller.messageUnmarshallerFromEntityUnmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec))
|
|
266
|
36100
|
9956
-
9956
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
266
|
43379
|
9953
-
9953
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
266
|
49438
|
9956
-
9956
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)
|
|
269
|
47861
|
10108
-
10176
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrNotFound
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound
|
|
269
|
51033
|
10075
-
10715
|
Apply
|
cats.FlatMap.Ops.flatMap
|
|
cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)).asDirectiveOrNotFound)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$7: org.make.core.crmTemplate.CrmQuestionTemplate) => (x$7: org.make.core.crmTemplate.CrmQuestionTemplate @unchecked) match {
case _ => cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
}))
|
|
269
|
43697
|
10155
-
10155
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
269
|
35086
|
10108
-
10154
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.get
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)
|
|
270
|
38267
|
10199
-
10715
|
Apply
|
cats.FlatMap.Ops.flatMap
|
|
cats.implicits.toFlatMapOps[akka.http.scaladsl.server.Directive1, org.make.core.question.Question](org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))))(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).flatMap[org.make.core.crmTemplate.CrmQuestionTemplate](((x$6: org.make.core.question.Question) => (x$6: org.make.core.question.Question @unchecked) match {
case _ => cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
}))
|
|
271
|
36897
|
10263
-
10281
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.questionId
|
|
request.questionId
|
|
271
|
48887
|
10204
-
10282
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)
|
|
272
|
34536
|
10204
-
10596
|
Apply
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes.asDirectiveOrBadRequest
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureOptionWithRoutes[org.make.core.question.Question](DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)).asDirectiveOrBadRequest(org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String))))
|
|
272
|
47604
|
10331
-
10331
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
273
|
43420
|
10359
-
10570
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("questionId", "not_found", scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String)))
|
|
274
|
41621
|
10404
-
10416
|
Literal
|
<nosymbol>
|
|
"questionId"
|
|
275
|
37205
|
10446
-
10457
|
Literal
|
<nosymbol>
|
|
"not_found"
|
|
276
|
50239
|
10487
-
10542
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String))
|
|
279
|
43734
|
10631
-
10666
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.update
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)
|
|
279
|
41826
|
10619
-
10715
|
Apply
|
cats.Functor.Ops.map
|
|
cats.implicits.toFunctorOps[akka.http.scaladsl.server.Directive1, org.make.core.crmTemplate.CrmQuestionTemplate](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective)(org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad).map[org.make.core.crmTemplate.CrmQuestionTemplate](((template: org.make.core.crmTemplate.CrmQuestionTemplate) => template))
|
|
279
|
36930
|
10631
-
10678
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)).asDirective
|
|
279
|
49952
|
10667
-
10667
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
281
|
43453
|
10734
-
10734
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
281
|
44792
|
10761
-
10761
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])
|
|
281
|
35598
|
10761
-
10761
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
281
|
36693
|
10761
-
10761
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))
|
|
281
|
34007
|
10734
-
10764
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplate,)](templateDirective)(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]).apply(((x$8: org.make.core.crmTemplate.CrmQuestionTemplate) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))))
|
|
281
|
41579
|
10752
-
10763
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]))))
|
|
281
|
48361
|
10761
-
10761
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
281
|
49988
|
10761
-
10762
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.core.crmTemplate.CrmQuestionTemplate](x$8)(marshalling.this.Marshaller.liftMarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate])))
|
|
291
|
41616
|
10916
-
10922
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.delete
|
|
291
|
49767
|
10916
-
11424
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApi.this.delete).apply(server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]).apply(((crmQuestionTemplateId: org.make.core.crmTemplate.CrmQuestionTemplateId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminGetCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.IdResponse](org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse]))))))))))))))
|
|
292
|
36485
|
10933
-
11416
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])))(util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]).apply(((crmQuestionTemplateId: org.make.core.crmTemplate.CrmQuestionTemplateId) => server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminGetCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.IdResponse](org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse])))))))))))))
|
|
292
|
43249
|
10946
-
10946
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
292
|
34836
|
10966
-
10977
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
292
|
40022
|
10980
-
11001
|
Select
|
org.make.api.crmTemplates.DefaultAdminCrmQuestionTemplatesApiComponent.crmQuestionTemplateId
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId
|
|
292
|
48156
|
10964
-
10964
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
292
|
49223
|
10938
-
11001
|
ApplyToImplicitArgs
|
akka.http.scaladsl.server.PathMatcher./
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)])
|
|
292
|
35882
|
10978
-
10978
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)]
|
|
292
|
41373
|
10933
-
11002
|
Apply
|
akka.http.scaladsl.server.directives.PathDirectives.path
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.path[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("admin")./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates"))(TupleOps.this.Join.join0P[Unit])./[Unit](DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions"))(TupleOps.this.Join.join0P[Unit])./[(org.make.core.crmTemplate.CrmQuestionTemplateId,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId)(TupleOps.this.Join.join0P[(org.make.core.crmTemplate.CrmQuestionTemplateId,)]))
|
|
292
|
50231
|
10948
-
10963
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
292
|
33232
|
10937
-
10937
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplateId]
|
|
292
|
34045
|
10938
-
10945
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
293
|
40875
|
11040
-
11406
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(org.make.core.RequestContext,)](DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminGetCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3))(util.this.ApplyConverter.hac1[org.make.core.RequestContext]).apply(((x$9: org.make.core.RequestContext) => server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.IdResponse](org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse])))))))))))
|
|
293
|
34872
|
11040
-
11040
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
293
|
48192
|
11040
-
11085
|
Apply
|
org.make.api.technical.MakeDirectives.makeOperation
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation("AdminGetCrmQuestionTemplates", DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2, DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3)
|
|
293
|
50270
|
11054
-
11084
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminGetCrmQuestionTemplates"
|
|
293
|
42401
|
11040
-
11040
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
293
|
39772
|
11053
-
11053
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
294
|
48144
|
11105
-
11394
|
Apply
|
scala.Function1.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
server.this.Directive.addDirectiveApply[(scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights],)](DefaultAdminCrmQuestionTemplatesApiComponent.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(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.IdResponse](org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse])))))))))
|
|
294
|
35921
|
11105
-
11115
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
294
|
49687
|
11105
-
11105
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[scalaoauth2.provider.AuthInfo[org.make.core.auth.UserRights]]
|
|
295
|
33275
|
11166
-
11197
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
295
|
41412
|
11183
-
11196
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
295
|
35385
|
11166
-
11380
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addByNameNullaryApply(DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)).apply(server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.IdResponse](org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse])))))))
|
|
296
|
51327
|
11216
-
11265
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.delete
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)
|
|
296
|
42962
|
11216
-
11364
|
Apply
|
scala.Function1.apply
|
|
server.this.Directive.addDirectiveApply[(Unit,)](org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)).asDirective)(util.this.ApplyConverter.hac1[Unit]).apply(((x$10: Unit) => DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.IdResponse](org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse]))))))
|
|
296
|
35338
|
11266
-
11266
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
296
|
43200
|
11216
-
11277
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes.asDirective
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.FutureWithRoutes[Unit](DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)).asDirective
|
|
297
|
46342
|
11303
-
11346
|
Apply
|
akka.http.scaladsl.server.directives.RouteDirectives.complete
|
|
DefaultAdminCrmQuestionTemplatesApi.this.complete(marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.IdResponse](org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse]))))
|
|
297
|
49730
|
11322
-
11322
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse])
|
|
297
|
34340
|
11312
-
11345
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.ToResponseMarshallable.apply
|
|
marshalling.this.ToResponseMarshallable.apply[org.make.api.technical.IdResponse](org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId))(marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse])))
|
|
297
|
42151
|
11322
-
11322
|
ApplyToImplicitArgs
|
akka.http.scaladsl.marshalling.LowPriorityToResponseMarshallerImplicits.liftMarshaller
|
|
marshalling.this.Marshaller.liftMarshaller[org.make.api.technical.IdResponse](DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller[org.make.api.technical.IdResponse](technical.this.IdResponse.encoder, DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse]))
|
|
297
|
36974
|
11322
-
11322
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse]
|
|
297
|
47946
|
11312
-
11345
|
Apply
|
org.make.api.technical.IdResponse.apply
|
|
org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId)
|
|
297
|
39817
|
11322
-
11322
|
Select
|
org.make.api.technical.IdResponse.encoder
|
|
technical.this.IdResponse.encoder
|
|
323
|
41913
|
12128
-
12132
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.kind
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
CreateCrmQuestionTemplate.this.kind
|
|
323
|
35414
|
12092
-
12200
|
Apply
|
org.make.core.crmTemplate.CrmQuestionTemplate.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
org.make.core.crmTemplate.CrmQuestionTemplate.apply(id, CreateCrmQuestionTemplate.this.kind, CreateCrmQuestionTemplate.this.questionId, CreateCrmQuestionTemplate.this.template, CreateCrmQuestionTemplate.this.language)
|
|
323
|
47391
|
12170
-
12178
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.template
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
CreateCrmQuestionTemplate.this.template
|
|
323
|
42998
|
12191
-
12199
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.language
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
CreateCrmQuestionTemplate.this.language
|
|
323
|
33789
|
12147
-
12157
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.questionId
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
CreateCrmQuestionTemplate.this.questionId
|
|
328
|
47901
|
12297
-
12308
|
ApplyToImplicitArgs
|
io.circe.generic.semiauto.deriveCodec
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
io.circe.generic.semiauto.deriveCodec[org.make.api.crmTemplates.CreateCrmQuestionTemplate]({
val inst$macro$20: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.crmTemplates.CreateCrmQuestionTemplate] = {
final class anon$lazy$macro$19 extends AnyRef with Serializable {
def <init>(): anon$lazy$macro$19 = {
anon$lazy$macro$19.super.<init>();
()
};
<stable> <accessor> lazy val inst$macro$1: io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.crmTemplates.CreateCrmQuestionTemplate] = codec.this.DerivedAsObjectCodec.deriveCodec[org.make.api.crmTemplates.CreateCrmQuestionTemplate, shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](shapeless.this.LabelledGeneric.materializeProduct[org.make.api.crmTemplates.CreateCrmQuestionTemplate, (Symbol @@ String("kind")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("template")) :: (Symbol @@ String("language")) :: shapeless.HNil, org.make.core.crmTemplate.CrmTemplateKind :: org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](DefaultSymbolicLabelling.instance[org.make.api.crmTemplates.CreateCrmQuestionTemplate, (Symbol @@ String("kind")) :: (Symbol @@ String("questionId")) :: (Symbol @@ String("template")) :: (Symbol @@ String("language")) :: shapeless.HNil](::.apply[Symbol @@ String("kind"), (Symbol @@ String("questionId")) :: (Symbol @@ String("template")) :: (Symbol @@ String("language")) :: shapeless.HNil.type](scala.Symbol.apply("kind").asInstanceOf[Symbol @@ String("kind")], ::.apply[Symbol @@ String("questionId"), (Symbol @@ String("template")) :: (Symbol @@ String("language")) :: shapeless.HNil.type](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")], ::.apply[Symbol @@ String("template"), (Symbol @@ String("language")) :: shapeless.HNil.type](scala.Symbol.apply("template").asInstanceOf[Symbol @@ String("template")], ::.apply[Symbol @@ String("language"), shapeless.HNil.type](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")], HNil))))), Generic.instance[org.make.api.crmTemplates.CreateCrmQuestionTemplate, org.make.core.crmTemplate.CrmTemplateKind :: org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil](((x0$3: org.make.api.crmTemplates.CreateCrmQuestionTemplate) => x0$3 match {
case (kind: org.make.core.crmTemplate.CrmTemplateKind, questionId: org.make.core.question.QuestionId, template: org.make.core.crmTemplate.TemplateId, language: org.make.core.reference.Language): org.make.api.crmTemplates.CreateCrmQuestionTemplate((kind$macro$14 @ _), (questionId$macro$15 @ _), (template$macro$16 @ _), (language$macro$17 @ _)) => ::.apply[org.make.core.crmTemplate.CrmTemplateKind, org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil.type](kind$macro$14, ::.apply[org.make.core.question.QuestionId, org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil.type](questionId$macro$15, ::.apply[org.make.core.crmTemplate.TemplateId, org.make.core.reference.Language :: shapeless.HNil.type](template$macro$16, ::.apply[org.make.core.reference.Language, shapeless.HNil.type](language$macro$17, HNil)))).asInstanceOf[org.make.core.crmTemplate.CrmTemplateKind :: org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil]
}), ((x0$4: org.make.core.crmTemplate.CrmTemplateKind :: org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil) => x0$4 match {
case (head: org.make.core.crmTemplate.CrmTemplateKind, tail: org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil): org.make.core.crmTemplate.CrmTemplateKind :: org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil((kind$macro$10 @ _), (head: org.make.core.question.QuestionId, tail: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil): org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil((questionId$macro$11 @ _), (head: org.make.core.crmTemplate.TemplateId, tail: org.make.core.reference.Language :: shapeless.HNil): org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil((template$macro$12 @ _), (head: org.make.core.reference.Language, tail: shapeless.HNil): org.make.core.reference.Language :: shapeless.HNil((language$macro$13 @ _), HNil)))) => crmTemplates.this.CreateCrmQuestionTemplate.apply(kind$macro$10, questionId$macro$11, template$macro$12, language$macro$13)
})), hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("kind"), org.make.core.crmTemplate.CrmTemplateKind, (Symbol @@ String("questionId")) :: (Symbol @@ String("template")) :: (Symbol @@ String("language")) :: shapeless.HNil, org.make.core.question.QuestionId :: org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("questionId"), org.make.core.question.QuestionId, (Symbol @@ String("template")) :: (Symbol @@ String("language")) :: shapeless.HNil, org.make.core.crmTemplate.TemplateId :: org.make.core.reference.Language :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("template"), org.make.core.crmTemplate.TemplateId, (Symbol @@ String("language")) :: shapeless.HNil, org.make.core.reference.Language :: shapeless.HNil, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hconsZipWithKeys[Symbol @@ String("language"), org.make.core.reference.Language, shapeless.HNil, shapeless.HNil, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out](hlist.this.ZipWithKeys.hnilZipWithKeys, Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("language")]](scala.Symbol.apply("language").asInstanceOf[Symbol @@ String("language")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("language")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("template")]](scala.Symbol.apply("template").asInstanceOf[Symbol @@ String("template")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("template")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("questionId")]](scala.Symbol.apply("questionId").asInstanceOf[Symbol @@ String("questionId")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("questionId")]])), Witness.mkWitness[Symbol with shapeless.tag.Tagged[String("kind")]](scala.Symbol.apply("kind").asInstanceOf[Symbol @@ String("kind")].asInstanceOf[Symbol with shapeless.tag.Tagged[String("kind")]])), scala.this.<:<.refl[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]), shapeless.Lazy.apply[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]](anon$lazy$macro$19.this.inst$macro$18)).asInstanceOf[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.crmTemplates.CreateCrmQuestionTemplate]];
<stable> <accessor> lazy val inst$macro$18: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ({
final class $anon extends io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] {
def <init>(): <$anon: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]> = {
$anon.super.<init>();
()
};
private[this] val circeGenericDecoderForkind: io.circe.Decoder[org.make.core.crmTemplate.CrmTemplateKind] = crmTemplate.this.CrmTemplateKind.circeDecoder;
private[this] val circeGenericDecoderForquestionId: io.circe.Decoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdDecoder;
private[this] val circeGenericDecoderFortemplate: io.circe.Decoder[org.make.core.crmTemplate.TemplateId] = crmTemplate.this.TemplateId.TemplateIdDecoder;
private[this] val circeGenericDecoderForlanguage: io.circe.Decoder[org.make.core.reference.Language] = reference.this.Language.LanguageDecoder;
private[this] val circeGenericEncoderForkind: io.circe.Encoder[org.make.core.crmTemplate.CrmTemplateKind] = crmTemplate.this.CrmTemplateKind.circeEncoder;
private[this] val circeGenericEncoderForquestionId: io.circe.Encoder[org.make.core.question.QuestionId] = question.this.QuestionId.QuestionIdEncoder;
private[this] val circeGenericEncoderFortemplate: io.circe.Encoder[org.make.core.crmTemplate.TemplateId] = crmTemplate.this.TemplateId.TemplateIdEncoder;
private[this] val circeGenericEncoderForlanguage: io.circe.Encoder[org.make.core.reference.Language] = reference.this.Language.LanguageEncoder;
final def encodeObject(a: shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): io.circe.JsonObject = a match {
case (head: shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind], tail: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForkind @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId], tail: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForquestionId @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId], tail: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingFortemplate @ _), (head: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language], tail: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out): shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out((circeGenericHListBindingForlanguage @ _), shapeless.HNil)))) => io.circe.JsonObject.fromIterable(scala.collection.immutable.Vector.apply[(String, io.circe.Json)](scala.Tuple2.apply[String, io.circe.Json]("kind", $anon.this.circeGenericEncoderForkind.apply(circeGenericHListBindingForkind)), scala.Tuple2.apply[String, io.circe.Json]("questionId", $anon.this.circeGenericEncoderForquestionId.apply(circeGenericHListBindingForquestionId)), scala.Tuple2.apply[String, io.circe.Json]("template", $anon.this.circeGenericEncoderFortemplate.apply(circeGenericHListBindingFortemplate)), scala.Tuple2.apply[String, io.circe.Json]("language", $anon.this.circeGenericEncoderForlanguage.apply(circeGenericHListBindingForlanguage))))
};
final def apply(c: io.circe.HCursor): io.circe.Decoder.Result[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("kind"), org.make.core.crmTemplate.CrmTemplateKind, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForkind.tryDecode(c.downField("kind")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecode(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("template"), org.make.core.crmTemplate.TemplateId, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortemplate.tryDecode(c.downField("template")), ReprDecoder.consResults[io.circe.Decoder.Result, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecode(c.downField("language")), ReprDecoder.hnilResult)(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance))(io.circe.Decoder.resultInstance);
final override def decodeAccumulating(c: io.circe.HCursor): io.circe.Decoder.AccumulatingResult[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out] = ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("kind"), org.make.core.crmTemplate.CrmTemplateKind, shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForkind.tryDecodeAccumulating(c.downField("kind")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("questionId"), org.make.core.question.QuestionId, shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForquestionId.tryDecodeAccumulating(c.downField("questionId")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("template"), org.make.core.crmTemplate.TemplateId, shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderFortemplate.tryDecodeAccumulating(c.downField("template")), ReprDecoder.consResults[io.circe.Decoder.AccumulatingResult, Symbol @@ String("language"), org.make.core.reference.Language, shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]($anon.this.circeGenericDecoderForlanguage.tryDecodeAccumulating(c.downField("language")), ReprDecoder.hnilResultAccumulating)(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance))(io.circe.Decoder.accumulatingResultInstance)
};
new $anon()
}: io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]).asInstanceOf[io.circe.generic.codec.ReprAsObjectCodec[shapeless.labelled.FieldType[Symbol @@ String("kind"),org.make.core.crmTemplate.CrmTemplateKind] :: shapeless.labelled.FieldType[Symbol @@ String("questionId"),org.make.core.question.QuestionId] :: shapeless.labelled.FieldType[Symbol @@ String("template"),org.make.core.crmTemplate.TemplateId] :: shapeless.labelled.FieldType[Symbol @@ String("language"),org.make.core.reference.Language] :: shapeless.ops.hlist.ZipWithKeys.hnilZipWithKeys.Out]]
};
new anon$lazy$macro$19().inst$macro$1
};
shapeless.Lazy.apply[io.circe.generic.codec.DerivedAsObjectCodec[org.make.api.crmTemplates.CreateCrmQuestionTemplate]](inst$macro$20)
})
|