| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
121
|
6152
|
4623
-
4651
|
Apply
|
io.netty.handler.codec.http.QueryStringEncoder.<init>
|
|
new io.netty.handler.codec.http.QueryStringEncoder(path)
|
|
123
|
5758
|
4678
-
4703
|
TypeApply
|
scala.collection.immutable.Map.empty
|
|
scala.Predef.Map.empty[String, String]
|
|
125
|
7016
|
4731
-
4948
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("utm_source").->[String](utm.source), scala.Predef.ArrowAssoc[String]("utm_medium").->[String](utm.medium), scala.Predef.ArrowAssoc[String]("utm_campaign").->[String](utm.campaign), scala.Predef.ArrowAssoc[String]("utm_term").->[String](utm.term), scala.Predef.ArrowAssoc[String]("utm_content").->[String](utm.content))
|
|
126
|
7099
|
4748
-
4760
|
Literal
|
<nosymbol>
|
|
"utm_source"
|
|
126
|
6330
|
4764
-
4774
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.source
|
|
utm.source
|
|
126
|
7635
|
4748
-
4774
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("utm_source").->[String](utm.source)
|
|
127
|
6866
|
4788
-
4800
|
Literal
|
<nosymbol>
|
|
"utm_medium"
|
|
127
|
7792
|
4788
-
4814
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("utm_medium").->[String](utm.medium)
|
|
127
|
6389
|
4804
-
4814
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.medium
|
|
utm.medium
|
|
128
|
6161
|
4846
-
4858
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.campaign
|
|
utm.campaign
|
|
128
|
6959
|
4828
-
4842
|
Literal
|
<nosymbol>
|
|
"utm_campaign"
|
|
128
|
5652
|
4828
-
4858
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("utm_campaign").->[String](utm.campaign)
|
|
129
|
6265
|
4886
-
4894
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.term
|
|
utm.term
|
|
129
|
7108
|
4872
-
4882
|
Literal
|
<nosymbol>
|
|
"utm_term"
|
|
129
|
7637
|
4872
-
4894
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("utm_term").->[String](utm.term)
|
|
130
|
6354
|
4925
-
4936
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.content
|
|
utm.content
|
|
130
|
7795
|
4908
-
4936
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("utm_content").->[String](utm.content)
|
|
130
|
6873
|
4908
-
4921
|
Literal
|
<nosymbol>
|
|
"utm_content"
|
|
132
|
6324
|
4657
-
5004
|
Apply
|
scala.collection.MapOps.foreachEntry
|
|
maybeUtm.fold[scala.collection.immutable.Map[String,String]](scala.Predef.Map.empty[String, String])(((utm: org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm) => scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("utm_source").->[String](utm.source), scala.Predef.ArrowAssoc[String]("utm_medium").->[String](utm.medium), scala.Predef.ArrowAssoc[String]("utm_campaign").->[String](utm.campaign), scala.Predef.ArrowAssoc[String]("utm_term").->[String](utm.term), scala.Predef.ArrowAssoc[String]("utm_content").->[String](utm.content)))).++[String](others.toMap[String, String](scala.this.<:<.refl[(String, String)])).foreachEntry[Unit](((x$1: String, x$2: String) => builder.addParam(x$1, x$2)))
|
|
132
|
7499
|
4960
-
4972
|
ApplyToImplicitArgs
|
scala.collection.IterableOnceOps.toMap
|
|
others.toMap[String, String](scala.this.<:<.refl[(String, String)])
|
|
132
|
7062
|
4987
-
5003
|
Apply
|
io.netty.handler.codec.http.QueryStringEncoder.addParam
|
|
builder.addParam(x$1, x$2)
|
|
132
|
6117
|
4967
-
4967
|
TypeApply
|
scala.<:<.refl
|
|
scala.this.<:<.refl[(String, String)]
|
|
137
|
6830
|
5124
-
5157
|
Apply
|
java.lang.Object.!=
|
|
userType.!=(org.make.core.user.UserType.UserTypeUser)
|
|
137
|
7607
|
5136
-
5157
|
Select
|
org.make.core.user.UserType.UserTypeUser
|
|
org.make.core.user.UserType.UserTypeUser
|
|
138
|
6359
|
5167
-
5183
|
Typed
|
<nosymbol>
|
|
("".+(term).+("acteur"): String)
|
|
140
|
7755
|
5203
-
5207
|
Ident
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.term
|
|
term
|
|
146
|
7021
|
5311
-
5326
|
Literal
|
<nosymbol>
|
|
"crm-marketing"
|
|
146
|
6071
|
5311
-
5326
|
Block
|
<nosymbol>
|
|
"crm-marketing"
|
|
148
|
7469
|
5346
-
5359
|
Literal
|
<nosymbol>
|
|
"crm-transac"
|
|
148
|
7067
|
5346
-
5359
|
Block
|
<nosymbol>
|
|
"crm-transac"
|
|
153
|
7715
|
5501
-
5574
|
Select
|
org.make.core.reference.Country.value
|
|
proposal.creationContext.country.getOrElse[org.make.core.reference.Country](question.countries.head).value
|
|
153
|
6328
|
5544
-
5567
|
Select
|
cats.data.NonEmptyList.head
|
|
question.countries.head
|
|
155
|
6482
|
5580
-
5780
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.mainFrontendUrl, ("".+(country).+("/consultation/").+(question.slug).+("/proposal/").+(proposal.proposalId.value).+("/").+(proposal.slug): String), maybeUtm)
|
|
156
|
6864
|
5603
-
5647
|
Select
|
org.make.api.extensions.MailJetTemplateConfiguration.mainFrontendUrl
|
|
DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.mainFrontendUrl
|
|
168
|
7838
|
5974
-
6025
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.country.map[String](((x$1: org.make.core.reference.Country) => x$1.value)).getOrElse[String]("FR")
|
|
169
|
7028
|
6060
-
6128
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.questionContext.questionId.map[String](((x$2: org.make.core.question.QuestionId) => x$2.value)).getOrElse[String]("")
|
|
171
|
6114
|
6134
-
6460
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.mainFrontendUrl, ("".+(user.country.value).+("/account-activation/").+(user.userId.value).+("/").+(verificationToken): String), scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String = utmCampaign;
<artifact> val x$2: String("validation") = "validation";
<artifact> val x$3: String("cta") = "cta";
<artifact> val x$4: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$1;
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply(x$4, x$5, x$1, "validation", "cta")
}), scala.Predef.ArrowAssoc[String]("country").->[String](country), scala.Predef.ArrowAssoc[String]("question").->[String](questionIdValue))
|
|
172
|
6194
|
6157
-
6201
|
Select
|
org.make.api.extensions.MailJetTemplateConfiguration.mainFrontendUrl
|
|
DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.mainFrontendUrl
|
|
174
|
7180
|
6382
-
6387
|
Literal
|
<nosymbol>
|
|
"cta"
|
|
174
|
7718
|
6323
-
6323
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
174
|
6034
|
6318
-
6389
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String = utmCampaign;
<artifact> val x$2: String("validation") = "validation";
<artifact> val x$3: String("cta") = "cta";
<artifact> val x$4: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$1;
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply(x$4, x$5, x$1, "validation", "cta")
})
|
|
174
|
6820
|
6323
-
6388
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply(x$4, x$5, x$1, "validation", "cta")
|
|
174
|
6302
|
6323
-
6323
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$1
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$1
|
|
174
|
7569
|
6358
-
6370
|
Literal
|
<nosymbol>
|
|
"validation"
|
|
175
|
7841
|
6397
-
6417
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("country").->[String](country)
|
|
176
|
6992
|
6425
-
6454
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](questionIdValue)
|
|
187
|
7057
|
6698
-
6698
|
Select
|
scala.Tuple2._2
|
|
x$3._2
|
|
187
|
7536
|
6692
-
6692
|
Select
|
scala.Tuple2._1
|
|
x$3._1
|
|
194
|
6304
|
7006
-
7010
|
Select
|
scala.None
|
|
scala.None
|
|
194
|
7686
|
6960
-
7011
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildUrl(base, path, scala.None)
|
|
198
|
6825
|
7187
-
7191
|
Literal
|
<nosymbol>
|
|
"FR"
|
|
198
|
7752
|
7149
-
7201
|
Apply
|
scala.Option.fold
|
|
proposal.creationContext.country.fold[String]("FR")(((x$4: org.make.core.reference.Country) => x$4.value))
|
|
198
|
6038
|
7193
-
7200
|
Select
|
org.make.core.reference.Country.value
|
|
x$4.value
|
|
200
|
7543
|
7207
-
7389
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.mainFrontendUrl, ("".+(country).+("/consultation/").+(questionSlug).+("/selection"): String), maybeUtm, scala.Predef.ArrowAssoc[String]("introCard").->[String]("false"))
|
|
201
|
6995
|
7230
-
7274
|
Select
|
org.make.api.extensions.MailJetTemplateConfiguration.mainFrontendUrl
|
|
DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.mainFrontendUrl
|
|
204
|
6086
|
7361
-
7383
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("introCard").->[String]("false")
|
|
216
|
6678
|
7672
-
7682
|
Literal
|
<nosymbol>
|
|
"-popular"
|
|
217
|
6233
|
7722
-
7738
|
Literal
|
<nosymbol>
|
|
"-controversial"
|
|
218
|
7620
|
7778
-
7780
|
Literal
|
<nosymbol>
|
|
""
|
|
220
|
6797
|
7791
-
8171
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.mainFrontendUrl, ("".+(country.value).+("/consultation/").+(questionSlug).+("/selection").+(suffix): String), scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmSource(isMarketing);
<artifact> val x$2: String("cta") = "cta";
<artifact> val x$3: String = questionSlug;
<artifact> val x$4: String = userType.fold[String]("voteonly")(((x$5: org.make.core.user.UserType) => DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("", x$5)));
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply(x$1, x$5, x$3, x$4, "cta")
}))
|
|
221
|
6792
|
7814
-
7858
|
Select
|
org.make.api.extensions.MailJetTemplateConfiguration.mainFrontendUrl
|
|
DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.mainFrontendUrl
|
|
223
|
7674
|
7955
-
8165
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmSource(isMarketing);
<artifact> val x$2: String("cta") = "cta";
<artifact> val x$3: String = questionSlug;
<artifact> val x$4: String = userType.fold[String]("voteonly")(((x$5: org.make.core.user.UserType) => DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("", x$5)));
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply(x$1, x$5, x$3, x$4, "cta")
})
|
|
224
|
6641
|
7969
-
7969
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
224
|
6236
|
7969
-
8157
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply(x$1, x$5, x$3, x$4, "cta")
|
|
225
|
5940
|
7993
-
8020
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.adaptUtmSource
|
|
DefaultSendMailPublisherServiceComponent.this.adaptUtmSource(isMarketing)
|
|
226
|
7759
|
8042
-
8047
|
Literal
|
<nosymbol>
|
|
"cta"
|
|
228
|
6087
|
8127
-
8146
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.adaptUtmTerm
|
|
DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("", x$5)
|
|
228
|
6927
|
8115
-
8125
|
Literal
|
<nosymbol>
|
|
"voteonly"
|
|
228
|
7546
|
8101
-
8147
|
Apply
|
scala.Option.fold
|
|
userType.fold[String]("voteonly")(((x$5: org.make.core.user.UserType) => DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("", x$5)))
|
|
236
|
5947
|
8330
-
8358
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[String]("unknown")
|
|
237
|
6162
|
8430
-
8455
|
Apply
|
scala.Option.fold
|
|
x$6.fold[String]("unknown")(((x$7: org.make.core.question.Question) => x$7.slug))
|
|
237
|
7861
|
8437
-
8446
|
Literal
|
<nosymbol>
|
|
"unknown"
|
|
237
|
6987
|
8448
-
8454
|
Select
|
org.make.core.question.Question.slug
|
|
x$7.slug
|
|
237
|
7513
|
8429
-
8429
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
237
|
6648
|
8394
-
8456
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(id).map[String](((x$6: Option[org.make.core.question.Question]) => x$6.fold[String]("unknown")(((x$7: org.make.core.question.Question) => x$7.slug))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
238
|
6338
|
8492
-
8517
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[String]("core")
|
|
244
|
7682
|
8690
-
8717
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
eta$0$1.getQuestion(questionId)
|
|
245
|
6168
|
8637
-
8959
|
Apply
|
scala.Option.orElse
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]]({
<synthetic> val eta$0$1: org.make.api.question.QuestionService = DefaultSendMailPublisherServiceComponent.this.questionService;
((questionId: org.make.core.question.QuestionId) => eta$0$1.getQuestion(questionId))
}).orElse[scala.concurrent.Future[Option[org.make.core.question.Question]]](requestContext.operationId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((operationId: org.make.core.operation.OperationId) => DefaultSendMailPublisherServiceComponent.this.questionService.findQuestion(scala.Some.apply[org.make.core.operation.OperationId](operationId), country, org.make.core.BusinessConfig.CountryLanguageOps(country).language))))
|
|
246
|
6963
|
8743
-
8951
|
Apply
|
scala.Option.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.operationId.map[scala.concurrent.Future[Option[org.make.core.question.Question]]](((operationId: org.make.core.operation.OperationId) => DefaultSendMailPublisherServiceComponent.this.questionService.findQuestion(scala.Some.apply[org.make.core.operation.OperationId](operationId), country, org.make.core.BusinessConfig.CountryLanguageOps(country).language)))
|
|
249
|
6898
|
8875
-
8892
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.operation.OperationId](operationId)
|
|
249
|
6057
|
8924
-
8940
|
Select
|
org.make.core.BusinessConfig.CountryLanguageOps.language
|
|
org.make.core.BusinessConfig.CountryLanguageOps(country).language
|
|
249
|
7348
|
8812
-
8941
|
Apply
|
org.make.api.question.QuestionService.findQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.findQuestion(scala.Some.apply[org.make.core.operation.OperationId](operationId), country, org.make.core.BusinessConfig.CountryLanguageOps(country).language)
|
|
252
|
7540
|
9032
-
9066
|
Apply
|
scala.Option.getOrElse
|
|
x$8.map[String](((x$9: org.make.core.question.Question) => x$9.slug)).getOrElse[String]("unknown")
|
|
252
|
6750
|
9031
-
9031
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
252
|
6289
|
9008
-
9067
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
futureMaybeQuestion.map[String](((x$8: Option[org.make.core.question.Question]) => x$8.map[String](((x$9: org.make.core.question.Question) => x$9.slug)).getOrElse[String]("unknown")))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
253
|
7689
|
9108
-
9136
|
Apply
|
scala.concurrent.Future.successful
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.Future.successful[String]("unknown")
|
|
263
|
7436
|
9319
-
9632
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(recipient.email, recipient.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](monitoringCategory);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
})
|
|
264
|
7341
|
9349
-
9349
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
264
|
7511
|
9349
-
9349
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
264
|
6132
|
9349
-
9349
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
264
|
5994
|
9339
-
9626
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
|
|
264
|
6774
|
9349
-
9349
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
264
|
7656
|
9349
-
9349
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
264
|
5808
|
9349
-
9349
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
264
|
6971
|
9349
-
9349
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
264
|
6684
|
9349
-
9349
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
265
|
7443
|
9378
-
9406
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
265
|
6877
|
9383
-
9399
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
265
|
6018
|
9383
-
9405
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
266
|
7506
|
9433
-
9433
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
266
|
6171
|
9475
-
9493
|
Select
|
org.make.core.user.User.fullName
|
|
recipient.fullName
|
|
266
|
6275
|
9429
-
9495
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(recipient.email, recipient.fullName, Recipient.apply$default$3))
|
|
266
|
6705
|
9433
-
9494
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(recipient.email, recipient.fullName, Recipient.apply$default$3)
|
|
266
|
6968
|
9451
-
9466
|
Select
|
org.make.core.user.User.email
|
|
recipient.email
|
|
267
|
7651
|
9517
-
9532
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Map[String,String]](variables)
|
|
268
|
6793
|
9559
-
9563
|
Select
|
scala.None
|
|
scala.None
|
|
269
|
5987
|
9594
-
9618
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](monitoringCategory)
|
|
279
|
6498
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$4
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$4
|
|
279
|
6776
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$1
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$1
|
|
279
|
7449
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$12
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$12
|
|
279
|
6842
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$20
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$20
|
|
279
|
6127
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$15
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$15
|
|
279
|
6121
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$5
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$5
|
|
279
|
7547
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$16
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$16
|
|
279
|
5989
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$21
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$21
|
|
279
|
5914
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$8
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$8
|
|
279
|
7442
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$3
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$3
|
|
279
|
7409
|
9956
-
10192
|
Apply
|
org.make.core.RequestContext.copy
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy(x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$4, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24)
|
|
279
|
6754
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$7
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$7
|
|
279
|
7624
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$19
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$19
|
|
279
|
5922
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$18
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$18
|
|
279
|
6613
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$14
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$14
|
|
279
|
5961
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$11
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$11
|
|
279
|
5955
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$2
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$2
|
|
279
|
6723
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$17
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$17
|
|
279
|
7647
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$9
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$9
|
|
279
|
6836
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$10
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$10
|
|
279
|
7482
|
9975
-
9975
|
Select
|
org.make.core.RequestContext.copy$default$6
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.copy$default$6
|
|
280
|
7724
|
9998
-
10182
|
Apply
|
org.make.core.RequestContextQuestion.copy
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.questionContext.copy(x$2, x$3, x$1)
|
|
280
|
5813
|
10044
-
10044
|
Select
|
org.make.core.RequestContextQuestion.copy$default$2
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.questionContext.copy$default$2
|
|
280
|
6747
|
10044
-
10044
|
Select
|
org.make.core.RequestContextQuestion.copy$default$1
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.questionContext.copy$default$1
|
|
281
|
7478
|
10074
-
10170
|
Apply
|
scala.Option.orElse
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
baseRequestContext.questionContext.questionId.orElse[org.make.core.question.QuestionId](user.profile.flatMap[org.make.core.question.QuestionId](((x$10: org.make.core.profile.Profile) => x$10.registerQuestionId)))
|
|
281
|
7032
|
10148
-
10168
|
Select
|
org.make.core.profile.Profile.registerQuestionId
|
|
x$10.registerQuestionId
|
|
281
|
6075
|
10127
-
10169
|
Apply
|
scala.Option.flatMap
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.profile.flatMap[org.make.core.question.QuestionId](((x$10: org.make.core.profile.Profile) => x$10.registerQuestionId))
|
|
284
|
6534
|
10219
-
10231
|
Select
|
org.make.core.user.User.country
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.country
|
|
284
|
5785
|
10257
-
10257
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
284
|
7552
|
10199
-
11057
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.resolveQuestionSlug(user.country, requestContext).flatMap[Unit](((questionSlug: String) => DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.Welcome, requestContext.questionContext.questionId, user.profile.map[org.make.core.reference.Language](((x$11: org.make.core.profile.Profile) => x$11.crmLanguage))).map[Unit](((x$12: Option[org.make.core.crmTemplate.TemplateId]) => x$12.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("registration_context").->[String](questionSlug), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$13: org.make.core.operation.OperationId) => x$13.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String]("")));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.welcome, variables))
}))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
286
|
6091
|
10319
-
10326
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.Welcome
|
|
org.make.core.crmTemplate.CrmTemplateKind.Welcome
|
|
286
|
6686
|
10388
-
10401
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$11.crmLanguage
|
|
286
|
7554
|
10328
-
10369
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
|
requestContext.questionContext.questionId
|
|
286
|
5876
|
10371
-
10402
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Language](((x$11: org.make.core.profile.Profile) => x$11.crmLanguage))
|
|
287
|
7406
|
10418
-
10418
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
287
|
6063
|
10419
-
11048
|
Apply
|
scala.Option.foreach
|
|
x$12.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("registration_context").->[String](questionSlug), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$13: org.make.core.operation.OperationId) => x$13.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String]("")));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.welcome, variables))
}))
|
|
287
|
6571
|
10283
-
11049
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.Welcome, requestContext.questionContext.questionId, user.profile.map[org.make.core.reference.Language](((x$11: org.make.core.profile.Profile) => x$11.crmLanguage))).map[Unit](((x$12: Option[org.make.core.crmTemplate.TemplateId]) => x$12.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("registration_context").->[String](questionSlug), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$13: org.make.core.operation.OperationId) => x$13.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String]("")));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.welcome, variables))
}))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
289
|
6661
|
10487
-
10928
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("registration_context").->[String](questionSlug), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$13: org.make.core.operation.OperationId) => x$13.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String]("")))
|
|
290
|
6848
|
10523
-
10551
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
290
|
7245
|
10508
-
10519
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
290
|
5952
|
10508
-
10551
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
291
|
7373
|
10569
-
10607
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("registration_context").->[String](questionSlug)
|
|
292
|
7479
|
10625
-
10693
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$13: org.make.core.operation.OperationId) => x$13.value)).getOrElse[String](""))
|
|
292
|
6605
|
10625
-
10636
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
292
|
6095
|
10640
-
10693
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.operationId.map[String](((x$13: org.make.core.operation.OperationId) => x$13.value)).getOrElse[String]("")
|
|
293
|
7310
|
10711
-
10778
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String](""))
|
|
293
|
6655
|
10711
-
10721
|
Literal
|
<nosymbol>
|
|
"question"
|
|
293
|
5910
|
10725
-
10778
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.questionContext.question.getOrElse[String]("")
|
|
294
|
7353
|
10796
-
10847
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String](""))
|
|
294
|
5959
|
10810
-
10847
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.location.getOrElse[String]("")
|
|
294
|
6807
|
10796
-
10806
|
Literal
|
<nosymbol>
|
|
"location"
|
|
295
|
6202
|
10877
-
10912
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.source.getOrElse[String]("")
|
|
295
|
7594
|
10865
-
10912
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))
|
|
295
|
6609
|
10865
-
10873
|
Literal
|
<nosymbol>
|
|
"source"
|
|
297
|
5867
|
10997
-
11023
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.welcome
|
|
org.make.core.crmTemplate.MonitoringCategory.welcome
|
|
297
|
7314
|
10965
-
11035
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.generateEmail
|
|
DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.welcome, variables)
|
|
297
|
6840
|
10941
-
11036
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.welcome, variables))
|
|
304
|
6764
|
11184
-
11197
|
Literal
|
<nosymbol>
|
|
"d MMMM yyyy"
|
|
305
|
6800
|
11147
-
11246
|
Apply
|
java.time.format.DateTimeFormatter.withLocale
|
|
java.time.format.DateTimeFormatter.ofPattern("d MMMM yyyy").withLocale(new java.util.Locale(language.value))
|
|
305
|
5872
|
11230
-
11244
|
Select
|
org.make.core.reference.Language.value
|
|
language.value
|
|
305
|
7319
|
11219
-
11245
|
Apply
|
java.util.Locale.<init>
|
|
new java.util.Locale(language.value)
|
|
307
|
6027
|
11290
-
11292
|
Literal
|
<nosymbol>
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
50
|
|
316
|
5664
|
11510
-
12808
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("operation_header").->[String](opQuestion.consultationHeader.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("operation_header_alt").->[String](opQuestion.consultationHeaderAlts.flatMap[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]](((x$14: org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]) => x$14.getTranslation(language))).fold[String]("")(((x$15: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$15.value))), scala.Predef.ArrowAssoc[String]("proposal_count").->[String](opQuestion.proposalsCount.toString()), scala.Predef.ArrowAssoc[String]("vote_count").->[String](opQuestion.votesCount.toString()), scala.Predef.ArrowAssoc[String]("end_date").->[String](DefaultSendMailPublisherService.this.localDateFormatter(language).format(opQuestion.endDate)), scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5)), scala.Predef.ArrowAssoc[String]("controversial_sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Controversy, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5)), scala.Predef.ArrowAssoc[String]("popular_sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Consensus, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5)), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value), scala.Predef.ArrowAssoc[String]("operation_title").->[String](opQuestion.operationTitles.getTranslationUnsafe(language)), scala.Predef.ArrowAssoc[String]("operation_type").->[String](operation.operationKind.value.toLowerCase()), scala.Predef.ArrowAssoc[String]("partners_logos").->[String](opQuestion.partnersLogos.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("partners_logos_alt").->[String](opQuestion.partnersLogosAlt.fold[String]("")(((x$16: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$16.value))), scala.Predef.ArrowAssoc[String]("initiators_logos").->[String](opQuestion.initiatorsLogos.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("initiators_logos_alt").->[String](opQuestion.initiatorsLogosAlt.fold[String]("")(((x$17: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$17.value))))
|
|
317
|
6579
|
11545
-
11588
|
Apply
|
scala.Option.getOrElse
|
|
opQuestion.consultationHeader.getOrElse[String]("")
|
|
317
|
7385
|
11523
-
11541
|
Literal
|
<nosymbol>
|
|
"operation_header"
|
|
317
|
5730
|
11523
-
11588
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation_header").->[String](opQuestion.consultationHeader.getOrElse[String](""))
|
|
318
|
5998
|
11598
-
11733
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation_header_alt").->[String](opQuestion.consultationHeaderAlts.flatMap[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]](((x$14: org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]) => x$14.getTranslation(language))).fold[String]("")(((x$15: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$15.value)))
|
|
318
|
7517
|
11598
-
11620
|
Literal
|
<nosymbol>
|
|
"operation_header_alt"
|
|
319
|
6651
|
11677
-
11703
|
Apply
|
org.make.core.technical.Multilingual.getTranslation
|
|
x$14.getTranslation(language)
|
|
320
|
6447
|
11624
-
11733
|
Apply
|
scala.Option.fold
|
|
opQuestion.consultationHeaderAlts.flatMap[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]](((x$14: org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]) => x$14.getTranslation(language))).fold[String]("")(((x$15: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$15.value))
|
|
320
|
5882
|
11721
-
11723
|
Literal
|
<nosymbol>
|
|
""
|
|
320
|
7292
|
11725
-
11732
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$15.value
|
|
321
|
7352
|
11743
-
11759
|
Literal
|
<nosymbol>
|
|
"proposal_count"
|
|
321
|
5689
|
11743
-
11797
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_count").->[String](opQuestion.proposalsCount.toString())
|
|
321
|
6586
|
11763
-
11797
|
Apply
|
scala.Any.toString
|
|
opQuestion.proposalsCount.toString()
|
|
322
|
7521
|
11807
-
11819
|
Literal
|
<nosymbol>
|
|
"vote_count"
|
|
322
|
6755
|
11823
-
11853
|
Apply
|
scala.Any.toString
|
|
opQuestion.votesCount.toString()
|
|
322
|
5818
|
11807
-
11853
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("vote_count").->[String](opQuestion.votesCount.toString())
|
|
323
|
7215
|
11863
-
11873
|
Literal
|
<nosymbol>
|
|
"end_date"
|
|
323
|
7355
|
11863
-
11932
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("end_date").->[String](DefaultSendMailPublisherService.this.localDateFormatter(language).format(opQuestion.endDate))
|
|
323
|
6404
|
11913
-
11931
|
Select
|
org.make.core.operation.OperationOfQuestion.endDate
|
|
opQuestion.endDate
|
|
323
|
6002
|
11877
-
11932
|
Apply
|
java.time.format.DateTimeFormatter.format
|
|
DefaultSendMailPublisherService.this.localDateFormatter(language).format(opQuestion.endDate)
|
|
324
|
6501
|
11942
-
11956
|
Literal
|
<nosymbol>
|
|
"sequence_url"
|
|
324
|
5819
|
11960
-
11960
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl$default$5
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5
|
|
324
|
5696
|
11977
-
11990
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
324
|
7487
|
11992
-
12013
|
Select
|
org.make.core.sequence.SequenceKind.Standard
|
|
org.make.core.sequence.SequenceKind.Standard
|
|
324
|
6760
|
12024
-
12028
|
Literal
|
<nosymbol>
|
|
true
|
|
324
|
6413
|
11942
-
12029
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5))
|
|
324
|
7283
|
11960
-
12029
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5)
|
|
325
|
6626
|
12071
-
12143
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Controversy, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5)
|
|
325
|
6575
|
12103
-
12127
|
Select
|
org.make.core.sequence.SequenceKind.Controversy
|
|
org.make.core.sequence.SequenceKind.Controversy
|
|
325
|
7131
|
12071
-
12071
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl$default$5
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5
|
|
325
|
5929
|
12039
-
12067
|
Literal
|
<nosymbol>
|
|
"controversial_sequence_url"
|
|
325
|
5928
|
12039
-
12143
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("controversial_sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Controversy, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5))
|
|
325
|
7456
|
12088
-
12101
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
325
|
5766
|
12138
-
12142
|
Literal
|
<nosymbol>
|
|
true
|
|
326
|
7156
|
12153
-
12249
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("popular_sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Consensus, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5))
|
|
326
|
6046
|
12211
-
12233
|
Select
|
org.make.core.sequence.SequenceKind.Consensus
|
|
org.make.core.sequence.SequenceKind.Consensus
|
|
326
|
5770
|
12179
-
12249
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Consensus, country, true, DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5)
|
|
326
|
6538
|
12179
-
12179
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl$default$5
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5
|
|
326
|
6469
|
12196
-
12209
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
326
|
7288
|
12153
-
12175
|
Literal
|
<nosymbol>
|
|
"popular_sequence_url"
|
|
326
|
7327
|
12244
-
12248
|
Literal
|
<nosymbol>
|
|
true
|
|
327
|
7251
|
12259
-
12328
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value)
|
|
327
|
5845
|
12273
-
12328
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
question.questions.getTranslationUnsafe(language).value
|
|
327
|
6732
|
12259
-
12269
|
Literal
|
<nosymbol>
|
|
"question"
|
|
328
|
6471
|
12338
-
12355
|
Literal
|
<nosymbol>
|
|
"operation_title"
|
|
328
|
7421
|
12338
-
12427
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation_title").->[String](opQuestion.operationTitles.getTranslationUnsafe(language))
|
|
329
|
6001
|
12359
-
12427
|
Apply
|
org.make.core.technical.Multilingual.getTranslationUnsafe
|
|
opQuestion.operationTitles.getTranslationUnsafe(language)
|
|
330
|
6543
|
12437
-
12453
|
Literal
|
<nosymbol>
|
|
"operation_type"
|
|
330
|
7122
|
12437
-
12498
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation_type").->[String](operation.operationKind.value.toLowerCase())
|
|
330
|
5739
|
12457
-
12498
|
Apply
|
java.lang.String.toLowerCase
|
|
operation.operationKind.value.toLowerCase()
|
|
331
|
5833
|
12528
-
12566
|
Apply
|
scala.Option.getOrElse
|
|
opQuestion.partnersLogos.getOrElse[String]("")
|
|
331
|
6694
|
12508
-
12524
|
Literal
|
<nosymbol>
|
|
"partners_logos"
|
|
331
|
7255
|
12508
-
12566
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("partners_logos").->[String](opQuestion.partnersLogos.getOrElse[String](""))
|
|
332
|
6408
|
12576
-
12596
|
Literal
|
<nosymbol>
|
|
"partners_logos_alt"
|
|
332
|
7454
|
12637
-
12644
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$16.value
|
|
332
|
6518
|
12600
-
12645
|
Apply
|
scala.Option.fold
|
|
opQuestion.partnersLogosAlt.fold[String]("")(((x$16: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$16.value))
|
|
332
|
5746
|
12576
-
12645
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("partners_logos_alt").->[String](opQuestion.partnersLogosAlt.fold[String]("")(((x$16: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$16.value)))
|
|
332
|
7809
|
12633
-
12635
|
Literal
|
<nosymbol>
|
|
""
|
|
333
|
6668
|
12677
-
12717
|
Apply
|
scala.Option.getOrElse
|
|
opQuestion.initiatorsLogos.getOrElse[String]("")
|
|
333
|
5926
|
12655
-
12717
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("initiators_logos").->[String](opQuestion.initiatorsLogos.getOrElse[String](""))
|
|
333
|
7128
|
12655
-
12673
|
Literal
|
<nosymbol>
|
|
"initiators_logos"
|
|
334
|
7412
|
12753
-
12800
|
Apply
|
scala.Option.fold
|
|
opQuestion.initiatorsLogosAlt.fold[String]("")(((x$17: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$17.value))
|
|
334
|
6368
|
12788
-
12790
|
Literal
|
<nosymbol>
|
|
""
|
|
334
|
6622
|
12727
-
12800
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("initiators_logos_alt").->[String](opQuestion.initiatorsLogosAlt.fold[String]("")(((x$17: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]) => x$17.value)))
|
|
334
|
7262
|
12727
-
12749
|
Literal
|
<nosymbol>
|
|
"initiators_logos_alt"
|
|
334
|
7815
|
12792
-
12799
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$17.value
|
|
338
|
7082
|
12893
-
12927
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
context.questionContext.questionId
|
|
339
|
5883
|
12957
-
13007
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new scala.`package`.Exception("QuestionId missing"))
|
|
339
|
6280
|
12971
-
13006
|
Apply
|
java.lang.Exception.<init>
|
|
new scala.`package`.Exception("QuestionId missing")
|
|
341
|
7088
|
13051
-
13367
|
Apply
|
scala.Tuple2.apply
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.Tuple2.apply[scala.concurrent.Future[org.make.core.question.Question], scala.concurrent.Future[org.make.core.operation.OperationOfQuestion]](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global), org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("Could not find operation for question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global))
|
|
343
|
7323
|
13065
-
13119
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
344
|
6375
|
13148
-
13148
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
344
|
7777
|
13065
-
13188
|
ApplyToImplicitArgs
|
org.make.api.technical.Futures.FutureOfOption.flattenOrFail
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
346
|
7417
|
13202
-
13272
|
Apply
|
org.make.api.operation.OperationOfQuestionService.findByQuestionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)
|
|
347
|
6486
|
13301
-
13301
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
347
|
5736
|
13202
-
13355
|
ApplyToImplicitArgs
|
org.make.api.technical.Futures.FutureOfOption.flattenOrFail
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("Could not find operation for question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
348
|
6920
|
13372
-
13372
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
348
|
6357
|
13372
-
13372
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
348
|
7851
|
13372
-
13372
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
348
|
6890
|
13372
-
13372
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
351
|
6309
|
13505
-
13527
|
Select
|
org.make.core.operation.OperationOfQuestion.operationId
|
|
opQuestion.operationId
|
|
351
|
5889
|
13461
-
13528
|
Apply
|
org.make.api.operation.OperationService.findOne
|
|
DefaultSendMailPublisherServiceComponent.this.operationService.findOne(opQuestion.operationId)
|
|
352
|
7253
|
13561
-
13561
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
353
|
7603
|
13461
-
16486
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.Operation](DefaultSendMailPublisherServiceComponent.this.operationService.findOne(opQuestion.operationId)).flattenOrFail(("Couldn\'t find operation ".+(opQuestion.operationId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operation: org.make.core.operation.Operation) => cats.implicits.toFoldableOps[cats.data.NonEmptyList, org.make.core.reference.Country](question.countries)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).traverse_[scala.concurrent.Future, Unit](((country: org.make.core.reference.Country) => DefaultSendMailPublisherServiceComponent.this.persistentCrmUserService.getActiveConsultationUsers(question.slug, country).flatMap[Unit](((users: List[org.make.api.technical.crm.PersistentCrmUser]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])](users.groupBy[org.make.core.reference.Language](((x$18: org.make.api.technical.crm.PersistentCrmUser) => x$18.favoriteLanguage.fold[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))(((x$19: String) => org.make.core.reference.Language.apply(x$19))))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((x0$1: (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])) => x0$1 match {
case (_1: org.make.core.reference.Language, _2: List[org.make.api.technical.crm.PersistentCrmUser]): (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])((language @ _), (users @ _)) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](question.questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((template: org.make.core.crmTemplate.TemplateId) => {
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(template.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
cats.implicits.toFoldableOps[List, org.make.api.technical.crm.SendMessages](users.sliding(DefaultSendMailPublisherService.this.MailjetMaximumBatchSize, DefaultSendMailPublisherService.this.MailjetMaximumBatchSize).map[org.make.api.technical.crm.SendMessages](((batch: List[org.make.api.technical.crm.PersistentCrmUser]) => SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((messages: org.make.api.technical.crm.SendMessages) => scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
353
|
6320
|
13642
-
13642
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
355
|
6453
|
13699
-
13717
|
Select
|
org.make.core.question.Question.countries
|
|
question.countries
|
|
355
|
7786
|
13708
-
13708
|
Select
|
cats.data.NonEmptyListInstances.catsDataInstancesForNonEmptyListBinCompat1
|
|
data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1
|
|
356
|
6184
|
13752
-
13752
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
356
|
5654
|
13752
-
13752
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
356
|
7109
|
13699
-
16466
|
ApplyToImplicitArgs
|
cats.Foldable.Ops.traverse_
|
|
cats.implicits.toFoldableOps[cats.data.NonEmptyList, org.make.core.reference.Country](question.countries)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).traverse_[scala.concurrent.Future, Unit](((country: org.make.core.reference.Country) => DefaultSendMailPublisherServiceComponent.this.persistentCrmUserService.getActiveConsultationUsers(question.slug, country).flatMap[Unit](((users: List[org.make.api.technical.crm.PersistentCrmUser]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])](users.groupBy[org.make.core.reference.Language](((x$18: org.make.api.technical.crm.PersistentCrmUser) => x$18.favoriteLanguage.fold[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))(((x$19: String) => org.make.core.reference.Language.apply(x$19))))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((x0$1: (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])) => x0$1 match {
case (_1: org.make.core.reference.Language, _2: List[org.make.api.technical.crm.PersistentCrmUser]): (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])((language @ _), (users @ _)) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](question.questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((template: org.make.core.crmTemplate.TemplateId) => {
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(template.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
cats.implicits.toFoldableOps[List, org.make.api.technical.crm.SendMessages](users.sliding(DefaultSendMailPublisherService.this.MailjetMaximumBatchSize, DefaultSendMailPublisherService.this.MailjetMaximumBatchSize).map[org.make.api.technical.crm.SendMessages](((batch: List[org.make.api.technical.crm.PersistentCrmUser]) => SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((messages: org.make.api.technical.crm.SendMessages) => scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
359
|
7391
|
13902
-
13915
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
360
|
6916
|
13819
-
16440
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultSendMailPublisherServiceComponent.this.persistentCrmUserService.getActiveConsultationUsers(question.slug, country).flatMap[Unit](((users: List[org.make.api.technical.crm.PersistentCrmUser]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])](users.groupBy[org.make.core.reference.Language](((x$18: org.make.api.technical.crm.PersistentCrmUser) => x$18.favoriteLanguage.fold[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))(((x$19: String) => org.make.core.reference.Language.apply(x$19))))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((x0$1: (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])) => x0$1 match {
case (_1: org.make.core.reference.Language, _2: List[org.make.api.technical.crm.PersistentCrmUser]): (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])((language @ _), (users @ _)) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](question.questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((template: org.make.core.crmTemplate.TemplateId) => {
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(template.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
cats.implicits.toFoldableOps[List, org.make.api.technical.crm.SendMessages](users.sliding(DefaultSendMailPublisherService.this.MailjetMaximumBatchSize, DefaultSendMailPublisherService.this.MailjetMaximumBatchSize).map[org.make.api.technical.crm.SendMessages](((batch: List[org.make.api.technical.crm.PersistentCrmUser]) => SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((messages: org.make.api.technical.crm.SendMessages) => scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
360
|
7847
|
13964
-
13964
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
362
|
7161
|
14057
-
14109
|
Apply
|
scala.Option.fold
|
|
x$18.favoriteLanguage.fold[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))(((x$19: String) => org.make.core.reference.Language.apply(x$19)))
|
|
362
|
5743
|
14097
-
14108
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$19)
|
|
362
|
6594
|
14081
-
14095
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply("fr")
|
|
363
|
6315
|
14008
-
14152
|
Select
|
scala.collection.IterableOnceOps.toList
|
|
users.groupBy[org.make.core.reference.Language](((x$18: org.make.api.technical.crm.PersistentCrmUser) => x$18.favoriteLanguage.fold[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))(((x$19: String) => org.make.core.reference.Language.apply(x$19))))).toList
|
|
363
|
5895
|
14146
-
14146
|
Select
|
cats.instances.ListInstances.catsStdInstancesForList
|
|
cats.implicits.catsStdInstancesForList
|
|
364
|
7616
|
14197
-
14197
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
364
|
6392
|
14008
-
16407
|
ApplyToImplicitArgs
|
cats.Foldable.Ops.traverse_
|
|
cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])](users.groupBy[org.make.core.reference.Language](((x$18: org.make.api.technical.crm.PersistentCrmUser) => x$18.favoriteLanguage.fold[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))(((x$19: String) => org.make.core.reference.Language.apply(x$19))))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((x0$1: (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])) => x0$1 match {
case (_1: org.make.core.reference.Language, _2: List[org.make.api.technical.crm.PersistentCrmUser]): (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])((language @ _), (users @ _)) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](question.questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((template: org.make.core.crmTemplate.TemplateId) => {
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(template.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
cats.implicits.toFoldableOps[List, org.make.api.technical.crm.SendMessages](users.sliding(DefaultSendMailPublisherService.this.MailjetMaximumBatchSize, DefaultSendMailPublisherService.this.MailjetMaximumBatchSize).map[org.make.api.technical.crm.SendMessages](((batch: List[org.make.api.technical.crm.PersistentCrmUser]) => SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((messages: org.make.api.technical.crm.SendMessages) => scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
364
|
6783
|
14197
-
14197
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
367
|
7769
|
14382
-
14407
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](question.questionId)
|
|
367
|
7009
|
14409
-
14423
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.reference.Language](language)
|
|
367
|
6521
|
14300
-
14424
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.find
|
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](question.questionId), scala.Some.apply[org.make.core.reference.Language](language))
|
|
367
|
7220
|
14366
-
14380
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice
|
|
org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice
|
|
367
|
6454
|
14387
-
14406
|
Select
|
org.make.core.question.Question.questionId
|
|
question.questionId
|
|
368
|
5704
|
14479
-
14479
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
369
|
7102
|
14593
-
14593
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
369
|
6215
|
14300
-
16370
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](question.questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((template: org.make.core.crmTemplate.TemplateId) => {
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(template.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
cats.implicits.toFoldableOps[List, org.make.api.technical.crm.SendMessages](users.sliding(DefaultSendMailPublisherService.this.MailjetMaximumBatchSize, DefaultSendMailPublisherService.this.MailjetMaximumBatchSize).map[org.make.api.technical.crm.SendMessages](((batch: List[org.make.api.technical.crm.PersistentCrmUser]) => SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((messages: org.make.api.technical.crm.SendMessages) => scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
371
|
7163
|
14710
-
14783
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.makeVoteOnlyVariables
|
|
DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language)
|
|
372
|
6938
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$12
|
|
MailjetGlobalsVariables.apply$default$12
|
|
372
|
6507
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$1
|
|
MailjetGlobalsVariables.apply$default$1
|
|
372
|
7200
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$8
|
|
MailjetGlobalsVariables.apply$default$8
|
|
372
|
5711
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$2
|
|
MailjetGlobalsVariables.apply$default$2
|
|
372
|
6590
|
14849
-
15173
|
Apply
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply
|
|
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
|
|
372
|
5887
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$5
|
|
MailjetGlobalsVariables.apply$default$5
|
|
372
|
7783
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$10
|
|
MailjetGlobalsVariables.apply$default$10
|
|
372
|
6428
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$9
|
|
MailjetGlobalsVariables.apply$default$9
|
|
372
|
7046
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$3
|
|
MailjetGlobalsVariables.apply$default$3
|
|
372
|
6253
|
14849
-
14849
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$4
|
|
MailjetGlobalsVariables.apply$default$4
|
|
373
|
7225
|
14931
-
14957
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(template.value).toInt)
|
|
373
|
5855
|
14936
-
14956
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(template.value).toInt
|
|
373
|
6278
|
14936
-
14950
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
template.value
|
|
374
|
6421
|
15015
-
15030
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Map[String,String]](variables)
|
|
375
|
7774
|
15102
-
15128
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
375
|
6954
|
15097
-
15129
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
378
|
5673
|
15275
-
15298
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.MailjetMaximumBatchSize
|
|
DefaultSendMailPublisherService.this.MailjetMaximumBatchSize
|
|
378
|
7049
|
15300
-
15323
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.MailjetMaximumBatchSize
|
|
DefaultSendMailPublisherService.this.MailjetMaximumBatchSize
|
|
380
|
7139
|
15431
-
16118
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None)
|
|
381
|
7697
|
15555
-
15562
|
Select
|
org.make.api.technical.crm.PersistentCrmUser.email
|
|
x$20.email
|
|
381
|
7299
|
15528
-
15563
|
Apply
|
scala.Option.fold
|
|
batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))
|
|
381
|
6258
|
15550
-
15553
|
Literal
|
<nosymbol>
|
|
"-"
|
|
381
|
6350
|
15498
-
15564
|
Apply
|
org.make.api.technical.security.SecurityHelper.anonymizeEmail
|
|
org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email)))
|
|
382
|
7741
|
15624
-
15646
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables)
|
|
383
|
6147
|
15707
-
16002
|
Apply
|
scala.collection.immutable.List.map
|
|
batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
}))
|
|
386
|
7745
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
386
|
7820
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
386
|
7138
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$7
|
|
SendEmail.create$default$7
|
|
386
|
5777
|
15933
-
15949
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](c.fullName)
|
|
386
|
5708
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$6
|
|
SendEmail.create$default$6
|
|
386
|
7263
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
386
|
6228
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
386
|
6186
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
386
|
6978
|
15825
-
15952
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
|
|
386
|
7663
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
386
|
6975
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
386
|
6218
|
15914
-
15950
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3)
|
|
386
|
6424
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$12
|
|
SendEmail.create$default$12
|
|
386
|
7052
|
15914
-
15914
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
386
|
6418
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
386
|
7701
|
15910
-
15951
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3))
|
|
386
|
7270
|
15890
-
15890
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$11
|
|
SendEmail.create$default$11
|
|
386
|
6549
|
15938
-
15948
|
Select
|
org.make.api.technical.crm.PersistentCrmUser.fullName
|
|
c.fullName
|
|
386
|
7007
|
15924
-
15931
|
Select
|
org.make.api.technical.crm.PersistentCrmUser.email
|
|
c.email
|
|
388
|
5670
|
16066
-
16070
|
Select
|
scala.None
|
|
scala.None
|
|
391
|
7670
|
16211
-
16211
|
Select
|
cats.instances.ListInstances.catsStdInstancesForList
|
|
cats.implicits.catsStdInstancesForList
|
|
391
|
6210
|
15216
-
16217
|
Select
|
scala.collection.IterableOnceOps.toList
|
|
users.sliding(DefaultSendMailPublisherService.this.MailjetMaximumBatchSize, DefaultSendMailPublisherService.this.MailjetMaximumBatchSize).map[org.make.api.technical.crm.SendMessages](((batch: List[org.make.api.technical.crm.PersistentCrmUser]) => SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None))).toList
|
|
392
|
6910
|
16272
-
16272
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
392
|
5675
|
15216
-
16327
|
ApplyToImplicitArgs
|
cats.Foldable.Ops.traverse_
|
|
cats.implicits.toFoldableOps[List, org.make.api.technical.crm.SendMessages](users.sliding(DefaultSendMailPublisherService.this.MailjetMaximumBatchSize, DefaultSendMailPublisherService.this.MailjetMaximumBatchSize).map[org.make.api.technical.crm.SendMessages](((batch: List[org.make.api.technical.crm.PersistentCrmUser]) => SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((messages: org.make.api.technical.crm.SendMessages) => scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
392
|
6153
|
16272
-
16272
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
392
|
7203
|
16292
-
16325
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages)
|
|
392
|
6382
|
16291
-
16291
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
392
|
7823
|
16285
-
16326
|
ApplyToImplicitArgs
|
scala.concurrent.Future.apply
|
|
scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
399
|
6145
|
16514
-
16514
|
TypeApply
|
scala.<:<.refl
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.this.<:<.refl[scala.concurrent.Future[Unit]]
|
|
399
|
5753
|
13051
-
16521
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatten
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsSyntaxTuple2Semigroupal[scala.concurrent.Future, org.make.core.question.Question, org.make.core.operation.OperationOfQuestion](scala.Tuple2.apply[scala.concurrent.Future[org.make.core.question.Question], scala.concurrent.Future[org.make.core.operation.OperationOfQuestion]](org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global), org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("Could not find operation for question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global))).mapN[scala.concurrent.Future[Unit]](((question: org.make.core.question.Question, opQuestion: org.make.core.operation.OperationOfQuestion) => org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.Operation](DefaultSendMailPublisherServiceComponent.this.operationService.findOne(opQuestion.operationId)).flattenOrFail(("Couldn\'t find operation ".+(opQuestion.operationId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operation: org.make.core.operation.Operation) => cats.implicits.toFoldableOps[cats.data.NonEmptyList, org.make.core.reference.Country](question.countries)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).traverse_[scala.concurrent.Future, Unit](((country: org.make.core.reference.Country) => DefaultSendMailPublisherServiceComponent.this.persistentCrmUserService.getActiveConsultationUsers(question.slug, country).flatMap[Unit](((users: List[org.make.api.technical.crm.PersistentCrmUser]) => cats.implicits.toFoldableOps[List, (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])](users.groupBy[org.make.core.reference.Language](((x$18: org.make.api.technical.crm.PersistentCrmUser) => x$18.favoriteLanguage.fold[org.make.core.reference.Language](org.make.core.reference.Language.apply("fr"))(((x$19: String) => org.make.core.reference.Language.apply(x$19))))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((x0$1: (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])) => x0$1 match {
case (_1: org.make.core.reference.Language, _2: List[org.make.api.technical.crm.PersistentCrmUser]): (org.make.core.reference.Language, List[org.make.api.technical.crm.PersistentCrmUser])((language @ _), (users @ _)) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](question.questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((template: org.make.core.crmTemplate.TemplateId) => {
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(template.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
cats.implicits.toFoldableOps[List, org.make.api.technical.crm.SendMessages](users.sliding(DefaultSendMailPublisherService.this.MailjetMaximumBatchSize, DefaultSendMailPublisherService.this.MailjetMaximumBatchSize).map[org.make.api.technical.crm.SendMessages](((batch: List[org.make.api.technical.crm.PersistentCrmUser]) => SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), batch.map[org.make.api.technical.crm.SendEmail](((c: org.make.api.technical.crm.PersistentCrmUser) => {
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})), scala.None))).toList)(cats.implicits.catsStdInstancesForList).traverse_[scala.concurrent.Future, Unit](((messages: org.make.api.technical.crm.SendMessages) => scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
}))(scala.concurrent.ExecutionContext.Implicits.global)
}))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).flatten[Unit](scala.this.<:<.refl[scala.concurrent.Future[Unit]])
|
|
403
|
7165
|
16628
-
16662
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
|
context.questionContext.questionId
|
|
404
|
7665
|
16692
-
16742
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new scala.`package`.Exception("QuestionId missing"))
|
|
404
|
6325
|
16706
-
16741
|
Apply
|
java.lang.Exception.<init>
|
|
new scala.`package`.Exception("QuestionId missing")
|
|
406
|
6867
|
16786
-
17189
|
Apply
|
scala.Tuple3.apply
|
|
scala.Tuple3.apply[scala.concurrent.Future[org.make.core.user.User], scala.concurrent.Future[org.make.core.question.Question], scala.concurrent.Future[org.make.core.operation.OperationOfQuestion]](org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(userId)).flattenOrFail(("Could not find user ".+(userId): String))(scala.concurrent.ExecutionContext.Implicits.global), org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global), org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("Could not find operation for question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global))
|
|
407
|
6462
|
16841
-
16841
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
407
|
7853
|
16800
-
16873
|
ApplyToImplicitArgs
|
org.make.api.technical.Futures.FutureOfOption.flattenOrFail
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(userId)).flattenOrFail(("Could not find user ".+(userId): String))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
407
|
6859
|
16800
-
16827
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(userId)
|
|
409
|
7023
|
16887
-
16941
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
410
|
6151
|
16970
-
16970
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
410
|
7565
|
16887
-
17010
|
ApplyToImplicitArgs
|
org.make.api.technical.Futures.FutureOfOption.flattenOrFail
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
412
|
7097
|
17024
-
17094
|
Apply
|
org.make.api.operation.OperationOfQuestionService.findByQuestionId
|
|
DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)
|
|
413
|
7634
|
17024
-
17177
|
ApplyToImplicitArgs
|
org.make.api.technical.Futures.FutureOfOption.flattenOrFail
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("Could not find operation for question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
413
|
6331
|
17123
-
17123
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
414
|
6929
|
17194
-
17194
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
414
|
7589
|
16786
-
18982
|
ApplyToImplicitArgs
|
cats.syntax.Tuple3SemigroupalOps.mapN
|
|
cats.implicits.catsSyntaxTuple3Semigroupal[scala.concurrent.Future, org.make.core.user.User, org.make.core.question.Question, org.make.core.operation.OperationOfQuestion](scala.Tuple3.apply[scala.concurrent.Future[org.make.core.user.User], scala.concurrent.Future[org.make.core.question.Question], scala.concurrent.Future[org.make.core.operation.OperationOfQuestion]](org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(userId)).flattenOrFail(("Could not find user ".+(userId): String))(scala.concurrent.ExecutionContext.Implicits.global), org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Could not find question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global), org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("Could not find operation for question ".+(questionId): String))(scala.concurrent.ExecutionContext.Implicits.global))).mapN[Unit](((user: org.make.core.user.User, question: org.make.core.question.Question, opQuestion: org.make.core.operation.OperationOfQuestion) => {
org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.Operation](DefaultSendMailPublisherServiceComponent.this.operationService.findOne(opQuestion.operationId)).flattenOrFail(("Couldn\'t find operation ".+(opQuestion.operationId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operation: org.make.core.operation.Operation) => cats.implicits.toFoldableOps[cats.data.NonEmptyList, org.make.core.reference.Language](question.languages)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).traverse_[scala.concurrent.Future, Unit](((language: org.make.core.reference.Language) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val country: org.make.core.reference.Country = question.countries.head;
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), scala.`package`.List.apply[org.make.api.technical.crm.SendEmail]({
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
}), scala.None)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(scala.concurrent.ExecutionContext.Implicits.global);
()
}))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global), cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
414
|
6054
|
17194
-
17194
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
414
|
6158
|
17194
-
17194
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
414
|
7342
|
17194
-
17194
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
417
|
7790
|
17291
-
17356
|
Apply
|
org.make.api.operation.OperationService.findOne
|
|
DefaultSendMailPublisherServiceComponent.this.operationService.findOne(opQuestion.operationId)
|
|
417
|
6351
|
17333
-
17355
|
Select
|
org.make.core.operation.OperationOfQuestion.operationId
|
|
opQuestion.operationId
|
|
418
|
7029
|
17387
-
17387
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
419
|
7675
|
17291
-
18970
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.Operation](DefaultSendMailPublisherServiceComponent.this.operationService.findOne(opQuestion.operationId)).flattenOrFail(("Couldn\'t find operation ".+(opQuestion.operationId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operation: org.make.core.operation.Operation) => cats.implicits.toFoldableOps[cats.data.NonEmptyList, org.make.core.reference.Language](question.languages)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).traverse_[scala.concurrent.Future, Unit](((language: org.make.core.reference.Language) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val country: org.make.core.reference.Country = question.countries.head;
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), scala.`package`.List.apply[org.make.api.technical.crm.SendEmail]({
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
}), scala.None)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
419
|
6897
|
17466
-
17466
|
Literal
|
<nosymbol>
|
|
()
|
|
419
|
6235
|
17466
-
17466
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
420
|
6109
|
17500
-
17518
|
Select
|
org.make.core.question.Question.languages
|
|
question.languages
|
|
420
|
7570
|
17509
-
17509
|
Select
|
cats.data.NonEmptyListInstances.catsDataInstancesForNonEmptyListBinCompat1
|
|
data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1
|
|
420
|
6640
|
17500
-
18951
|
ApplyToImplicitArgs
|
cats.Foldable.Ops.traverse_
|
|
cats.implicits.toFoldableOps[cats.data.NonEmptyList, org.make.core.reference.Language](question.languages)(data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1).traverse_[scala.concurrent.Future, Unit](((language: org.make.core.reference.Language) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val country: org.make.core.reference.Country = question.countries.head;
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), scala.`package`.List.apply[org.make.api.technical.crm.SendEmail]({
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
}), scala.None)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
420
|
7507
|
17528
-
17528
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
420
|
6191
|
17528
-
17528
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
423
|
6821
|
17584
-
17683
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.find
|
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](questionId), scala.Some.apply[org.make.core.reference.Language](language))
|
|
423
|
7105
|
17634
-
17648
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice
|
|
org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice
|
|
423
|
6263
|
17650
-
17666
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
423
|
7638
|
17668
-
17682
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.reference.Language](language)
|
|
424
|
5976
|
17722
-
17722
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
425
|
6925
|
17584
-
18931
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice, scala.Some.apply[org.make.core.question.QuestionId](questionId), scala.Some.apply[org.make.core.reference.Language](language))).flattenOrFail(("Template ".+(org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice.entryName).+(" for ").+(language).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val country: org.make.core.reference.Country = question.countries.head;
val variables: Map[String,String] = DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language);
val mailjetVariables: org.make.api.technical.crm.MailjetGlobalsVariables = {
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables);
<artifact> val x$3: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$8;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$10;
<artifact> val x$12: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = MailjetGlobalsVariables.apply$default$12;
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
};
scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), scala.`package`.List.apply[org.make.api.technical.crm.SendEmail]({
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
}), scala.None)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
425
|
7337
|
17820
-
17820
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
426
|
7796
|
17877
-
17900
|
Select
|
cats.data.NonEmptyList.head
|
|
question.countries.head
|
|
427
|
7013
|
17943
-
18016
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.makeVoteOnlyVariables
|
|
DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language)
|
|
428
|
5942
|
18066
-
18328
|
Apply
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply
|
|
MailjetGlobalsVariables.apply(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$9, x$10, x$11, x$3, x$12)
|
|
428
|
6190
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$4
|
|
MailjetGlobalsVariables.apply$default$4
|
|
428
|
6297
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$9
|
|
MailjetGlobalsVariables.apply$default$9
|
|
428
|
6862
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$12
|
|
MailjetGlobalsVariables.apply$default$12
|
|
428
|
7756
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$2
|
|
MailjetGlobalsVariables.apply$default$2
|
|
428
|
7065
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$8
|
|
MailjetGlobalsVariables.apply$default$8
|
|
428
|
7714
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$10
|
|
MailjetGlobalsVariables.apply$default$10
|
|
428
|
7468
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$5
|
|
MailjetGlobalsVariables.apply$default$5
|
|
428
|
7019
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$3
|
|
MailjetGlobalsVariables.apply$default$3
|
|
428
|
5981
|
18066
-
18066
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$1
|
|
MailjetGlobalsVariables.apply$default$1
|
|
429
|
6115
|
18137
-
18153
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
429
|
7466
|
18137
-
18159
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
429
|
7059
|
18132
-
18160
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
430
|
6266
|
18202
-
18217
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Map[String,String]](variables)
|
|
431
|
7709
|
18273
-
18299
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
431
|
6828
|
18268
-
18300
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
433
|
6790
|
18362
-
18362
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
433
|
6020
|
18355
-
18904
|
ApplyToImplicitArgs
|
scala.concurrent.Future.apply
|
|
scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), scala.`package`.List.apply[org.make.api.technical.crm.SendEmail]({
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
}), scala.None)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
434
|
7712
|
18392
-
18876
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), scala.`package`.List.apply[org.make.api.technical.crm.SendEmail]({
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
}), scala.None))
|
|
435
|
6230
|
18447
-
18846
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply(org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email), scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables), scala.`package`.List.apply[org.make.api.technical.crm.SendEmail]({
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
}), scala.None)
|
|
436
|
7761
|
18528
-
18538
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
436
|
6983
|
18498
-
18539
|
Apply
|
org.make.api.technical.security.SecurityHelper.anonymizeEmail
|
|
org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email)
|
|
437
|
6193
|
18583
-
18605
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables)
|
|
439
|
6301
|
18723
-
18723
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
439
|
6818
|
18719
-
18760
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3))
|
|
439
|
6964
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
439
|
6085
|
18689
-
18761
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
|
|
439
|
7541
|
18684
-
18762
|
Apply
|
scala.collection.IterableFactory.apply
|
|
scala.`package`.List.apply[org.make.api.technical.crm.SendEmail]({
<artifact> val x$13: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$14: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$16: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$17: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$18: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$19: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$6;
<artifact> val x$20: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$7;
<artifact> val x$21: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$23: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$25: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$13, x$21, x$22, x$23, x$24, x$25)
})
|
|
439
|
7828
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
439
|
6826
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
439
|
7750
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$12
|
|
SendEmail.create$default$12
|
|
439
|
7535
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
439
|
6111
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
439
|
6715
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$6
|
|
SendEmail.create$default$6
|
|
439
|
7687
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
439
|
7567
|
18733
-
18743
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
439
|
6287
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$7
|
|
SendEmail.create$default$7
|
|
439
|
6014
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$11
|
|
SendEmail.create$default$11
|
|
439
|
6642
|
18745
-
18758
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
439
|
6035
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
439
|
7677
|
18723
-
18759
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
439
|
6989
|
18699
-
18699
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
440
|
6636
|
18810
-
18814
|
Select
|
scala.None
|
|
scala.None
|
|
451
|
6745
|
19114
-
19155
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
453
|
5809
|
19163
-
19185
|
Select
|
org.make.core.user.User.verificationToken
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.verificationToken
|
|
455
|
6871
|
19312
-
19325
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$21.crmLanguage
|
|
455
|
6012
|
19295
-
19326
|
Apply
|
scala.Option.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.profile.map[org.make.core.reference.Language](((x$21: org.make.core.profile.Profile) => x$21.crmLanguage))
|
|
455
|
7680
|
19269
-
19281
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.Registration
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.Registration
|
|
455
|
7405
|
19336
-
19336
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
455
|
6612
|
19244
-
20771
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.Registration, questionId, user.profile.map[org.make.core.reference.Language](((x$21: org.make.core.profile.Profile) => x$21.crmLanguage))).flatMap[Unit](((x0$1: Option[org.make.core.crmTemplate.TemplateId]) => x0$1 match {
case (value: org.make.core.crmTemplate.TemplateId): Some[org.make.core.crmTemplate.TemplateId]((templateId @ _)) => DefaultSendMailPublisherServiceComponent.this.getUtmCampaignFromQuestionId(questionId).map[Unit](((utmCampaign: String) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)
case scala.None => scala.concurrent.Future.unit
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
457
|
6833
|
19389
-
20722
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultSendMailPublisherServiceComponent.this.getUtmCampaignFromQuestionId(questionId).map[Unit](((utmCampaign: String) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
457
|
7191
|
19434
-
19434
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
458
|
5911
|
19467
-
20706
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))
|
|
459
|
6722
|
19510
-
20688
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
})
|
|
460
|
6606
|
19554
-
19554
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
460
|
7575
|
19544
-
20668
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
|
|
460
|
5906
|
19554
-
19554
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
460
|
7440
|
19554
-
19554
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
460
|
6689
|
19554
-
19554
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
460
|
6874
|
19554
-
19554
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
460
|
7188
|
19554
-
19554
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
460
|
6119
|
19554
-
19554
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
460
|
5954
|
19554
-
19554
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
461
|
6166
|
19597
-
19625
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
461
|
7346
|
19602
-
19618
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
461
|
6962
|
19602
-
19624
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
462
|
7497
|
19684
-
19694
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
462
|
6703
|
19703
-
19716
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
462
|
6876
|
19662
-
19718
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3))
|
|
462
|
5814
|
19666
-
19666
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
462
|
7644
|
19666
-
19717
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
463
|
7434
|
19754
-
20524
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))))
|
|
464
|
5991
|
19784
-
20500
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String]("")))
|
|
465
|
6016
|
19815
-
19826
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
465
|
6966
|
19815
-
19858
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
465
|
7381
|
19830
-
19858
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
466
|
6704
|
19886
-
20129
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))
|
|
466
|
6123
|
19886
-
19908
|
Literal
|
<nosymbol>
|
|
"email_validation_url"
|
|
466
|
7504
|
19912
-
20129
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getAccountValidationUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)
|
|
472
|
7648
|
20172
-
20225
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String]("")
|
|
472
|
5802
|
20157
-
20168
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
472
|
6771
|
20157
-
20225
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String](""))
|
|
473
|
6492
|
20253
-
20320
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String](""))
|
|
473
|
7382
|
20267
-
20320
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.questionContext.question.getOrElse[String]("")
|
|
473
|
5985
|
20253
-
20263
|
Literal
|
<nosymbol>
|
|
"question"
|
|
474
|
6683
|
20348
-
20399
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String](""))
|
|
474
|
6130
|
20348
-
20358
|
Literal
|
<nosymbol>
|
|
"location"
|
|
474
|
7508
|
20362
-
20399
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.location.getOrElse[String]("")
|
|
475
|
6773
|
20427
-
20474
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))
|
|
475
|
5806
|
20427
-
20435
|
Literal
|
<nosymbol>
|
|
"source"
|
|
475
|
7719
|
20439
-
20474
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.source.getOrElse[String]("")
|
|
478
|
6496
|
20565
-
20569
|
Select
|
scala.None
|
|
scala.None
|
|
479
|
7476
|
20614
-
20646
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
479
|
6112
|
20619
-
20645
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
484
|
6041
|
20748
-
20759
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
487
|
7548
|
20800
-
20943
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("verification token required but not provided for user ".+(user.userId.value): String)))
|
|
488
|
6128
|
20827
-
20931
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("verification token required but not provided for user ".+(user.userId.value): String))
|
|
494
|
6682
|
21078
-
21119
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
|
requestContext.questionContext.questionId
|
|
496
|
5868
|
21127
-
21149
|
Select
|
org.make.core.user.User.verificationToken
|
|
user.verificationToken
|
|
498
|
5944
|
21265
-
21296
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Language](((x$23: org.make.core.profile.Profile) => x$23.crmLanguage))
|
|
498
|
7284
|
21306
-
21306
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
498
|
7239
|
21233
-
21251
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.ResendRegistration
|
|
org.make.core.crmTemplate.CrmTemplateKind.ResendRegistration
|
|
498
|
6841
|
21282
-
21295
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$23.crmLanguage
|
|
498
|
6439
|
21208
-
22396
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.ResendRegistration, questionId, user.profile.map[org.make.core.reference.Language](((x$23: org.make.core.profile.Profile) => x$23.crmLanguage))).flatMap[Unit](((x0$1: Option[org.make.core.crmTemplate.TemplateId]) => x0$1 match {
case (value: org.make.core.crmTemplate.TemplateId): Some[org.make.core.crmTemplate.TemplateId]((templateId @ _)) => DefaultSendMailPublisherServiceComponent.this.getUtmCampaignFromQuestionId(questionId).map[Unit](((utmCampaign: String) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)
case scala.None => scala.concurrent.Future.unit
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
500
|
6761
|
21359
-
22347
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
DefaultSendMailPublisherServiceComponent.this.getUtmCampaignFromQuestionId(questionId).map[Unit](((utmCampaign: String) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
500
|
7509
|
21404
-
21404
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
501
|
5784
|
21437
-
22331
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))
|
|
502
|
6572
|
21480
-
22313
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
})
|
|
503
|
6064
|
21524
-
21524
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
503
|
5782
|
21524
-
21524
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
503
|
6610
|
21524
-
21524
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
503
|
6658
|
21524
-
21524
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
503
|
7313
|
21524
-
21524
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
503
|
5865
|
21524
-
21524
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
503
|
6433
|
21524
-
21524
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
503
|
7357
|
21514
-
22293
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
|
|
503
|
7593
|
21524
-
21524
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
504
|
7371
|
21572
-
21588
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
504
|
6619
|
21572
-
21594
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
504
|
5725
|
21567
-
21595
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
505
|
7553
|
21654
-
21664
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
505
|
6649
|
21673
-
21686
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
505
|
7244
|
21636
-
21687
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
505
|
5829
|
21636
-
21636
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
505
|
6801
|
21632
-
21688
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3))
|
|
506
|
7308
|
21724
-
22149
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))))
|
|
507
|
5830
|
21754
-
22125
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)))
|
|
508
|
7347
|
21800
-
21828
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
508
|
5950
|
21785
-
21796
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
508
|
6603
|
21785
-
21828
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
509
|
7592
|
21882
-
22099
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getAccountValidationUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)
|
|
509
|
6653
|
21856
-
22099
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))
|
|
509
|
5731
|
21856
-
21878
|
Literal
|
<nosymbol>
|
|
"email_validation_url"
|
|
517
|
6805
|
22190
-
22194
|
Select
|
scala.None
|
|
scala.None
|
|
518
|
6059
|
22244
-
22270
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
518
|
7354
|
22239
-
22271
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
523
|
5871
|
22373
-
22384
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
526
|
7386
|
22425
-
22568
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("verification token required but not provided for user ".+(user.userId.value): String)))
|
|
527
|
6026
|
22452
-
22556
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("verification token required but not provided for user ".+(user.userId.value): String))
|
|
533
|
6577
|
22711
-
22752
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
535
|
5684
|
22760
-
22775
|
Select
|
org.make.core.user.User.resetToken
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.resetToken
|
|
538
|
7152
|
22865
-
22882
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.ForgottenPassword
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.ForgottenPassword
|
|
538
|
6709
|
22913
-
22926
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$24.crmLanguage
|
|
538
|
5844
|
22896
-
22927
|
Apply
|
scala.Option.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.profile.map[org.make.core.reference.Language](((x$24: org.make.core.profile.Profile) => x$24.crmLanguage))
|
|
539
|
7256
|
22827
-
24164
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.ForgottenPassword, questionId, user.profile.map[org.make.core.reference.Language](((x$24: org.make.core.profile.Profile) => x$24.crmLanguage))).map[Unit](((x$25: Option[org.make.core.crmTemplate.TemplateId]) => x$25.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
539
|
5832
|
22945
-
22945
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
539
|
6271
|
22946
-
24163
|
Apply
|
scala.Option.foreach
|
|
x$25.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))
|
|
540
|
7119
|
22986
-
24149
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))
|
|
541
|
5738
|
23027
-
24133
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
})
|
|
542
|
7419
|
23069
-
23069
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
542
|
7114
|
23069
-
23069
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
542
|
7804
|
23069
-
23069
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
542
|
6730
|
23069
-
23069
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
542
|
6542
|
23059
-
24115
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
|
|
542
|
5769
|
23069
-
23069
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
542
|
6472
|
23069
-
23069
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
542
|
5793
|
23069
-
23069
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
542
|
7249
|
23069
-
23069
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
543
|
7290
|
23115
-
23131
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
543
|
6446
|
23115
-
23137
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
543
|
5996
|
23110
-
23138
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
544
|
6752
|
23173
-
23229
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3))
|
|
544
|
7350
|
23195
-
23205
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
544
|
7157
|
23177
-
23228
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
544
|
6541
|
23214
-
23227
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
544
|
5688
|
23177
-
23177
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
545
|
6468
|
23263
-
23977
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))))
|
|
546
|
7286
|
23291
-
23955
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String]("")))
|
|
547
|
7252
|
23335
-
23363
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
547
|
6405
|
23320
-
23363
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
547
|
5817
|
23320
-
23331
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
548
|
6003
|
23389
-
23413
|
Literal
|
<nosymbol>
|
|
"forgotten_password_url"
|
|
548
|
6502
|
23417
-
23594
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getForgottenPasswordUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName)
|
|
548
|
5694
|
23389
-
23594
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName))
|
|
551
|
7446
|
23538
-
23568
|
Select
|
org.make.core.RequestContext.applicationName
|
|
requestContext.applicationName
|
|
553
|
7123
|
23620
-
23631
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
553
|
6758
|
23635
-
23688
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String]("")
|
|
553
|
5919
|
23620
-
23688
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String](""))
|
|
554
|
6411
|
23728
-
23781
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.questionContext.question.getOrElse[String]("")
|
|
554
|
7281
|
23714
-
23724
|
Literal
|
<nosymbol>
|
|
"question"
|
|
554
|
7863
|
23714
-
23781
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String](""))
|
|
555
|
6620
|
23821
-
23858
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.location.getOrElse[String]("")
|
|
555
|
7457
|
23807
-
23817
|
Literal
|
<nosymbol>
|
|
"location"
|
|
555
|
5767
|
23807
-
23858
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String](""))
|
|
556
|
5927
|
23884
-
23931
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))
|
|
556
|
7130
|
23884
-
23892
|
Literal
|
<nosymbol>
|
|
"source"
|
|
556
|
6726
|
23896
-
23931
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.source.getOrElse[String]("")
|
|
559
|
7869
|
24016
-
24020
|
Select
|
scala.None
|
|
scala.None
|
|
560
|
6539
|
24063
-
24095
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
560
|
7415
|
24068
-
24094
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
566
|
7810
|
24193
-
24329
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("reset token required but not provided for user ".+(user.userId.value): String)))
|
|
567
|
6365
|
24220
-
24317
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("reset token required but not provided for user ".+(user.userId.value): String))
|
|
576
|
7376
|
24510
-
24551
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
578
|
6516
|
24559
-
24582
|
Select
|
org.make.core.user.User.resetToken
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
organisation.resetToken
|
|
581
|
6274
|
24706
-
24745
|
Apply
|
scala.Option.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
organisation.profile.map[org.make.core.reference.Language](((x$27: org.make.core.profile.Profile) => x$27.crmLanguage))
|
|
581
|
7075
|
24731
-
24744
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$27.crmLanguage
|
|
581
|
5744
|
24672
-
24692
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BForgottenPassword
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.B2BForgottenPassword
|
|
582
|
6934
|
24764
-
25936
|
Apply
|
scala.Option.foreach
|
|
x$28.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(organisation.email, organisation.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))
|
|
582
|
6505
|
24763
-
24763
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
582
|
5709
|
24634
-
25937
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.B2BForgottenPassword, questionId, organisation.profile.map[org.make.core.reference.Language](((x$27: org.make.core.profile.Profile) => x$27.crmLanguage))).map[Unit](((x$28: Option[org.make.core.crmTemplate.TemplateId]) => x$28.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(organisation.email, organisation.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
583
|
7772
|
24804
-
25922
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(organisation.email, organisation.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))
|
|
584
|
6422
|
24845
-
25906
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(organisation.email, organisation.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
})
|
|
585
|
6552
|
24887
-
24887
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
585
|
7162
|
24887
-
24887
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
585
|
7703
|
24887
-
24887
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
585
|
6455
|
24887
-
24887
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
585
|
7008
|
24887
-
24887
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
585
|
5701
|
24887
-
24887
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
585
|
7226
|
24877
-
25888
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
|
|
585
|
6248
|
24887
-
24887
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
585
|
7767
|
24887
-
24887
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
586
|
6369
|
24928
-
24956
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
586
|
7224
|
24933
-
24955
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
586
|
5923
|
24933
-
24949
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
587
|
5705
|
24995
-
25062
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(organisation.email, organisation.fullName, Recipient.apply$default$3)
|
|
587
|
6623
|
24995
-
24995
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
587
|
7036
|
25040
-
25061
|
Select
|
org.make.core.user.User.fullName
|
|
organisation.fullName
|
|
587
|
7080
|
24991
-
25063
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(organisation.email, organisation.fullName, Recipient.apply$default$3))
|
|
587
|
7814
|
25013
-
25031
|
Select
|
org.make.core.user.User.email
|
|
organisation.email
|
|
588
|
7160
|
25097
-
25750
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))))
|
|
589
|
5695
|
25125
-
25728
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName)), scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String]("")))
|
|
590
|
6281
|
25154
-
25178
|
Literal
|
<nosymbol>
|
|
"forgotten_password_url"
|
|
590
|
7322
|
25182
-
25367
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getForgottenPasswordUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName)
|
|
590
|
6346
|
25154
-
25367
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName))
|
|
593
|
5878
|
25311
-
25341
|
Select
|
org.make.core.RequestContext.applicationName
|
|
requestContext.applicationName
|
|
595
|
7042
|
25408
-
25461
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String]("")
|
|
595
|
6583
|
25393
-
25461
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation").->[String](requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String](""))
|
|
595
|
7776
|
25393
-
25404
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
596
|
7089
|
25501
-
25554
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.questionContext.question.getOrElse[String]("")
|
|
596
|
5734
|
25487
-
25497
|
Literal
|
<nosymbol>
|
|
"question"
|
|
596
|
6308
|
25487
-
25554
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String](""))
|
|
597
|
5888
|
25580
-
25590
|
Literal
|
<nosymbol>
|
|
"location"
|
|
597
|
7295
|
25594
-
25631
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.location.getOrElse[String]("")
|
|
597
|
6451
|
25580
-
25631
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String](""))
|
|
598
|
7784
|
25657
-
25665
|
Literal
|
<nosymbol>
|
|
"source"
|
|
598
|
7003
|
25669
-
25704
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.source.getOrElse[String]("")
|
|
598
|
6592
|
25657
-
25704
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))
|
|
601
|
6316
|
25789
-
25793
|
Select
|
scala.None
|
|
scala.None
|
|
602
|
7698
|
25841
-
25867
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
602
|
7219
|
25836
-
25868
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
608
|
6251
|
25966
-
26146
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("reset token required but not provided for organisation ".+(organisation.userId.value): String)))
|
|
609
|
7045
|
25993
-
26134
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("reset token required but not provided for organisation ".+(organisation.userId.value): String))
|
|
617
|
7613
|
26302
-
26343
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
620
|
7201
|
26385
-
26400
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BEmailChanged
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.B2BEmailChanged
|
|
620
|
6426
|
26431
-
26444
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$30.crmLanguage
|
|
620
|
7735
|
26414
-
26445
|
Apply
|
scala.Option.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.profile.map[org.make.core.reference.Language](((x$30: org.make.core.profile.Profile) => x$30.crmLanguage))
|
|
621
|
7298
|
26459
-
26459
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
621
|
6385
|
26351
-
26617
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.B2BEmailChanged, questionId, user.profile.map[org.make.core.reference.Language](((x$30: org.make.core.profile.Profile) => x$30.crmLanguage))).map[Unit](((x$31: Option[org.make.core.crmTemplate.TemplateId]) => x$31.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.account, scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("email").->[String](newEmail))))))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
621
|
7695
|
26460
-
26616
|
Apply
|
scala.Option.foreach
|
|
x$31.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.account, scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("email").->[String](newEmail))))))
|
|
622
|
7048
|
26520
-
26605
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.generateEmail
|
|
DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.account, scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("email").->[String](newEmail)))
|
|
622
|
6204
|
26584
-
26603
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("email").->[String](newEmail)
|
|
622
|
5671
|
26580
-
26604
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("email").->[String](newEmail))
|
|
622
|
6936
|
26552
-
26578
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
622
|
6212
|
26496
-
26606
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(user, templateId, org.make.core.crmTemplate.MonitoringCategory.account, scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("email").->[String](newEmail))))
|
|
633
|
7780
|
26922
-
28658
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.Proposal](DefaultSendMailPublisherServiceComponent.this.proposalCoordinatorService.getProposal(proposalId)).flattenOrFail(("Proposal ".+(proposalId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((proposal: org.make.core.proposal.Proposal) => org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author)).flattenOrFail(("user ".+(proposal.author.value).+(", author of proposal ").+(proposalId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((user: org.make.core.user.User) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.questionId)).flattenOrFail(("proposal ".+(proposal.proposalId).+(" doesn\'t have a question!"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$32: org.make.core.question.QuestionId) => x$32.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$33: org.make.core.question.QuestionId) => x$33.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operationOfQuestion: org.make.core.operation.OperationOfQuestion) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(templateKind.apply(user.userType), scala.Some.apply[org.make.core.question.QuestionId](questionId), user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage)))).flattenOrFail(("no ".+(templateKind).+(" crm template for question ").+(questionId.value).+(" and country ").+(user.country.value): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
633
|
6045
|
26945
-
26945
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
634
|
7738
|
26948
-
27009
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.getProposal
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.proposalCoordinatorService.getProposal(proposalId)
|
|
635
|
6911
|
27034
-
27034
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
636
|
6857
|
27086
-
28658
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author)).flattenOrFail(("user ".+(proposal.author.value).+(", author of proposal ").+(proposalId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((user: org.make.core.user.User) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.questionId)).flattenOrFail(("proposal ".+(proposal.proposalId).+(" doesn\'t have a question!"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$32: org.make.core.question.QuestionId) => x$32.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$33: org.make.core.question.QuestionId) => x$33.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operationOfQuestion: org.make.core.operation.OperationOfQuestion) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(templateKind.apply(user.userType), scala.Some.apply[org.make.core.question.QuestionId](questionId), user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage)))).flattenOrFail(("no ".+(templateKind).+(" crm template for question ").+(questionId.value).+(" and country ").+(user.country.value): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
636
|
7707
|
27091
-
27091
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
637
|
6181
|
27125
-
27140
|
Select
|
org.make.core.proposal.Proposal.author
|
|
proposal.author
|
|
637
|
5776
|
27094
-
27141
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author)
|
|
638
|
7172
|
27166
-
27166
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
639
|
7084
|
27270
-
27270
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
639
|
6322
|
27259
-
28658
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.questionId)).flattenOrFail(("proposal ".+(proposal.proposalId).+(" doesn\'t have a question!"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$32: org.make.core.question.QuestionId) => x$32.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$33: org.make.core.question.QuestionId) => x$33.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operationOfQuestion: org.make.core.operation.OperationOfQuestion) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(templateKind.apply(user.userType), scala.Some.apply[org.make.core.question.QuestionId](questionId), user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage)))).flattenOrFail(("no ".+(templateKind).+(" crm template for question ").+(questionId.value).+(" and country ").+(user.country.value): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
640
|
6219
|
27302
-
27321
|
Select
|
org.make.core.proposal.Proposal.questionId
|
|
proposal.questionId
|
|
640
|
7702
|
27273
-
27322
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.questionId)
|
|
641
|
6887
|
27347
-
27347
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
642
|
7582
|
27417
-
28658
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$32: org.make.core.question.QuestionId) => x$32.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$33: org.make.core.question.QuestionId) => x$33.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operationOfQuestion: org.make.core.operation.OperationOfQuestion) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(templateKind.apply(user.userType), scala.Some.apply[org.make.core.question.QuestionId](questionId), user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage)))).flattenOrFail(("no ".+(templateKind).+(" crm template for question ").+(questionId.value).+(" and country ").+(user.country.value): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
642
|
6143
|
27426
-
27426
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
643
|
6416
|
27429
-
27479
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
644
|
7848
|
27504
-
27504
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
647
|
7849
|
27665
-
27665
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
647
|
7014
|
27645
-
28658
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.operation.OperationOfQuestion](DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)).flattenOrFail(("question ".+(proposal.questionId.fold[String]("\'\'")(((x$33: org.make.core.question.QuestionId) => x$33.value))).+(" not found, it is on proposal ").+(proposal.proposalId): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((operationOfQuestion: org.make.core.operation.OperationOfQuestion) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(templateKind.apply(user.userType), scala.Some.apply[org.make.core.question.QuestionId](questionId), user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage)))).flattenOrFail(("no ".+(templateKind).+(" crm template for question ").+(questionId.value).+(" and country ").+(user.country.value): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
648
|
6974
|
27668
-
27734
|
Apply
|
org.make.api.operation.OperationOfQuestionService.findByQuestionId
|
|
DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)
|
|
649
|
6185
|
27759
-
27759
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
652
|
6853
|
27911
-
27911
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
652
|
6458
|
27900
-
28658
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(templateKind.apply(user.userType), scala.Some.apply[org.make.core.question.QuestionId](questionId), user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage)))).flattenOrFail(("no ".+(templateKind).+(" crm template for question ").+(questionId.value).+(" and country ").+(user.country.value): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
653
|
7135
|
27950
-
27977
|
Apply
|
scala.Function1.apply
|
|
templateKind.apply(user.userType)
|
|
653
|
5749
|
27963
-
27976
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
653
|
6891
|
27997
-
28028
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage))
|
|
653
|
7662
|
28014
-
28027
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$34.crmLanguage
|
|
653
|
6373
|
27914
-
28029
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.find
|
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(templateKind.apply(user.userType), scala.Some.apply[org.make.core.question.QuestionId](questionId), user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage)))
|
|
653
|
6226
|
27979
-
27995
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
654
|
7818
|
28054
-
28054
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
658
|
7602
|
28204
-
28658
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))
|
|
659
|
6318
|
28239
-
28648
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
})
|
|
660
|
6213
|
28275
-
28275
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
660
|
7846
|
28275
-
28275
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
660
|
6885
|
28275
-
28275
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
660
|
7106
|
28265
-
28636
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
|
|
660
|
6388
|
28275
-
28275
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
660
|
6068
|
28275
-
28275
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
660
|
6914
|
28275
-
28275
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
660
|
7599
|
28275
-
28275
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
660
|
7581
|
28275
-
28275
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
661
|
5668
|
28310
-
28338
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
661
|
6146
|
28315
-
28337
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
661
|
6977
|
28315
-
28331
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
662
|
7090
|
28389
-
28399
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
662
|
6211
|
28408
-
28421
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
662
|
6860
|
28371
-
28422
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
662
|
7667
|
28371
-
28371
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
662
|
6379
|
28367
-
28423
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3))
|
|
663
|
7822
|
28456
-
28512
|
Apply
|
scala.Function4.apply
|
|
variables.apply(question, operationOfQuestion, user, proposal)
|
|
663
|
6908
|
28451
-
28513
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal))
|
|
664
|
6079
|
28546
-
28550
|
Select
|
scala.None
|
|
scala.None
|
|
665
|
7098
|
28587
-
28622
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation)
|
|
665
|
7491
|
28592
-
28621
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
671
|
6256
|
28698
-
28698
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
671
|
7096
|
28698
-
28698
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
671
|
7020
|
28674
-
28674
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
671
|
7633
|
28674
-
28870
|
ApplyToImplicitArgs
|
cats.syntax.ApplicativeErrorOps.orRaise
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsSyntaxApplicativeError[scala.concurrent.Future, Throwable, Unit](publishSendEmail)(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).orRaise(new java.lang.IllegalStateException(("Something went wrong unexpectedly while trying to send moderation email for proposal ".+(proposalId.value): String)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
|
|
671
|
6104
|
28674
-
28674
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
672
|
7564
|
28708
-
28862
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("Something went wrong unexpectedly while trying to send moderation email for proposal ".+(proposalId.value): String))
|
|
686
|
6863
|
29158
-
29171
|
Literal
|
<nosymbol>
|
|
"publication"
|
|
687
|
5823
|
29180
-
30493
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.getProposalUrl(proposal, question, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String = question.slug;
<artifact> val x$2: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("publication", user.userType);
<artifact> val x$3: String("cta_share") = "cta_share";
<artifact> val x$4: String("crm-transac") = "crm-transac";
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$1, x$2, "cta_share")
}))), scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.content), scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("organisation_name").->[String](user.organisationName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("operation").->[String](question.operationId.map[String](((x$35: org.make.core.operation.OperationId) => x$35.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questionId.value), scala.Predef.ArrowAssoc[String]("location").->[String](proposal.creationContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](proposal.creationContext.source.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.sequenceUrlForProposal(question.slug, proposal, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$6: String("cta") = "cta";
<artifact> val x$7: String = question.slug;
<artifact> val x$8: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType);
<artifact> val x$9: String("crm-transac") = "crm-transac";
<artifact> val x$10: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$10, x$7, x$8, "cta")
}))), scala.Predef.ArrowAssoc[String]("is_anonymous_proposal").->[String](proposal.isAnonymous.toString()), scala.Predef.ArrowAssoc[String]("is_consultation_vote_only").->[String](operationOfQuestion.canPropose.unary_!.toString()))
|
|
688
|
7742
|
29213
-
29538
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getProposalUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getProposalUrl(proposal, question, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String = question.slug;
<artifact> val x$2: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("publication", user.userType);
<artifact> val x$3: String("cta_share") = "cta_share";
<artifact> val x$4: String("crm-transac") = "crm-transac";
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$1, x$2, "cta_share")
}))
|
|
688
|
6033
|
29195
-
29209
|
Literal
|
<nosymbol>
|
|
"proposal_url"
|
|
688
|
7011
|
29195
-
29538
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.getProposalUrl(proposal, question, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String = question.slug;
<artifact> val x$2: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("publication", user.userType);
<artifact> val x$3: String("cta_share") = "cta_share";
<artifact> val x$4: String("crm-transac") = "crm-transac";
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$1, x$2, "cta_share")
})))
|
|
691
|
5975
|
29285
-
29526
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String = question.slug;
<artifact> val x$2: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("publication", user.userType);
<artifact> val x$3: String("cta_share") = "cta_share";
<artifact> val x$4: String("crm-transac") = "crm-transac";
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$1, x$2, "cta_share")
})
|
|
692
|
7600
|
29305
-
29305
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
692
|
6819
|
29305
-
29512
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$1, x$2, "cta_share")
|
|
693
|
7788
|
29337
-
29350
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
694
|
7568
|
29375
-
29417
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.adaptUtmTerm
|
|
DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("publication", user.userType)
|
|
694
|
6940
|
29388
-
29401
|
Literal
|
<nosymbol>
|
|
"publication"
|
|
694
|
6107
|
29403
-
29416
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
695
|
6671
|
29445
-
29456
|
Literal
|
<nosymbol>
|
|
"cta_share"
|
|
696
|
6262
|
29483
-
29496
|
Literal
|
<nosymbol>
|
|
"crm-transac"
|
|
700
|
6070
|
29550
-
29565
|
Literal
|
<nosymbol>
|
|
"proposal_text"
|
|
700
|
6673
|
29550
-
29585
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.content)
|
|
700
|
7534
|
29569
-
29585
|
Select
|
org.make.core.proposal.Proposal.content
|
|
proposal.content
|
|
701
|
7705
|
29612
-
29640
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
701
|
6224
|
29597
-
29608
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
701
|
6768
|
29597
-
29640
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
702
|
7751
|
29675
-
29710
|
Apply
|
scala.Option.getOrElse
|
|
user.organisationName.getOrElse[String]("")
|
|
702
|
7018
|
29652
-
29710
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("organisation_name").->[String](user.organisationName.getOrElse[String](""))
|
|
702
|
5938
|
29652
-
29671
|
Literal
|
<nosymbol>
|
|
"organisation_name"
|
|
703
|
6635
|
29722
-
29784
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation").->[String](question.operationId.map[String](((x$35: org.make.core.operation.OperationId) => x$35.value)).getOrElse[String](""))
|
|
703
|
6189
|
29722
-
29733
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
703
|
7563
|
29737
-
29784
|
Apply
|
scala.Option.getOrElse
|
|
question.operationId.map[String](((x$35: org.make.core.operation.OperationId) => x$35.value)).getOrElse[String]("")
|
|
704
|
6893
|
29796
-
29835
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](question.questionId.value)
|
|
704
|
7711
|
29810
-
29835
|
Select
|
org.make.core.question.QuestionId.value
|
|
question.questionId.value
|
|
704
|
6296
|
29796
-
29806
|
Literal
|
<nosymbol>
|
|
"question"
|
|
705
|
7338
|
29861
-
29908
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.location.getOrElse[String]("")
|
|
705
|
6031
|
29847
-
29857
|
Literal
|
<nosymbol>
|
|
"location"
|
|
705
|
6982
|
29847
-
29908
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](proposal.creationContext.location.getOrElse[String](""))
|
|
706
|
7530
|
29932
-
29977
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.source.getOrElse[String]("")
|
|
706
|
6713
|
29920
-
29977
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](proposal.creationContext.source.getOrElse[String](""))
|
|
706
|
6192
|
29920
-
29928
|
Literal
|
<nosymbol>
|
|
"source"
|
|
707
|
6300
|
29989
-
30003
|
Literal
|
<nosymbol>
|
|
"sequence_url"
|
|
707
|
6787
|
29989
-
30330
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.sequenceUrlForProposal(question.slug, proposal, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$6: String("cta") = "cta";
<artifact> val x$7: String = question.slug;
<artifact> val x$8: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType);
<artifact> val x$9: String("crm-transac") = "crm-transac";
<artifact> val x$10: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$10, x$7, x$8, "cta")
})))
|
|
707
|
7681
|
30007
-
30330
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.sequenceUrlForProposal
|
|
DefaultSendMailPublisherServiceComponent.this.sequenceUrlForProposal(question.slug, proposal, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$6: String("cta") = "cta";
<artifact> val x$7: String = question.slug;
<artifact> val x$8: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType);
<artifact> val x$9: String("crm-transac") = "crm-transac";
<artifact> val x$10: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$10, x$7, x$8, "cta")
}))
|
|
708
|
7673
|
30043
-
30056
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
710
|
6222
|
30092
-
30318
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$6: String("cta") = "cta";
<artifact> val x$7: String = question.slug;
<artifact> val x$8: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType);
<artifact> val x$9: String("crm-transac") = "crm-transac";
<artifact> val x$10: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$10, x$7, x$8, "cta")
})
|
|
711
|
7532
|
30112
-
30112
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
711
|
6714
|
30112
-
30304
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$10, x$7, x$8, "cta")
|
|
712
|
6816
|
30143
-
30148
|
Literal
|
<nosymbol>
|
|
"cta"
|
|
713
|
6008
|
30177
-
30190
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
714
|
7362
|
30234
-
30247
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
714
|
6986
|
30215
-
30248
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.adaptUtmTerm
|
|
DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType)
|
|
715
|
6159
|
30275
-
30288
|
Literal
|
<nosymbol>
|
|
"crm-transac"
|
|
719
|
6013
|
30342
-
30365
|
Literal
|
<nosymbol>
|
|
"is_anonymous_proposal"
|
|
719
|
6918
|
30342
-
30398
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("is_anonymous_proposal").->[String](proposal.isAnonymous.toString())
|
|
719
|
7366
|
30369
-
30398
|
Apply
|
scala.Any.toString
|
|
proposal.isAnonymous.toString()
|
|
720
|
6084
|
30410
-
30437
|
Literal
|
<nosymbol>
|
|
"is_consultation_vote_only"
|
|
720
|
7498
|
30442
-
30483
|
Apply
|
scala.Any.toString
|
|
operationOfQuestion.canPropose.unary_!.toString()
|
|
720
|
6702
|
30410
-
30483
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("is_consultation_vote_only").->[String](operationOfQuestion.canPropose.unary_!.toString())
|
|
725
|
7606
|
30583
-
30604
|
Select
|
org.make.core.user.UserType.UserTypeUser
|
|
org.make.core.user.UserType.UserTypeUser
|
|
725
|
6789
|
30571
-
30604
|
Apply
|
java.lang.Object.==
|
|
userType.==(org.make.core.user.UserType.UserTypeUser)
|
|
726
|
7336
|
30618
-
30634
|
Block
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalAccepted
|
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalAccepted
|
|
726
|
6017
|
30618
-
30634
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalAccepted
|
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalAccepted
|
|
728
|
6924
|
30662
-
30681
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalAccepted
|
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalAccepted
|
|
728
|
6149
|
30662
-
30681
|
Block
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalAccepted
|
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalAccepted
|
|
732
|
7503
|
30742
-
30751
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.variables
|
|
variables(question, operationOfQuestion, user, proposal)
|
|
732
|
5801
|
30707
-
30758
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.publishModerationEmail
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherService.this.publishModerationEmail(proposalId, ((question: org.make.core.question.Question, operationOfQuestion: org.make.core.operation.OperationOfQuestion, user: org.make.core.user.User, proposal: org.make.core.proposal.Proposal) => variables(question, operationOfQuestion, user, proposal)), ((userType: org.make.core.user.UserType) => kind(userType)))
|
|
732
|
6639
|
30753
-
30757
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.kind
|
|
kind(userType)
|
|
744
|
7671
|
31047
-
31054
|
Literal
|
<nosymbol>
|
|
"refus"
|
|
745
|
7187
|
31063
-
32153
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.content), scala.Predef.ArrowAssoc[String]("refusal_reason").->[String](proposal.refusalReason.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("organisation_name").->[String](user.organisationName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("operation").->[String](question.operationId.map[String](((x$36: org.make.core.operation.OperationId) => x$36.value)).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslation(user.profile.map[org.make.core.reference.Language](((x$37: org.make.core.profile.Profile) => x$37.crmLanguage)).getOrElse[org.make.core.reference.Language](question.defaultLanguage)).fold[String](question.slug)(((x$38: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]) => x$38.value))), scala.Predef.ArrowAssoc[String]("location").->[String](proposal.creationContext.location.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("source").->[String](proposal.creationContext.source.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.sequenceUrlForProposal(question.slug, proposal, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String("cta") = "cta";
<artifact> val x$2: String = question.slug;
<artifact> val x$3: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType);
<artifact> val x$4: String("crm-transac") = "crm-transac";
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$2, x$3, "cta")
}))), scala.Predef.ArrowAssoc[String]("is_consultation_vote_only").->[String](operationOfQuestion.canPropose.unary_!.toString()))
|
|
746
|
5986
|
31097
-
31113
|
Select
|
org.make.core.proposal.Proposal.content
|
|
proposal.content
|
|
746
|
7340
|
31078
-
31113
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.content)
|
|
746
|
6896
|
31078
-
31093
|
Literal
|
<nosymbol>
|
|
"proposal_text"
|
|
747
|
6157
|
31145
-
31181
|
Apply
|
scala.Option.getOrElse
|
|
proposal.refusalReason.getOrElse[String]("")
|
|
747
|
7588
|
31125
-
31181
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("refusal_reason").->[String](proposal.refusalReason.getOrElse[String](""))
|
|
747
|
6493
|
31125
-
31141
|
Literal
|
<nosymbol>
|
|
"refusal_reason"
|
|
748
|
5807
|
31208
-
31236
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
748
|
7636
|
31193
-
31236
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
748
|
6744
|
31193
-
31204
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
749
|
6869
|
31248
-
31267
|
Literal
|
<nosymbol>
|
|
"organisation_name"
|
|
749
|
6010
|
31271
-
31306
|
Apply
|
scala.Option.getOrElse
|
|
user.organisationName.getOrElse[String]("")
|
|
749
|
7435
|
31248
-
31306
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("organisation_name").->[String](user.organisationName.getOrElse[String](""))
|
|
750
|
6559
|
31318
-
31329
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
750
|
6164
|
31333
-
31380
|
Apply
|
scala.Option.getOrElse
|
|
question.operationId.map[String](((x$36: org.make.core.operation.OperationId) => x$36.value)).getOrElse[String]("")
|
|
750
|
7572
|
31318
-
31380
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation").->[String](question.operationId.map[String](((x$36: org.make.core.operation.OperationId) => x$36.value)).getOrElse[String](""))
|
|
751
|
6120
|
31392
-
31563
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslation(user.profile.map[org.make.core.reference.Language](((x$37: org.make.core.profile.Profile) => x$37.crmLanguage)).getOrElse[org.make.core.reference.Language](question.defaultLanguage)).fold[String](question.slug)(((x$38: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]) => x$38.value)))
|
|
751
|
6700
|
31392
-
31402
|
Literal
|
<nosymbol>
|
|
"question"
|
|
752
|
6875
|
31453
-
31520
|
Apply
|
scala.Option.getOrElse
|
|
user.profile.map[org.make.core.reference.Language](((x$37: org.make.core.profile.Profile) => x$37.crmLanguage)).getOrElse[org.make.core.reference.Language](question.defaultLanguage)
|
|
752
|
5907
|
31470
-
31483
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$37.crmLanguage
|
|
752
|
7641
|
31495
-
31519
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
question.defaultLanguage
|
|
753
|
7380
|
31555
-
31562
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$38.value
|
|
753
|
6528
|
31406
-
31563
|
Apply
|
scala.Option.fold
|
|
question.questions.getTranslation(user.profile.map[org.make.core.reference.Language](((x$37: org.make.core.profile.Profile) => x$37.crmLanguage)).getOrElse[org.make.core.reference.Language](question.defaultLanguage)).fold[String](question.slug)(((x$38: eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]) => x$38.value))
|
|
753
|
5979
|
31540
-
31553
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
754
|
6677
|
31589
-
31636
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.location.getOrElse[String]("")
|
|
754
|
7501
|
31575
-
31585
|
Literal
|
<nosymbol>
|
|
"location"
|
|
754
|
5799
|
31575
-
31636
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](proposal.creationContext.location.getOrElse[String](""))
|
|
755
|
7277
|
31648
-
31656
|
Literal
|
<nosymbol>
|
|
"source"
|
|
755
|
6834
|
31660
-
31705
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.source.getOrElse[String]("")
|
|
755
|
5984
|
31648
-
31705
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](proposal.creationContext.source.getOrElse[String](""))
|
|
756
|
7368
|
31717
-
31731
|
Literal
|
<nosymbol>
|
|
"sequence_url"
|
|
756
|
6494
|
31735
-
32058
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.sequenceUrlForProposal
|
|
DefaultSendMailPublisherServiceComponent.this.sequenceUrlForProposal(question.slug, proposal, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String("cta") = "cta";
<artifact> val x$2: String = question.slug;
<artifact> val x$3: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType);
<artifact> val x$4: String("crm-transac") = "crm-transac";
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$2, x$3, "cta")
}))
|
|
756
|
6195
|
31717
-
32058
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.sequenceUrlForProposal(question.slug, proposal, scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String("cta") = "cta";
<artifact> val x$2: String = question.slug;
<artifact> val x$3: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType);
<artifact> val x$4: String("crm-transac") = "crm-transac";
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$2, x$3, "cta")
})))
|
|
757
|
6491
|
31771
-
31784
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
759
|
7433
|
31820
-
32046
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm]({
<artifact> val x$1: String("cta") = "cta";
<artifact> val x$2: String = question.slug;
<artifact> val x$3: String = DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType);
<artifact> val x$4: String("crm-transac") = "crm-transac";
<artifact> val x$5: String = org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2;
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$2, x$3, "cta")
})
|
|
760
|
6772
|
31840
-
31840
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
760
|
5945
|
31840
-
32032
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply("crm-transac", x$5, x$2, x$3, "cta")
|
|
761
|
6126
|
31871
-
31876
|
Literal
|
<nosymbol>
|
|
"cta"
|
|
762
|
7471
|
31905
-
31918
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
763
|
5804
|
31943
-
31976
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.adaptUtmTerm
|
|
DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType)
|
|
763
|
6681
|
31962
-
31975
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
764
|
7186
|
32003
-
32016
|
Literal
|
<nosymbol>
|
|
"crm-transac"
|
|
768
|
6646
|
32102
-
32143
|
Apply
|
scala.Any.toString
|
|
operationOfQuestion.canPropose.unary_!.toString()
|
|
768
|
7474
|
32070
-
32097
|
Literal
|
<nosymbol>
|
|
"is_consultation_vote_only"
|
|
768
|
5904
|
32070
-
32143
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("is_consultation_vote_only").->[String](operationOfQuestion.canPropose.unary_!.toString())
|
|
773
|
5951
|
32231
-
32264
|
Apply
|
java.lang.Object.==
|
|
userType.==(org.make.core.user.UserType.UserTypeUser)
|
|
773
|
6823
|
32243
-
32264
|
Select
|
org.make.core.user.UserType.UserTypeUser
|
|
org.make.core.user.UserType.UserTypeUser
|
|
774
|
7439
|
32278
-
32293
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalRefused
|
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalRefused
|
|
774
|
6604
|
32278
-
32293
|
Block
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalRefused
|
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalRefused
|
|
776
|
5756
|
32321
-
32339
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalRefused
|
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalRefused
|
|
776
|
7538
|
32321
-
32339
|
Block
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalRefused
|
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalRefused
|
|
780
|
5909
|
32411
-
32415
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.kind
|
|
kind(userType)
|
|
780
|
7309
|
32365
-
32416
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.publishModerationEmail
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherService.this.publishModerationEmail(proposalId, ((question: org.make.core.question.Question, operationOfQuestion: org.make.core.operation.OperationOfQuestion, user: org.make.core.user.User, proposal: org.make.core.proposal.Proposal) => variables(question, operationOfQuestion, user, proposal)), ((userType: org.make.core.user.UserType) => kind(userType)))
|
|
780
|
6654
|
32400
-
32409
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.variables
|
|
variables(question, operationOfQuestion, user, proposal)
|
|
785
|
5720
|
32529
-
32746
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.userService.changeEmailVerificationTokenIfNeeded(user.userId).flatMap[Unit](((x0$1: Option[org.make.core.user.User]) => x0$1 match {
case (value: org.make.core.user.User): Some[org.make.core.user.User]((modifiedUser @ _)) => DefaultSendMailPublisherService.this.publishResendRegistration(modifiedUser, requestContext)
case scala.None => scala.concurrent.Future.unit
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
785
|
6608
|
32599
-
32599
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
785
|
6831
|
32578
-
32589
|
Select
|
org.make.core.user.User.userId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.userId
|
|
786
|
6040
|
32636
-
32691
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.publishResendRegistration
|
|
DefaultSendMailPublisherService.this.publishResendRegistration(modifiedUser, requestContext)
|
|
787
|
7404
|
32727
-
32738
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
799
|
5729
|
32993
-
32993
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
799
|
7168
|
32970
-
35273
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.indexed.IndexedProposal](DefaultSendMailPublisherServiceComponent.this.proposalService.getProposalById(proposalId, requestContext)).flattenOrFail(("Proposal ".+(proposalId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((proposal: org.make.core.proposal.indexed.IndexedProposal) => if (proposal.status.==(org.make.core.proposal.ProposalStatus.Accepted))
scala.concurrent.Future.unit
else
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("status", "invalid_value", scala.Some.apply[String]("Proposal must be Accepted"))))).flatMap[Unit](((x$42: Unit) => (x$42: Unit @unchecked) match {
case _ => org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author.userId)).flattenOrFail(("User ".+(proposal.author.userId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((proposer: org.make.core.user.User) => if (proposer.isHardBounce.unary_!)
scala.concurrent.Future.unit
else
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String)))))).flatMap[Unit](((x$41: Unit) => (x$41: Unit @unchecked) match {
case _ => if (dryRun)
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)).flattenOrFail(("User ".+(senderId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global)
else
scala.concurrent.Future.successful[org.make.core.user.User](proposer).flatMap[Unit](((recipient: org.make.core.user.User) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.question.map[org.make.core.question.QuestionId](((x$39: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$39.questionId)))).flattenOrFail(("Proposal ".+(proposalId).+("\'s question no longer exists"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(recipient.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
800
|
7545
|
32996
-
33066
|
Apply
|
org.make.api.proposal.ProposalService.getProposalById
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.proposalService.getProposalById(proposalId, requestContext)
|
|
801
|
6679
|
33091
-
33091
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
802
|
6536
|
33143
-
35273
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
if (proposal.status.==(org.make.core.proposal.ProposalStatus.Accepted))
scala.concurrent.Future.unit
else
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("status", "invalid_value", scala.Some.apply[String]("Proposal must be Accepted"))))).flatMap[Unit](((x$42: Unit) => (x$42: Unit @unchecked) match {
case _ => org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author.userId)).flattenOrFail(("User ".+(proposal.author.userId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((proposer: org.make.core.user.User) => if (proposer.isHardBounce.unary_!)
scala.concurrent.Future.unit
else
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String)))))).flatMap[Unit](((x$41: Unit) => (x$41: Unit @unchecked) match {
case _ => if (dryRun)
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)).flattenOrFail(("User ".+(senderId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global)
else
scala.concurrent.Future.successful[org.make.core.user.User](proposer).flatMap[Unit](((recipient: org.make.core.user.User) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.question.map[org.make.core.question.QuestionId](((x$39: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$39.questionId)))).flattenOrFail(("Proposal ".+(proposalId).+("\'s question no longer exists"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(recipient.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
802
|
5866
|
33171
-
33194
|
Select
|
org.make.core.proposal.ProposalStatus.Accepted
|
|
org.make.core.proposal.ProposalStatus.Accepted
|
|
802
|
7238
|
33152
-
33194
|
Apply
|
java.lang.Object.==
|
|
proposal.status.==(org.make.core.proposal.ProposalStatus.Accepted)
|
|
802
|
7411
|
33145
-
33145
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
803
|
6434
|
33206
-
33217
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
803
|
6023
|
33206
-
33217
|
Block
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
805
|
6440
|
33241
-
33385
|
Block
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("status", "invalid_value", scala.Some.apply[String]("Proposal must be Accepted")))))
|
|
805
|
7211
|
33241
-
33385
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("status", "invalid_value", scala.Some.apply[String]("Proposal must be Accepted")))))
|
|
806
|
6570
|
33320
-
33335
|
Literal
|
<nosymbol>
|
|
"invalid_value"
|
|
806
|
5828
|
33268
-
33373
|
Apply
|
org.make.core.ValidationFailedError.apply
|
|
org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("status", "invalid_value", scala.Some.apply[String]("Proposal must be Accepted"))))
|
|
806
|
7370
|
33310
-
33318
|
Literal
|
<nosymbol>
|
|
"status"
|
|
806
|
7551
|
33294
-
33371
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("status", "invalid_value", scala.Some.apply[String]("Proposal must be Accepted"))
|
|
806
|
6645
|
33290
-
33372
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("status", "invalid_value", scala.Some.apply[String]("Proposal must be Accepted")))
|
|
806
|
5724
|
33337
-
33370
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Proposal must be Accepted")
|
|
808
|
6467
|
33403
-
33403
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
808
|
7868
|
33394
-
35273
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author.userId)).flattenOrFail(("User ".+(proposal.author.userId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((proposer: org.make.core.user.User) => if (proposer.isHardBounce.unary_!)
scala.concurrent.Future.unit
else
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String)))))).flatMap[Unit](((x$41: Unit) => (x$41: Unit @unchecked) match {
case _ => if (dryRun)
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)).flattenOrFail(("User ".+(senderId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global)
else
scala.concurrent.Future.successful[org.make.core.user.User](proposer).flatMap[Unit](((recipient: org.make.core.user.User) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.question.map[org.make.core.question.QuestionId](((x$39: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$39.questionId)))).flattenOrFail(("Proposal ".+(proposalId).+("\'s question no longer exists"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(recipient.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
809
|
7344
|
33406
-
33460
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author.userId)
|
|
809
|
5949
|
33437
-
33459
|
Select
|
org.make.core.proposal.indexed.IndexedAuthor.userId
|
|
proposal.author.userId
|
|
810
|
6601
|
33485
-
33485
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
811
|
5924
|
33547
-
33547
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
811
|
7242
|
33545
-
35273
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
if (proposer.isHardBounce.unary_!)
scala.concurrent.Future.unit
else
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String)))))).flatMap[Unit](((x$41: Unit) => (x$41: Unit @unchecked) match {
case _ => if (dryRun)
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)).flattenOrFail(("User ".+(senderId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global)
else
scala.concurrent.Future.successful[org.make.core.user.User](proposer).flatMap[Unit](((recipient: org.make.core.user.User) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.question.map[org.make.core.question.QuestionId](((x$39: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$39.questionId)))).flattenOrFail(("Proposal ".+(proposalId).+("\'s question no longer exists"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(recipient.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
811
|
5683
|
33554
-
33576
|
Select
|
scala.Boolean.unary_!
|
|
proposer.isHardBounce.unary_!
|
|
812
|
7515
|
33588
-
33599
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
812
|
6650
|
33588
-
33599
|
Block
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
814
|
7070
|
33623
-
33931
|
Block
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String))))))
|
|
814
|
5781
|
33623
-
33931
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String))))))
|
|
815
|
6565
|
33650
-
33919
|
Apply
|
org.make.core.ValidationFailedError.apply
|
|
org.make.core.ValidationFailedError.apply(scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String)))))
|
|
816
|
7351
|
33687
-
33905
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.core.ValidationError](org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String))))
|
|
817
|
6058
|
33708
-
33889
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("reachable", "invalid_value", scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String)))
|
|
818
|
5812
|
33743
-
33754
|
Literal
|
<nosymbol>
|
|
"reachable"
|
|
819
|
7306
|
33774
-
33789
|
Literal
|
<nosymbol>
|
|
"invalid_value"
|
|
820
|
6445
|
33809
-
33871
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String))
|
|
825
|
7076
|
33950
-
33950
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
825
|
6340
|
33940
-
35273
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
if (dryRun)
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)).flattenOrFail(("User ".+(senderId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global)
else
scala.concurrent.Future.successful[org.make.core.user.User](proposer).flatMap[Unit](((recipient: org.make.core.user.User) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.question.map[org.make.core.question.QuestionId](((x$39: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$39.questionId)))).flattenOrFail(("Proposal ".+(proposalId).+("\'s question no longer exists"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(recipient.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
827
|
6753
|
33975
-
34017
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)
|
|
828
|
6479
|
33975
-
34081
|
Block
|
org.make.api.technical.Futures.FutureOfOption.flattenOrFail
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)).flattenOrFail(("User ".+(senderId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
828
|
5863
|
34044
-
34044
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
828
|
7312
|
33975
-
34081
|
ApplyToImplicitArgs
|
org.make.api.technical.Futures.FutureOfOption.flattenOrFail
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)).flattenOrFail(("User ".+(senderId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
830
|
6061
|
34105
-
34132
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.user.User](proposer)
|
|
830
|
7447
|
34105
-
34132
|
Block
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.user.User](proposer)
|
|
831
|
5764
|
34141
-
35273
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.question.QuestionId](scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.question.map[org.make.core.question.QuestionId](((x$39: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$39.questionId)))).flattenOrFail(("Proposal ".+(proposalId).+("\'s question no longer exists"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((questionId: org.make.core.question.QuestionId) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(recipient.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
831
|
6616
|
34152
-
34152
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
832
|
5783
|
34184
-
34219
|
Apply
|
scala.Option.map
|
|
proposal.question.map[org.make.core.question.QuestionId](((x$39: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$39.questionId))
|
|
832
|
6568
|
34206
-
34218
|
Select
|
org.make.core.proposal.indexed.IndexedProposalQuestion.questionId
|
|
x$39.questionId
|
|
832
|
7148
|
34155
-
34220
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.question.map[org.make.core.question.QuestionId](((x$39: org.make.core.proposal.indexed.IndexedProposalQuestion) => x$39.questionId)))
|
|
833
|
6759
|
34245
-
34245
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
834
|
7808
|
34316
-
34316
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
834
|
7453
|
34307
-
35273
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(recipient.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
835
|
5842
|
34319
-
34369
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
836
|
7282
|
34394
-
34394
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
837
|
6366
|
34443
-
35273
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(recipient.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
837
|
7279
|
34454
-
34454
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
838
|
6438
|
34493
-
34510
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer
|
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer
|
|
838
|
5765
|
34457
-
34566
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.find
|
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage)))
|
|
838
|
7455
|
34551
-
34564
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$40.crmLanguage
|
|
838
|
5988
|
34512
-
34528
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
838
|
6574
|
34530
-
34565
|
Apply
|
scala.Option.map
|
|
proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage))
|
|
839
|
7150
|
34591
-
34591
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
841
|
5661
|
34723
-
35153
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value), scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))), scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html))
|
|
842
|
5843
|
34753
-
34787
|
Apply
|
scala.Option.getOrElse
|
|
proposer.displayName.getOrElse[String]("")
|
|
842
|
7287
|
34738
-
34787
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String](""))
|
|
842
|
6685
|
34738
-
34749
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
843
|
5687
|
34799
-
34961
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value)
|
|
843
|
6400
|
34799
-
34809
|
Literal
|
<nosymbol>
|
|
"question"
|
|
844
|
7827
|
34916
-
34940
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
question.defaultLanguage
|
|
844
|
7438
|
34866
-
34941
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)
|
|
845
|
6537
|
34813
-
34961
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value
|
|
846
|
6402
|
34973
-
35103
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal").->[String](proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage)))
|
|
846
|
7115
|
34973
-
34983
|
Literal
|
<nosymbol>
|
|
"proposal"
|
|
847
|
5815
|
35038
-
35102
|
Apply
|
scala.Option.getOrElse
|
|
proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage)
|
|
847
|
7250
|
34987
-
35103
|
Apply
|
org.make.core.technical.Multilingual.getTranslationUnsafe
|
|
proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))
|
|
847
|
6690
|
35077
-
35101
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
question.defaultLanguage
|
|
848
|
6500
|
35115
-
35143
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html)
|
|
848
|
7444
|
35125
-
35143
|
Select
|
org.make.core.SanitizedHtml.html
|
|
sanitizedHtml.html
|
|
848
|
7805
|
35115
-
35121
|
Literal
|
<nosymbol>
|
|
"body"
|
|
850
|
6241
|
35186
-
35264
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.generateEmail
|
|
DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables)
|
|
850
|
7120
|
35223
-
35252
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
850
|
5917
|
35162
-
35265
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
|
|
860
|
7155
|
35477
-
36632
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.user.User](DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposerId)).flattenOrFail(("User ".+(proposerId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((proposer: org.make.core.user.User) => org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(template, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$43: org.make.core.profile.Profile) => x$43.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(proposer.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val language: org.make.core.reference.Language = languageOpt.getOrElse[org.make.core.reference.Language](question.defaultLanguage);
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.orElse[String](proposer.firstName).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value), scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, proposer.country, false, scala.Some.apply[org.make.core.user.UserType](proposer.userType))));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(proposer, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
860
|
5733
|
35500
-
35500
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
861
|
6344
|
35503
-
35545
|
Apply
|
org.make.api.user.UserService.getUser
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposerId)
|
|
862
|
5877
|
35570
-
35570
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
863
|
6999
|
35627
-
35627
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
863
|
6582
|
35618
-
36632
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.question.Question](DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)).flattenOrFail(("Question ".+(questionId).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((question: org.make.core.question.Question) => org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(template, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$43: org.make.core.profile.Profile) => x$43.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(proposer.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val language: org.make.core.reference.Language = languageOpt.getOrElse[org.make.core.reference.Language](question.defaultLanguage);
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.orElse[String](proposer.firstName).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value), scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, proposer.country, false, scala.Some.apply[org.make.core.user.UserType](proposer.userType))));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(proposer, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
864
|
7247
|
35630
-
35680
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
865
|
6470
|
35705
-
35705
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
866
|
6443
|
35765
-
35765
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
866
|
7773
|
35754
-
36632
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.crmTemplate.TemplateId](DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(template, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$43: org.make.core.profile.Profile) => x$43.crmLanguage)))).flattenOrFail(("Template for ".+(questionId.value).+(" and country ").+(proposer.country.value).+(" does not exist"): String))(scala.concurrent.ExecutionContext.Implicits.global).map[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => {
val language: org.make.core.reference.Language = languageOpt.getOrElse[org.make.core.reference.Language](question.defaultLanguage);
val variables: scala.collection.immutable.Map[String,String] = scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.orElse[String](proposer.firstName).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value), scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, proposer.country, false, scala.Some.apply[org.make.core.user.UserType](proposer.userType))));
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(proposer, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
}))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
867
|
7802
|
35814
-
35830
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
867
|
5735
|
35768
-
35868
|
Apply
|
org.make.api.crmTemplates.CrmTemplatesService.find
|
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(template, scala.Some.apply[org.make.core.question.QuestionId](questionId), proposer.profile.map[org.make.core.reference.Language](((x$43: org.make.core.profile.Profile) => x$43.crmLanguage)))
|
|
867
|
6514
|
35832
-
35867
|
Apply
|
scala.Option.map
|
|
proposer.profile.map[org.make.core.reference.Language](((x$43: org.make.core.profile.Profile) => x$43.crmLanguage))
|
|
867
|
7043
|
35853
-
35866
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$43.crmLanguage
|
|
868
|
7117
|
35893
-
35893
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
870
|
5831
|
36023
-
36070
|
Apply
|
scala.Option.getOrElse
|
|
languageOpt.getOrElse[org.make.core.reference.Language](question.defaultLanguage)
|
|
870
|
6270
|
36045
-
36069
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
question.defaultLanguage
|
|
872
|
7078
|
36105
-
36513
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.orElse[String](proposer.firstName).getOrElse[String]("")), scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value), scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, proposer.country, false, scala.Some.apply[org.make.core.user.UserType](proposer.userType))))
|
|
873
|
7807
|
36122
-
36198
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.orElse[String](proposer.firstName).getOrElse[String](""))
|
|
873
|
6452
|
36137
-
36198
|
Apply
|
scala.Option.getOrElse
|
|
proposer.displayName.orElse[String](proposer.firstName).getOrElse[String]("")
|
|
873
|
7214
|
36122
-
36133
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
874
|
5741
|
36212
-
36281
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value)
|
|
874
|
6515
|
36226
-
36281
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
question.questions.getTranslationUnsafe(language).value
|
|
874
|
6948
|
36212
-
36222
|
Literal
|
<nosymbol>
|
|
"question"
|
|
875
|
7074
|
36295
-
36309
|
Literal
|
<nosymbol>
|
|
"sequence_url"
|
|
875
|
5787
|
36295
-
36501
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("sequence_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, proposer.country, false, scala.Some.apply[org.make.core.user.UserType](proposer.userType)))
|
|
875
|
6573
|
36313
-
36501
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl(question.slug, org.make.core.sequence.SequenceKind.Standard, proposer.country, false, scala.Some.apply[org.make.core.user.UserType](proposer.userType))
|
|
876
|
6273
|
36345
-
36358
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
877
|
5870
|
36374
-
36395
|
Select
|
org.make.core.sequence.SequenceKind.Standard
|
|
org.make.core.sequence.SequenceKind.Standard
|
|
878
|
7317
|
36411
-
36427
|
Select
|
org.make.core.user.User.country
|
|
proposer.country
|
|
879
|
6367
|
36443
-
36448
|
Literal
|
<nosymbol>
|
|
false
|
|
880
|
7768
|
36469
-
36486
|
Select
|
org.make.core.user.User.userType
|
|
proposer.userType
|
|
880
|
6951
|
36464
-
36487
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserType](proposer.userType)
|
|
883
|
6247
|
36582
-
36611
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
883
|
7726
|
36546
-
36623
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.generateEmail
|
|
DefaultSendMailPublisherServiceComponent.this.generateEmail(proposer, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables)
|
|
883
|
7321
|
36522
-
36624
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(DefaultSendMailPublisherServiceComponent.this.generateEmail(proposer, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables))
|
|
891
|
7293
|
36800
-
36958
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.publishWarningToAbusiveProposer
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherService.this.publishWarningToAbusiveProposer(org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveWarn, questionId, proposerId, requestContext.languageContext.language)
|
|
892
|
6252
|
36841
-
36861
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveWarn
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveWarn
|
|
895
|
7730
|
36911
-
36950
|
Select
|
org.make.core.RequestContextLanguage.language
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.languageContext.language
|
|
903
|
7002
|
37127
-
37286
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.publishWarningToAbusiveProposer
|
|
DefaultSendMailPublisherService.this.publishWarningToAbusiveProposer(org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveBlock, questionId, proposerId, requestContext.languageContext.language)
|
|
904
|
6449
|
37168
-
37189
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveBlock
|
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveBlock
|
|
907
|
7830
|
37239
-
37278
|
Select
|
org.make.core.RequestContextLanguage.language
|
|
requestContext.languageContext.language
|
|
911
|
6205
|
37396
-
37411
|
Select
|
org.make.core.user.User.resetToken
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.resetToken
|
|
914
|
5693
|
37501
-
37516
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BRegistration
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.B2BRegistration
|
|
914
|
6240
|
37578
-
37591
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$44.crmLanguage
|
|
914
|
7696
|
37561
-
37592
|
Apply
|
scala.Option.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.profile.map[org.make.core.reference.Language](((x$44: org.make.core.profile.Profile) => x$44.crmLanguage))
|
|
914
|
7159
|
37518
-
37559
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
915
|
7126
|
37610
-
37610
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
915
|
6214
|
37463
-
38475
|
ApplyToImplicitArgs
|
scala.concurrent.Future.map
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.crmTemplatesService.find(org.make.core.crmTemplate.CrmTemplateKind.B2BRegistration, requestContext.questionContext.questionId, user.profile.map[org.make.core.reference.Language](((x$44: org.make.core.profile.Profile) => x$44.crmLanguage))).map[Unit](((x$45: Option[org.make.core.crmTemplate.TemplateId]) => x$45.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("mailto").->[String](user.email), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend)))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
915
|
5740
|
37611
-
38474
|
Apply
|
scala.Option.foreach
|
|
x$45.foreach[Unit](((templateId: org.make.core.crmTemplate.TemplateId) => DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("mailto").->[String](user.email), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend)))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))))
|
|
916
|
6178
|
37651
-
38460
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("mailto").->[String](user.email), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend)))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
}))
|
|
917
|
6909
|
37692
-
38444
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt);
<artifact> val x$2: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3));
<artifact> val x$3: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("mailto").->[String](user.email), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend)))));
<artifact> val x$4: None.type = scala.None;
<artifact> val x$5: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account);
<artifact> val x$6: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$9: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$10: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$11: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
})
|
|
918
|
7736
|
37724
-
38426
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$6, x$7, x$8, x$9, x$10, x$1, x$3, x$2, x$11, x$12, x$4, x$5, x$13)
|
|
918
|
6474
|
37734
-
37734
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
918
|
7047
|
37734
-
37734
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
918
|
5773
|
37734
-
37734
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
918
|
7615
|
37734
-
37734
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
918
|
6176
|
37734
-
37734
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
918
|
6209
|
37734
-
37734
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
918
|
6881
|
37734
-
37734
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
918
|
6935
|
37734
-
37734
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
919
|
7218
|
37780
-
37796
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
919
|
6407
|
37780
-
37802
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
919
|
7832
|
37775
-
37803
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
920
|
5699
|
37842
-
37842
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
920
|
6180
|
37879
-
37892
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
920
|
6245
|
37838
-
37894
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(user.email, user.fullName, Recipient.apply$default$3))
|
|
920
|
7127
|
37842
-
37893
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
920
|
6950
|
37860
-
37870
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
921
|
7612
|
37928
-
38288
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("mailto").->[String](user.email), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend)))))
|
|
922
|
6249
|
37956
-
38266
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("mailto").->[String](user.email), scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend))))
|
|
923
|
6417
|
37985
-
38007
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("mailto").->[String](user.email)
|
|
923
|
7196
|
37997
-
38007
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
923
|
7623
|
37985
-
37993
|
Literal
|
<nosymbol>
|
|
"mailto"
|
|
924
|
5663
|
38061
-
38242
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getForgottenPasswordUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend))
|
|
924
|
7771
|
38033
-
38057
|
Literal
|
<nosymbol>
|
|
"forgotten_password_url"
|
|
924
|
7134
|
38033
-
38242
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend)))
|
|
927
|
6201
|
38182
-
38216
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend)
|
|
927
|
6933
|
38187
-
38215
|
Select
|
org.make.core.ApplicationName.MainFrontend
|
|
org.make.core.ApplicationName.MainFrontend
|
|
931
|
6901
|
38327
-
38331
|
Select
|
scala.None
|
|
scala.None
|
|
932
|
6374
|
38379
-
38405
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
932
|
7734
|
38374
-
38406
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
938
|
6886
|
38504
-
38640
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new java.lang.IllegalStateException(("reset token required but not provided for user ".+(user.userId.value): String)))
|
|
939
|
7659
|
38531
-
38628
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("reset token required but not provided for user ".+(user.userId.value): String))
|
|
950
|
6414
|
38831
-
38890
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.getProposal
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.proposalCoordinatorService.getProposal(proposalId)
|
|
951
|
7812
|
38913
-
38913
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
952
|
7778
|
38831
-
40215
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.api.technical.Futures.FutureOfOption[org.make.core.proposal.Proposal](DefaultSendMailPublisherServiceComponent.this.proposalCoordinatorService.getProposal(proposalId)).flattenOrFail(("Proposal ".+(proposalId.value).+(" not found"): String))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Unit](((proposal: org.make.core.proposal.Proposal) => scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](DefaultSendMailPublisherServiceComponent.this.config.getInt("make-api.report-proposal.template-id"));
<artifact> val x$2: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("reason").->[String](reason.toString()), scala.Predef.ArrowAssoc[String]("proposal_id").->[String](proposalId.value), scala.Predef.ArrowAssoc[String]("proposal_language").->[String](proposalLanguage.value), scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.contentTranslations.flatMap[String](((x$46: org.make.core.technical.Multilingual[String]) => x$46.getTranslation(proposalLanguage))).getOrElse[String](proposal.content)), scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None))));
<artifact> val x$3: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(DefaultSendMailPublisherServiceComponent.this.config.getString("make-api.report-proposal.recipient"), scala.Some.apply[String]("Moderators"), Recipient.apply$default$3));
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$3, x$9, x$10, x$11, x$12, x$13)
})))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
952
|
6029
|
38973
-
38973
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
954
|
7706
|
39015
-
39015
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
954
|
6856
|
39009
-
40205
|
ApplyToImplicitArgs
|
scala.concurrent.Future.apply
|
|
scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](DefaultSendMailPublisherServiceComponent.this.config.getInt("make-api.report-proposal.template-id"));
<artifact> val x$2: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("reason").->[String](reason.toString()), scala.Predef.ArrowAssoc[String]("proposal_id").->[String](proposalId.value), scala.Predef.ArrowAssoc[String]("proposal_language").->[String](proposalLanguage.value), scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.contentTranslations.flatMap[String](((x$46: org.make.core.technical.Multilingual[String]) => x$46.getTranslation(proposalLanguage))).getOrElse[String](proposal.content)), scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None))));
<artifact> val x$3: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(DefaultSendMailPublisherServiceComponent.this.config.getString("make-api.report-proposal.recipient"), scala.Some.apply[String]("Moderators"), Recipient.apply$default$3));
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$3, x$9, x$10, x$11, x$12, x$13)
})))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
955
|
6321
|
39031
-
40191
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](DefaultSendMailPublisherServiceComponent.this.config.getInt("make-api.report-proposal.template-id"));
<artifact> val x$2: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("reason").->[String](reason.toString()), scala.Predef.ArrowAssoc[String]("proposal_id").->[String](proposalId.value), scala.Predef.ArrowAssoc[String]("proposal_language").->[String](proposalLanguage.value), scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.contentTranslations.flatMap[String](((x$46: org.make.core.technical.Multilingual[String]) => x$46.getTranslation(proposalLanguage))).getOrElse[String](proposal.content)), scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None))));
<artifact> val x$3: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(DefaultSendMailPublisherServiceComponent.this.config.getString("make-api.report-proposal.recipient"), scala.Some.apply[String]("Moderators"), Recipient.apply$default$3));
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$3, x$9, x$10, x$11, x$12, x$13)
}))
|
|
956
|
6725
|
39072
-
40175
|
Apply
|
org.make.api.technical.crm.SendMessages.apply
|
|
SendMessages.apply({
<artifact> val x$1: Some[Int] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Int](DefaultSendMailPublisherServiceComponent.this.config.getInt("make-api.report-proposal.template-id"));
<artifact> val x$2: Some[scala.collection.immutable.Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("reason").->[String](reason.toString()), scala.Predef.ArrowAssoc[String]("proposal_id").->[String](proposalId.value), scala.Predef.ArrowAssoc[String]("proposal_language").->[String](proposalLanguage.value), scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.contentTranslations.flatMap[String](((x$46: org.make.core.technical.Multilingual[String]) => x$46.getTranslation(proposalLanguage))).getOrElse[String](proposal.content)), scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None))));
<artifact> val x$3: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(DefaultSendMailPublisherServiceComponent.this.config.getString("make-api.report-proposal.recipient"), scala.Some.apply[String]("Moderators"), Recipient.apply$default$3));
<artifact> val x$4: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$1;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$2;
<artifact> val x$6: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$3;
<artifact> val x$7: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$4;
<artifact> val x$8: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$5;
<artifact> val x$9: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$9;
<artifact> val x$10: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$10;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$11;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$12;
<artifact> val x$13: Option[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = SendEmail.create$default$13;
SendEmail.create(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$3, x$9, x$10, x$11, x$12, x$13)
})
|
|
957
|
6139
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
957
|
7835
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$11
|
|
SendEmail.create$default$11
|
|
957
|
6851
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
957
|
7051
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
957
|
6067
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
957
|
7601
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
957
|
7012
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$12
|
|
SendEmail.create$default$12
|
|
957
|
6317
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
957
|
7558
|
39104
-
40157
|
Apply
|
org.make.api.technical.crm.SendEmail.create
|
|
SendEmail.create(x$4, x$5, x$6, x$7, x$8, x$1, x$2, x$3, x$9, x$10, x$11, x$12, x$13)
|
|
957
|
6044
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
957
|
7578
|
39114
-
39114
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
958
|
6913
|
39160
-
39213
|
Apply
|
com.typesafe.config.Config.getInt
|
|
DefaultSendMailPublisherServiceComponent.this.config.getInt("make-api.report-proposal.template-id")
|
|
958
|
6138
|
39155
-
39214
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](DefaultSendMailPublisherServiceComponent.this.config.getInt("make-api.report-proposal.template-id"))
|
|
959
|
6313
|
39248
-
39990
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[scala.collection.immutable.Map[String,String]](scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("reason").->[String](reason.toString()), scala.Predef.ArrowAssoc[String]("proposal_id").->[String](proposalId.value), scala.Predef.ArrowAssoc[String]("proposal_language").->[String](proposalLanguage.value), scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.contentTranslations.flatMap[String](((x$46: org.make.core.technical.Multilingual[String]) => x$46.getTranslation(proposalLanguage))).getOrElse[String](proposal.content)), scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None))))
|
|
960
|
7095
|
39276
-
39968
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("reason").->[String](reason.toString()), scala.Predef.ArrowAssoc[String]("proposal_id").->[String](proposalId.value), scala.Predef.ArrowAssoc[String]("proposal_language").->[String](proposalLanguage.value), scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.contentTranslations.flatMap[String](((x$46: org.make.core.technical.Multilingual[String]) => x$46.getTranslation(proposalLanguage))).getOrElse[String](proposal.content)), scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None)))
|
|
961
|
7132
|
39317
-
39332
|
Apply
|
java.lang.Object.toString
|
|
reason.toString()
|
|
961
|
7580
|
39305
-
39313
|
Literal
|
<nosymbol>
|
|
"reason"
|
|
961
|
6277
|
39305
-
39332
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("reason").->[String](reason.toString())
|
|
962
|
7661
|
39358
-
39371
|
Literal
|
<nosymbol>
|
|
"proposal_id"
|
|
962
|
6889
|
39375
-
39391
|
Select
|
org.make.core.proposal.ProposalId.value
|
|
proposalId.value
|
|
962
|
6371
|
39358
-
39391
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_id").->[String](proposalId.value)
|
|
963
|
7817
|
39417
-
39436
|
Literal
|
<nosymbol>
|
|
"proposal_language"
|
|
963
|
6142
|
39417
-
39462
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_language").->[String](proposalLanguage.value)
|
|
963
|
7040
|
39440
-
39462
|
Select
|
org.make.core.reference.Language.value
|
|
proposalLanguage.value
|
|
964
|
7524
|
39488
-
39503
|
Literal
|
<nosymbol>
|
|
"proposal_text"
|
|
964
|
6858
|
39488
-
39691
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.contentTranslations.flatMap[String](((x$46: org.make.core.technical.Multilingual[String]) => x$46.getTranslation(proposalLanguage))).getOrElse[String](proposal.content))
|
|
966
|
7085
|
39599
-
39633
|
Apply
|
org.make.core.technical.Multilingual.getTranslation
|
|
x$46.getTranslation(proposalLanguage)
|
|
967
|
6283
|
39674
-
39690
|
Select
|
org.make.core.proposal.Proposal.content
|
|
proposal.content
|
|
967
|
7729
|
39533
-
39691
|
Apply
|
scala.Option.getOrElse
|
|
proposal.contentTranslations.flatMap[String](((x$46: org.make.core.technical.Multilingual[String]) => x$46.getTranslation(proposalLanguage))).getOrElse[String](proposal.content)
|
|
968
|
6004
|
39717
-
39731
|
Literal
|
<nosymbol>
|
|
"proposal_url"
|
|
968
|
7490
|
39717
-
39944
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_url").->[String](DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None))
|
|
968
|
6078
|
39735
-
39944
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None)
|
|
969
|
7781
|
39771
-
39813
|
Select
|
org.make.api.extensions.MailJetTemplateConfiguration.backofficeUrl
|
|
DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl
|
|
971
|
6907
|
39914
-
39918
|
Select
|
scala.None
|
|
scala.None
|
|
976
|
5969
|
40051
-
40051
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
976
|
7598
|
40061
-
40115
|
Apply
|
com.typesafe.config.Config.getString
|
|
DefaultSendMailPublisherServiceComponent.this.config.getString("make-api.report-proposal.recipient")
|
|
976
|
6883
|
40117
-
40135
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Moderators")
|
|
976
|
7789
|
40051
-
40136
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(DefaultSendMailPublisherServiceComponent.this.config.getString("make-api.report-proposal.recipient"), scala.Some.apply[String]("Moderators"), Recipient.apply$default$3)
|
|
976
|
7005
|
40047
-
40137
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[org.make.api.technical.crm.Recipient](Recipient.apply(DefaultSendMailPublisherServiceComponent.this.config.getString("make-api.report-proposal.recipient"), scala.Some.apply[String]("Moderators"), Recipient.apply$default$3))
|