| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
159
|
39374
|
5406
-
5469
|
Apply
|
akka.http.scaladsl.server.RouteConcatenation.RouteWithConcatenation.~
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this._enhanceRouteWithConcatenation(AdminCrmQuestionTemplatesApi.this.adminListCrmQuestionTemplates).~(AdminCrmQuestionTemplatesApi.this.adminCreateCrmQuestionTemplates)
|
|
159
|
40462
|
5503
-
5534
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminUpdateCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminUpdateCrmQuestionTemplates
|
|
159
|
33150
|
5406
-
5435
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminListCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminListCrmQuestionTemplates
|
|
159
|
32857
|
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
|
45365
|
5537
-
5568
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminDeleteCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminDeleteCrmQuestionTemplates
|
|
159
|
34952
|
5472
-
5500
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminGetCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminGetCrmQuestionTemplates
|
|
159
|
47243
|
5438
-
5469
|
Select
|
org.make.api.crmTemplates.AdminCrmQuestionTemplatesApi.adminCreateCrmQuestionTemplates
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
AdminCrmQuestionTemplatesApi.this.adminCreateCrmQuestionTemplates
|
|
159
|
48293
|
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
|
41504
|
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)
|
|
175
|
46990
|
6081
-
6108
|
Apply
|
org.make.core.crmTemplate.CrmQuestionTemplateId.apply
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
org.make.core.crmTemplate.CrmQuestionTemplateId.apply(value)
|
|
175
|
39414
|
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
|
33908
|
6069
-
6076
|
Select
|
akka.http.scaladsl.server.PathMatchers.Segment
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.Segment
|
|
182
|
30960
|
6381
-
6384
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.get
|
|
182
|
39199
|
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
|
39909
|
6410
-
6425
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
183
|
32600
|
6408
-
6408
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
183
|
34424
|
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
|
45408
|
6428
-
6439
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
183
|
48054
|
6400
-
6407
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
183
|
41540
|
6426
-
6426
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
183
|
46782
|
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
|
46444
|
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
|
31000
|
6453
-
6453
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
184
|
40971
|
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
|
32044
|
6466
-
6466
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
184
|
33410
|
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
|
39166
|
6467
-
6498
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminListCrmQuestionTemplates"
|
|
184
|
48086
|
6453
-
6453
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
185
|
45454
|
6530
-
6542
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"questionId"
|
|
185
|
31041
|
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
|
41296
|
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
|
47507
|
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
|
39370
|
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))
|
|
185
|
33143
|
6545
-
6545
|
Select
|
org.make.core.ParameterExtractors.questionIdFromStringUnmarshaller
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.questionIdFromStringUnmarshaller
|
|
185
|
37568
|
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]])))))))))))
|
|
186
|
48603
|
6603
-
6613
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
186
|
45709
|
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]])))))))))
|
|
186
|
39700
|
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]]
|
|
187
|
31801
|
6683
-
6696
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
187
|
32635
|
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
|
45918
|
6666
-
6697
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
188
|
40800
|
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]]))))))
|
|
188
|
46236
|
6755
-
6755
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]
|
|
188
|
37611
|
6718
-
6754
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.list
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(questionId)
|
|
188
|
34219
|
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
|
|
189
|
39407
|
6812
-
6826
|
Select
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
akka.http.scaladsl.model.StatusCodes.OK
|
|
189
|
31559
|
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
|
44078
|
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
|
39161
|
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]]))
|
|
189
|
37525
|
6811
-
6811
|
ApplyToImplicitArgs
|
io.circe.Encoder.encodeSeq
|
|
circe.this.Encoder.encodeSeq[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)
|
|
189
|
32596
|
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
|
31516
|
6849
-
6872
|
Apply
|
scala.Any.toString
|
|
templates.size.toString()
|
|
189
|
34258
|
6811
-
6811
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[Seq[org.make.core.crmTemplate.CrmQuestionTemplate]]
|
|
189
|
47291
|
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
|
45954
|
6811
-
6811
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
189
|
40762
|
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
|
48642
|
6833
-
6873
|
Apply
|
akka.http.scaladsl.model.headers.ModeledCustomHeaderCompanion.apply
|
|
org.make.api.technical.X-Total-Count.apply(templates.size.toString())
|
|
199
|
39237
|
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]))))))))))))))))
|
|
199
|
30737
|
7051
-
7055
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.post
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.post
|
|
200
|
37319
|
7095
-
7095
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
200
|
43405
|
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
|
46225
|
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
|
33110
|
7077
-
7077
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
200
|
44121
|
7069
-
7076
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
200
|
40224
|
7079
-
7094
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
200
|
33444
|
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
|
45747
|
7097
-
7108
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
201
|
43866
|
7120
-
7120
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
201
|
39663
|
7134
-
7167
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminCreateCrmQuestionTemplates"
|
|
201
|
30777
|
7120
-
7120
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
201
|
40753
|
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)
|
|
201
|
31826
|
7133
-
7133
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
201
|
50239
|
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]))))))))))))))
|
|
202
|
37358
|
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
|
45661
|
7186
-
7196
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
202
|
37604
|
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]))))))))))))
|
|
203
|
50710
|
7262
-
7275
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
203
|
46027
|
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]))))))))))
|
|
203
|
47283
|
7245
-
7276
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
204
|
32670
|
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])))))))))
|
|
204
|
38388
|
7293
-
7306
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest
|
|
205
|
31257
|
7334
-
7334
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.codec
|
|
crmTemplates.this.CreateCrmQuestionTemplate.codec
|
|
205
|
45704
|
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
|
35817
|
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
|
32898
|
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
|
43909
|
7334
-
7334
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.api.crmTemplates.CreateCrmQuestionTemplate](crmTemplates.this.CreateCrmQuestionTemplate.codec)
|
|
205
|
38110
|
7331
-
7331
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.api.crmTemplates.CreateCrmQuestionTemplate]
|
|
205
|
40792
|
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))
|
|
206
|
47073
|
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
|
47324
|
7443
-
7519
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)
|
|
208
|
51208
|
7500
-
7518
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.questionId
|
|
request.questionId
|
|
209
|
32933
|
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
|
40545
|
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
|
39452
|
7635
-
7647
|
Literal
|
<nosymbol>
|
|
"questionId"
|
|
212
|
31297
|
7675
-
7686
|
Literal
|
<nosymbol>
|
|
"not_found"
|
|
213
|
44647
|
7714
-
7769
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String))
|
|
216
|
45453
|
7866
-
7884
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.questionId
|
|
request.questionId
|
|
216
|
50665
|
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
|
37858
|
7841
-
7885
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.list
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.list(request.questionId)
|
|
217
|
50451
|
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
|
42557
|
7922
-
7922
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
217
|
37107
|
7922
-
7922
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
217
|
45532
|
7922
-
7922
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
219
|
38700
|
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
|
46513
|
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
|
38952
|
8140
-
8154
|
Literal
|
<nosymbol>
|
|
"templateKind"
|
|
222
|
31334
|
8190
-
8205
|
Literal
|
<nosymbol>
|
|
"invalid_value"
|
|
223
|
37895
|
8247
-
8422
|
Select
|
scala.Boolean.unary_!
|
|
allQuestionTemplates.exists(((templates: org.make.core.crmTemplate.CrmQuestionTemplate) => templates.kind.==(request.kind).&&(templates.language.==(request.language)))).unary_!
|
|
224
|
45492
|
8320
-
8392
|
Apply
|
scala.Boolean.&&
|
|
templates.kind.==(request.kind).&&(templates.language.==(request.language))
|
|
224
|
32677
|
8354
-
8392
|
Apply
|
java.lang.Object.==
|
|
templates.language.==(request.language)
|
|
224
|
36289
|
8376
-
8392
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.language
|
|
request.language
|
|
224
|
43861
|
8338
-
8350
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.kind
|
|
request.kind
|
|
226
|
50411
|
8462
-
8532
|
Literal
|
<nosymbol>
|
|
"This CRM template kind already exist for this question and language."
|
|
230
|
31081
|
8695
-
8734
|
Apply
|
org.make.core.technical.IdGenerator.nextCrmQuestionTemplateId
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()
|
|
230
|
36032
|
8611
-
8736
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.create
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.create(request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId()))
|
|
230
|
43903
|
8665
-
8735
|
Apply
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.toCrmQuestionTemplate
|
|
request.toCrmQuestionTemplate(DefaultAdminCrmQuestionTemplatesApiComponent.this.idGenerator.nextCrmQuestionTemplateId())
|
|
231
|
32887
|
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
|
43647
|
8820
-
8820
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
233
|
31121
|
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)
|
|
233
|
39440
|
8820
-
8820
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
234
|
45992
|
8896
-
8896
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
234
|
37149
|
8896
-
8896
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
234
|
32922
|
8896
-
8896
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[akka.http.scaladsl.model.StatusCodes.Success]
|
|
234
|
43682
|
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
|
36074
|
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
|
50198
|
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
|
31031
|
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
|
43364
|
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
|
39476
|
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])))
|
|
244
|
42388
|
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
|
31073
|
9058
-
9061
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.get
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.get
|
|
245
|
44198
|
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
|
39275
|
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
|
36622
|
9087
-
9102
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
245
|
51294
|
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
|
49951
|
9085
-
9085
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
245
|
43153
|
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
|
45787
|
9105
-
9116
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
245
|
44157
|
9077
-
9084
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
245
|
37646
|
9103
-
9103
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
245
|
50984
|
9119
-
9140
|
Select
|
org.make.api.crmTemplates.DefaultAdminCrmQuestionTemplatesApiComponent.crmQuestionTemplateId
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId
|
|
245
|
30818
|
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,)]))
|
|
246
|
36063
|
9193
-
9223
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminGetCrmQuestionTemplates"
|
|
246
|
37400
|
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
|
50194
|
9192
-
9192
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
246
|
37477
|
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
|
49690
|
9179
-
9179
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
246
|
45267
|
9179
-
9179
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
247
|
39033
|
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
|
45776
|
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
|
42590
|
9244
-
9254
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
248
|
48891
|
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])))))))
|
|
248
|
30857
|
9322
-
9335
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
248
|
44228
|
9305
-
9336
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
250
|
35813
|
9355
-
9420
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.get
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)
|
|
251
|
45020
|
9440
-
9440
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
251
|
49136
|
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
|
30614
|
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
|
50232
|
9496
-
9496
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
252
|
37441
|
9496
-
9496
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
252
|
35853
|
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
|
42354
|
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])
|
|
252
|
44737
|
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
|
35520
|
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]))
|
|
260
|
35264
|
9625
-
9628
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.put
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.put
|
|
260
|
49776
|
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
|
31371
|
9642
-
9649
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
261
|
36915
|
9650
-
9650
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
261
|
44777
|
9652
-
9667
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
261
|
43449
|
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
|
36738
|
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
|
42106
|
9668
-
9668
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
261
|
37390
|
9684
-
9705
|
Select
|
org.make.api.crmTemplates.DefaultAdminCrmQuestionTemplatesApiComponent.crmQuestionTemplateId
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId
|
|
261
|
49684
|
9670
-
9681
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
261
|
35308
|
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
|
31408
|
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
|
51334
|
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,)]
|
|
262
|
43716
|
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
|
49434
|
9742
-
9742
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
262
|
41857
|
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
|
37431
|
9755
-
9755
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
262
|
36952
|
9742
-
9742
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
262
|
43941
|
9756
-
9789
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminUpdateCrmQuestionTemplates"
|
|
263
|
48145
|
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
|
50489
|
9808
-
9818
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
263
|
42938
|
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]]
|
|
264
|
35088
|
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
|
30605
|
9867
-
9898
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
264
|
35346
|
9884
-
9897
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
265
|
43233
|
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]))))))
})))
|
|
265
|
43980
|
9915
-
9928
|
Select
|
akka.http.scaladsl.server.directives.CodingDirectives.decodeRequest
|
|
DefaultAdminCrmQuestionTemplatesApi.this.decodeRequest
|
|
266
|
51118
|
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
|
41897
|
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
|
49475
|
9956
-
9956
|
ApplyToImplicitArgs
|
de.heikoseeberger.akkahttpcirce.ErrorAccumulatingUnmarshaller.unmarshaller
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.unmarshaller[org.make.core.crmTemplate.CrmQuestionTemplate](crmTemplate.this.CrmQuestionTemplate.codec)
|
|
266
|
43404
|
9953
-
9953
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
266
|
37186
|
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
|
36109
|
9956
-
9956
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
266
|
50529
|
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))))
|
|
269
|
43725
|
10155
-
10155
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
269
|
47897
|
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
|
51078
|
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
|
35092
|
10108
-
10154
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.get
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.get(crmQuestionTemplateId)
|
|
270
|
38285
|
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
|
36910
|
10263
-
10281
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.questionId
|
|
request.questionId
|
|
271
|
48923
|
10204
-
10282
|
Apply
|
org.make.api.question.QuestionService.getCachedQuestion
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.questionService.getCachedQuestion(request.questionId)
|
|
272
|
34541
|
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
|
47640
|
10331
-
10331
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
273
|
43445
|
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
|
41642
|
10404
-
10416
|
Literal
|
<nosymbol>
|
|
"questionId"
|
|
275
|
37220
|
10446
-
10457
|
Literal
|
<nosymbol>
|
|
"not_found"
|
|
276
|
50280
|
10487
-
10542
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("Question ".+(request.questionId).+(" does not exist."): String))
|
|
279
|
43763
|
10631
-
10666
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.update
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.update(request)
|
|
279
|
49992
|
10667
-
10667
|
Select
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
org.make.api.technical.directives.FutureDirectivesExtensions.directive1Monad
|
|
279
|
41848
|
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
|
36943
|
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
|
|
281
|
36703
|
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
|
44824
|
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
|
50028
|
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])))
|
|
281
|
41600
|
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
|
43478
|
10734
-
10734
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
281
|
48397
|
10761
-
10761
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.core.crmTemplate.CrmQuestionTemplate]
|
|
281
|
35606
|
10761
-
10761
|
Select
|
org.make.core.crmTemplate.CrmQuestionTemplate.codec
|
|
crmTemplate.this.CrmQuestionTemplate.codec
|
|
281
|
34012
|
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]))))))
|
|
291
|
41637
|
10916
-
10922
|
Select
|
akka.http.scaladsl.server.directives.MethodDirectives.delete
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this.delete
|
|
291
|
49807
|
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
|
33237
|
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
|
43273
|
10946
-
10946
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
292
|
34050
|
10938
-
10945
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"admin"
|
|
292
|
48192
|
10964
-
10964
|
TypeApply
|
akka.http.scaladsl.server.util.TupleOps.Join.join0P
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
TupleOps.this.Join.join0P[Unit]
|
|
292
|
40042
|
10980
-
11001
|
Select
|
org.make.api.crmTemplates.DefaultAdminCrmQuestionTemplatesApiComponent.crmQuestionTemplateId
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmQuestionTemplateId
|
|
292
|
35891
|
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
|
49259
|
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
|
34841
|
10966
-
10977
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("questions")
|
|
292
|
36495
|
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
|
50272
|
10948
-
10963
|
ApplyImplicitView
|
akka.http.scaladsl.server.ImplicitPathMatcherConstruction._segmentStringToPathMatcher
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApi.this._segmentStringToPathMatcher("crm-templates")
|
|
292
|
41393
|
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,)]))
|
|
293
|
39792
|
11053
-
11053
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
util.this.ApplyConverter.hac1[org.make.core.RequestContext]
|
|
293
|
40895
|
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
|
48228
|
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
|
42423
|
11040
-
11040
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$2
|
|
293
|
34877
|
11040
-
11040
|
Select
|
org.make.api.technical.MakeDirectives.makeOperation$default$3
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOperation$default$3
|
|
293
|
50311
|
11054
-
11084
|
Literal
|
<nosymbol>
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
"AdminGetCrmQuestionTemplates"
|
|
294
|
48180
|
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
|
49726
|
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]]
|
|
294
|
35930
|
11105
-
11115
|
Select
|
org.make.api.technical.auth.MakeAuthentication.makeOAuth2
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.makeOAuth2
|
|
295
|
35392
|
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])))))))
|
|
295
|
33280
|
11166
-
11197
|
Apply
|
org.make.api.technical.MakeAuthenticationDirectives.requireAdminRole
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.requireAdminRole(userAuth.user)
|
|
295
|
41432
|
11183
-
11196
|
Select
|
scalaoauth2.provider.AuthInfo.user
|
|
userAuth.user
|
|
296
|
35345
|
11266
-
11266
|
TypeApply
|
akka.http.scaladsl.server.util.ApplyConverterInstances.hac1
|
|
util.this.ApplyConverter.hac1[Unit]
|
|
296
|
42985
|
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
|
51373
|
11216
-
11265
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.delete
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.crmTemplatesService.delete(crmQuestionTemplateId)
|
|
296
|
43223
|
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
|
46378
|
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
|
36987
|
11322
-
11322
|
TypeApply
|
de.heikoseeberger.akkahttpcirce.BaseCirceSupport.marshaller$default$2
|
|
DefaultAdminCrmQuestionTemplatesApiComponent.this.marshaller$default$2[org.make.api.technical.IdResponse]
|
|
297
|
42173
|
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
|
39837
|
11322
-
11322
|
Select
|
org.make.api.technical.IdResponse.encoder
|
|
technical.this.IdResponse.encoder
|
|
297
|
49769
|
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
|
34345
|
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
|
47982
|
11312
-
11345
|
Apply
|
org.make.api.technical.IdResponse.apply
|
|
org.make.api.technical.IdResponse.apply[org.make.core.crmTemplate.CrmQuestionTemplateId](crmQuestionTemplateId)
|
|
323
|
47427
|
12170
-
12178
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.template
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
CreateCrmQuestionTemplate.this.template
|
|
323
|
35422
|
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
|
43021
|
12191
-
12199
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.language
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
CreateCrmQuestionTemplate.this.language
|
|
323
|
41935
|
12128
-
12132
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.kind
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
CreateCrmQuestionTemplate.this.kind
|
|
323
|
33794
|
12147
-
12157
|
Select
|
org.make.api.crmTemplates.CreateCrmQuestionTemplate.questionId
|
org.make.api.crmtemplates.admincrmquestiontemplatesapitest
|
CreateCrmQuestionTemplate.this.questionId
|
|
328
|
47937
|
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)
})
|