| 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
|
11182
-
11195
|
Literal
|
<nosymbol>
|
|
"d MMMM yyyy"
|
|
305
|
6800
|
11145
-
11255
|
Apply
|
java.time.format.DateTimeFormatter.withLocale
|
|
java.time.format.DateTimeFormatter.ofPattern("d MMMM yyyy").withLocale(new java.util.Locale(country.value.toLowerCase()))
|
|
305
|
5872
|
11228
-
11253
|
Apply
|
java.lang.String.toLowerCase
|
|
country.value.toLowerCase()
|
|
305
|
7319
|
11217
-
11254
|
Apply
|
java.util.Locale.<init>
|
|
new java.util.Locale(country.value.toLowerCase())
|
|
307
|
6027
|
11299
-
11301
|
Literal
|
<nosymbol>
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
50
|
|
316
|
5664
|
11519
-
12816
|
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(country).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
|
11554
-
11597
|
Apply
|
scala.Option.getOrElse
|
|
opQuestion.consultationHeader.getOrElse[String]("")
|
|
317
|
7385
|
11532
-
11550
|
Literal
|
<nosymbol>
|
|
"operation_header"
|
|
317
|
5730
|
11532
-
11597
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation_header").->[String](opQuestion.consultationHeader.getOrElse[String](""))
|
|
318
|
5998
|
11607
-
11742
|
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
|
11607
-
11629
|
Literal
|
<nosymbol>
|
|
"operation_header_alt"
|
|
319
|
6651
|
11686
-
11712
|
Apply
|
org.make.core.technical.Multilingual.getTranslation
|
|
x$14.getTranslation(language)
|
|
320
|
6447
|
11633
-
11742
|
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
|
11730
-
11732
|
Literal
|
<nosymbol>
|
|
""
|
|
320
|
7292
|
11734
-
11741
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$15.value
|
|
321
|
7352
|
11752
-
11768
|
Literal
|
<nosymbol>
|
|
"proposal_count"
|
|
321
|
5689
|
11752
-
11806
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_count").->[String](opQuestion.proposalsCount.toString())
|
|
321
|
6586
|
11772
-
11806
|
Apply
|
scala.Any.toString
|
|
opQuestion.proposalsCount.toString()
|
|
322
|
7521
|
11816
-
11828
|
Literal
|
<nosymbol>
|
|
"vote_count"
|
|
322
|
6755
|
11832
-
11862
|
Apply
|
scala.Any.toString
|
|
opQuestion.votesCount.toString()
|
|
322
|
5818
|
11816
-
11862
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("vote_count").->[String](opQuestion.votesCount.toString())
|
|
323
|
7215
|
11872
-
11882
|
Literal
|
<nosymbol>
|
|
"end_date"
|
|
323
|
7355
|
11872
-
11940
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("end_date").->[String](DefaultSendMailPublisherService.this.localDateFormatter(country).format(opQuestion.endDate))
|
|
323
|
6404
|
11921
-
11939
|
Select
|
org.make.core.operation.OperationOfQuestion.endDate
|
|
opQuestion.endDate
|
|
323
|
6002
|
11886
-
11940
|
Apply
|
java.time.format.DateTimeFormatter.format
|
|
DefaultSendMailPublisherService.this.localDateFormatter(country).format(opQuestion.endDate)
|
|
324
|
6501
|
11950
-
11964
|
Literal
|
<nosymbol>
|
|
"sequence_url"
|
|
324
|
5819
|
11968
-
11968
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl$default$5
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5
|
|
324
|
5696
|
11985
-
11998
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
324
|
7487
|
12000
-
12021
|
Select
|
org.make.core.sequence.SequenceKind.Standard
|
|
org.make.core.sequence.SequenceKind.Standard
|
|
324
|
6760
|
12032
-
12036
|
Literal
|
<nosymbol>
|
|
true
|
|
324
|
6413
|
11950
-
12037
|
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
|
11968
-
12037
|
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
|
12079
-
12151
|
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
|
12111
-
12135
|
Select
|
org.make.core.sequence.SequenceKind.Controversy
|
|
org.make.core.sequence.SequenceKind.Controversy
|
|
325
|
7131
|
12079
-
12079
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl$default$5
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5
|
|
325
|
5929
|
12047
-
12075
|
Literal
|
<nosymbol>
|
|
"controversial_sequence_url"
|
|
325
|
5928
|
12047
-
12151
|
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
|
12096
-
12109
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
325
|
5766
|
12146
-
12150
|
Literal
|
<nosymbol>
|
|
true
|
|
326
|
7156
|
12161
-
12257
|
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
|
12219
-
12241
|
Select
|
org.make.core.sequence.SequenceKind.Consensus
|
|
org.make.core.sequence.SequenceKind.Consensus
|
|
326
|
5770
|
12187
-
12257
|
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
|
12187
-
12187
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildSequenceUrl$default$5
|
|
DefaultSendMailPublisherServiceComponent.this.buildSequenceUrl$default$5
|
|
326
|
6469
|
12204
-
12217
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
326
|
7288
|
12161
-
12183
|
Literal
|
<nosymbol>
|
|
"popular_sequence_url"
|
|
326
|
7327
|
12252
-
12256
|
Literal
|
<nosymbol>
|
|
true
|
|
327
|
7251
|
12267
-
12336
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value)
|
|
327
|
5845
|
12281
-
12336
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
question.questions.getTranslationUnsafe(language).value
|
|
327
|
6732
|
12267
-
12277
|
Literal
|
<nosymbol>
|
|
"question"
|
|
328
|
6471
|
12346
-
12363
|
Literal
|
<nosymbol>
|
|
"operation_title"
|
|
328
|
7421
|
12346
-
12435
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation_title").->[String](opQuestion.operationTitles.getTranslationUnsafe(language))
|
|
329
|
6001
|
12367
-
12435
|
Apply
|
org.make.core.technical.Multilingual.getTranslationUnsafe
|
|
opQuestion.operationTitles.getTranslationUnsafe(language)
|
|
330
|
6543
|
12445
-
12461
|
Literal
|
<nosymbol>
|
|
"operation_type"
|
|
330
|
7122
|
12445
-
12506
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("operation_type").->[String](operation.operationKind.value.toLowerCase())
|
|
330
|
5739
|
12465
-
12506
|
Apply
|
java.lang.String.toLowerCase
|
|
operation.operationKind.value.toLowerCase()
|
|
331
|
5833
|
12536
-
12574
|
Apply
|
scala.Option.getOrElse
|
|
opQuestion.partnersLogos.getOrElse[String]("")
|
|
331
|
6694
|
12516
-
12532
|
Literal
|
<nosymbol>
|
|
"partners_logos"
|
|
331
|
7255
|
12516
-
12574
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("partners_logos").->[String](opQuestion.partnersLogos.getOrElse[String](""))
|
|
332
|
6408
|
12584
-
12604
|
Literal
|
<nosymbol>
|
|
"partners_logos_alt"
|
|
332
|
7454
|
12645
-
12652
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$16.value
|
|
332
|
6518
|
12608
-
12653
|
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
|
12584
-
12653
|
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
|
12641
-
12643
|
Literal
|
<nosymbol>
|
|
""
|
|
333
|
6668
|
12685
-
12725
|
Apply
|
scala.Option.getOrElse
|
|
opQuestion.initiatorsLogos.getOrElse[String]("")
|
|
333
|
5926
|
12663
-
12725
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("initiators_logos").->[String](opQuestion.initiatorsLogos.getOrElse[String](""))
|
|
333
|
7128
|
12663
-
12681
|
Literal
|
<nosymbol>
|
|
"initiators_logos"
|
|
334
|
7412
|
12761
-
12808
|
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
|
12796
-
12798
|
Literal
|
<nosymbol>
|
|
""
|
|
334
|
6622
|
12735
-
12808
|
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
|
12735
-
12757
|
Literal
|
<nosymbol>
|
|
"initiators_logos_alt"
|
|
334
|
7815
|
12800
-
12807
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$17.value
|
|
338
|
7082
|
12901
-
12935
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
context.questionContext.questionId
|
|
339
|
5883
|
12965
-
13015
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new scala.`package`.Exception("QuestionId missing"))
|
|
339
|
6280
|
12979
-
13014
|
Apply
|
java.lang.Exception.<init>
|
|
new scala.`package`.Exception("QuestionId missing")
|
|
341
|
7088
|
13059
-
13375
|
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
|
13073
-
13127
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
344
|
6375
|
13156
-
13156
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
344
|
7777
|
13073
-
13196
|
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
|
13210
-
13280
|
Apply
|
org.make.api.operation.OperationOfQuestionService.findByQuestionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)
|
|
347
|
6486
|
13309
-
13309
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
347
|
5736
|
13210
-
13363
|
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
|
13380
-
13380
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
348
|
6357
|
13380
-
13380
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
348
|
7851
|
13380
-
13380
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
348
|
6890
|
13380
-
13380
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
351
|
6309
|
13513
-
13535
|
Select
|
org.make.core.operation.OperationOfQuestion.operationId
|
|
opQuestion.operationId
|
|
351
|
5889
|
13469
-
13536
|
Apply
|
org.make.api.operation.OperationService.findOne
|
|
DefaultSendMailPublisherServiceComponent.this.operationService.findOne(opQuestion.operationId)
|
|
352
|
7253
|
13569
-
13569
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
353
|
7603
|
13469
-
16494
|
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
|
13650
-
13650
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
355
|
6453
|
13707
-
13725
|
Select
|
org.make.core.question.Question.countries
|
|
question.countries
|
|
355
|
7786
|
13716
-
13716
|
Select
|
cats.data.NonEmptyListInstances.catsDataInstancesForNonEmptyListBinCompat1
|
|
data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1
|
|
356
|
6184
|
13760
-
13760
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
356
|
5654
|
13760
-
13760
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
356
|
7109
|
13707
-
16474
|
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
|
13910
-
13923
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
360
|
6916
|
13827
-
16448
|
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
|
13972
-
13972
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
362
|
7161
|
14065
-
14117
|
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
|
14105
-
14116
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply(x$19)
|
|
362
|
6594
|
14089
-
14103
|
Apply
|
org.make.core.reference.Language.apply
|
|
org.make.core.reference.Language.apply("fr")
|
|
363
|
6315
|
14016
-
14160
|
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
|
14154
-
14154
|
Select
|
cats.instances.ListInstances.catsStdInstancesForList
|
|
cats.implicits.catsStdInstancesForList
|
|
364
|
7616
|
14205
-
14205
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
364
|
6392
|
14016
-
16415
|
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
|
14205
-
14205
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
367
|
7769
|
14390
-
14415
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](question.questionId)
|
|
367
|
7009
|
14417
-
14431
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.reference.Language](language)
|
|
367
|
6521
|
14308
-
14432
|
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
|
14374
-
14388
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice
|
|
org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice
|
|
367
|
6454
|
14395
-
14414
|
Select
|
org.make.core.question.Question.questionId
|
|
question.questionId
|
|
368
|
5704
|
14487
-
14487
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
369
|
7102
|
14601
-
14601
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
369
|
6215
|
14308
-
16378
|
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
|
14718
-
14791
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.makeVoteOnlyVariables
|
|
DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language)
|
|
372
|
6938
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$12
|
|
MailjetGlobalsVariables.apply$default$12
|
|
372
|
6507
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$1
|
|
MailjetGlobalsVariables.apply$default$1
|
|
372
|
7200
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$8
|
|
MailjetGlobalsVariables.apply$default$8
|
|
372
|
5711
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$2
|
|
MailjetGlobalsVariables.apply$default$2
|
|
372
|
6590
|
14857
-
15181
|
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
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$5
|
|
MailjetGlobalsVariables.apply$default$5
|
|
372
|
7783
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$10
|
|
MailjetGlobalsVariables.apply$default$10
|
|
372
|
6428
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$9
|
|
MailjetGlobalsVariables.apply$default$9
|
|
372
|
7046
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$3
|
|
MailjetGlobalsVariables.apply$default$3
|
|
372
|
6253
|
14857
-
14857
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$4
|
|
MailjetGlobalsVariables.apply$default$4
|
|
373
|
7225
|
14939
-
14965
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(template.value).toInt)
|
|
373
|
5855
|
14944
-
14964
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(template.value).toInt
|
|
373
|
6278
|
14944
-
14958
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
template.value
|
|
374
|
6421
|
15023
-
15038
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Map[String,String]](variables)
|
|
375
|
7774
|
15110
-
15136
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
375
|
6954
|
15105
-
15137
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
378
|
5673
|
15283
-
15306
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.MailjetMaximumBatchSize
|
|
DefaultSendMailPublisherService.this.MailjetMaximumBatchSize
|
|
378
|
7049
|
15308
-
15331
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.MailjetMaximumBatchSize
|
|
DefaultSendMailPublisherService.this.MailjetMaximumBatchSize
|
|
380
|
7139
|
15439
-
16126
|
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
|
15563
-
15570
|
Select
|
org.make.api.technical.crm.PersistentCrmUser.email
|
|
x$20.email
|
|
381
|
7299
|
15536
-
15571
|
Apply
|
scala.Option.fold
|
|
batch.headOption.fold[String]("-")(((x$20: org.make.api.technical.crm.PersistentCrmUser) => x$20.email))
|
|
381
|
6258
|
15558
-
15561
|
Literal
|
<nosymbol>
|
|
"-"
|
|
381
|
6350
|
15506
-
15572
|
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
|
15632
-
15654
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables)
|
|
383
|
6147
|
15715
-
16010
|
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
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
386
|
7820
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
386
|
7138
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$7
|
|
SendEmail.create$default$7
|
|
386
|
5777
|
15941
-
15957
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](c.fullName)
|
|
386
|
5708
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$6
|
|
SendEmail.create$default$6
|
|
386
|
7263
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
386
|
6228
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
386
|
6186
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
386
|
6978
|
15833
-
15960
|
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
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
386
|
6975
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
386
|
6218
|
15922
-
15958
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(c.email, scala.Some.apply[String](c.fullName), Recipient.apply$default$3)
|
|
386
|
6424
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$12
|
|
SendEmail.create$default$12
|
|
386
|
7052
|
15922
-
15922
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
386
|
6418
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
386
|
7701
|
15918
-
15959
|
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
|
15898
-
15898
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$11
|
|
SendEmail.create$default$11
|
|
386
|
6549
|
15946
-
15956
|
Select
|
org.make.api.technical.crm.PersistentCrmUser.fullName
|
|
c.fullName
|
|
386
|
7007
|
15932
-
15939
|
Select
|
org.make.api.technical.crm.PersistentCrmUser.email
|
|
c.email
|
|
388
|
5670
|
16074
-
16078
|
Select
|
scala.None
|
|
scala.None
|
|
391
|
7670
|
16219
-
16219
|
Select
|
cats.instances.ListInstances.catsStdInstancesForList
|
|
cats.implicits.catsStdInstancesForList
|
|
391
|
6210
|
15224
-
16225
|
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
|
16280
-
16280
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
392
|
5675
|
15224
-
16335
|
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
|
16280
-
16280
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
392
|
7203
|
16300
-
16333
|
Apply
|
org.make.api.technical.EventBusService.publish
|
|
DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages)
|
|
392
|
6382
|
16299
-
16299
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
392
|
7823
|
16293
-
16334
|
ApplyToImplicitArgs
|
scala.concurrent.Future.apply
|
|
scala.concurrent.Future.apply[Unit](DefaultSendMailPublisherServiceComponent.this.eventBusService.publish(messages))(scala.concurrent.ExecutionContext.Implicits.global)
|
|
399
|
6145
|
16522
-
16522
|
TypeApply
|
scala.<:<.refl
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.this.<:<.refl[scala.concurrent.Future[Unit]]
|
|
399
|
5753
|
13059
-
16529
|
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
|
16636
-
16670
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
|
context.questionContext.questionId
|
|
404
|
7665
|
16700
-
16750
|
Apply
|
scala.concurrent.Future.failed
|
|
scala.concurrent.Future.failed[Nothing](new scala.`package`.Exception("QuestionId missing"))
|
|
404
|
6325
|
16714
-
16749
|
Apply
|
java.lang.Exception.<init>
|
|
new scala.`package`.Exception("QuestionId missing")
|
|
406
|
6867
|
16794
-
17197
|
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
|
16849
-
16849
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
407
|
7853
|
16808
-
16881
|
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
|
16808
-
16835
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(userId)
|
|
409
|
7023
|
16895
-
16949
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
410
|
6151
|
16978
-
16978
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
410
|
7565
|
16895
-
17018
|
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
|
17032
-
17102
|
Apply
|
org.make.api.operation.OperationOfQuestionService.findByQuestionId
|
|
DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)
|
|
413
|
7634
|
17032
-
17185
|
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
|
17131
-
17131
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
414
|
6929
|
17202
-
17202
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
414
|
7589
|
16794
-
18990
|
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
|
17202
-
17202
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
414
|
6158
|
17202
-
17202
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
414
|
7342
|
17202
-
17202
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
417
|
7790
|
17299
-
17364
|
Apply
|
org.make.api.operation.OperationService.findOne
|
|
DefaultSendMailPublisherServiceComponent.this.operationService.findOne(opQuestion.operationId)
|
|
417
|
6351
|
17341
-
17363
|
Select
|
org.make.core.operation.OperationOfQuestion.operationId
|
|
opQuestion.operationId
|
|
418
|
7029
|
17395
-
17395
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
419
|
7675
|
17299
-
18978
|
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
|
17474
-
17474
|
Literal
|
<nosymbol>
|
|
()
|
|
419
|
6235
|
17474
-
17474
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
420
|
6109
|
17508
-
17526
|
Select
|
org.make.core.question.Question.languages
|
|
question.languages
|
|
420
|
7570
|
17517
-
17517
|
Select
|
cats.data.NonEmptyListInstances.catsDataInstancesForNonEmptyListBinCompat1
|
|
data.this.NonEmptyList.catsDataInstancesForNonEmptyListBinCompat1
|
|
420
|
6640
|
17508
-
18959
|
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
|
17536
-
17536
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
420
|
6191
|
17536
-
17536
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
423
|
6821
|
17592
-
17691
|
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
|
17642
-
17656
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice
|
|
org.make.core.crmTemplate.CrmTemplateKind.VoteOnlyNotice
|
|
423
|
6263
|
17658
-
17674
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
423
|
7638
|
17676
-
17690
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.reference.Language](language)
|
|
424
|
5976
|
17730
-
17730
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
425
|
6925
|
17592
-
18939
|
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
|
17828
-
17828
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
426
|
7796
|
17885
-
17908
|
Select
|
cats.data.NonEmptyList.head
|
|
question.countries.head
|
|
427
|
7013
|
17951
-
18024
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.makeVoteOnlyVariables
|
|
DefaultSendMailPublisherService.this.makeVoteOnlyVariables(country, operation, opQuestion, question, language)
|
|
428
|
5942
|
18074
-
18336
|
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
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$4
|
|
MailjetGlobalsVariables.apply$default$4
|
|
428
|
6297
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$9
|
|
MailjetGlobalsVariables.apply$default$9
|
|
428
|
6862
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$12
|
|
MailjetGlobalsVariables.apply$default$12
|
|
428
|
7756
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$2
|
|
MailjetGlobalsVariables.apply$default$2
|
|
428
|
7065
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$8
|
|
MailjetGlobalsVariables.apply$default$8
|
|
428
|
7714
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$10
|
|
MailjetGlobalsVariables.apply$default$10
|
|
428
|
7468
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$5
|
|
MailjetGlobalsVariables.apply$default$5
|
|
428
|
7019
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$3
|
|
MailjetGlobalsVariables.apply$default$3
|
|
428
|
5981
|
18074
-
18074
|
Select
|
org.make.api.technical.crm.MailjetGlobalsVariables.apply$default$1
|
|
MailjetGlobalsVariables.apply$default$1
|
|
429
|
6115
|
18145
-
18161
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
429
|
7466
|
18145
-
18167
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
429
|
7059
|
18140
-
18168
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
430
|
6266
|
18210
-
18225
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Map[String,String]](variables)
|
|
431
|
7709
|
18281
-
18307
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
431
|
6828
|
18276
-
18308
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
433
|
6790
|
18370
-
18370
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
433
|
6020
|
18363
-
18912
|
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
|
18400
-
18884
|
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
|
18455
-
18854
|
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
|
18536
-
18546
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
436
|
6983
|
18506
-
18547
|
Apply
|
org.make.api.technical.security.SecurityHelper.anonymizeEmail
|
|
org.make.api.technical.security.SecurityHelper.anonymizeEmail(user.email)
|
|
437
|
6193
|
18591
-
18613
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.MailjetGlobalsVariables](mailjetVariables)
|
|
439
|
6301
|
18731
-
18731
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
439
|
6818
|
18727
-
18768
|
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
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
439
|
6085
|
18697
-
18769
|
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
|
18692
-
18770
|
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
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
439
|
6826
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
439
|
7750
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$12
|
|
SendEmail.create$default$12
|
|
439
|
7535
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
439
|
6111
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
439
|
6715
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$6
|
|
SendEmail.create$default$6
|
|
439
|
7687
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
439
|
7567
|
18741
-
18751
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
439
|
6287
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$7
|
|
SendEmail.create$default$7
|
|
439
|
6014
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$11
|
|
SendEmail.create$default$11
|
|
439
|
6642
|
18753
-
18766
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
439
|
6035
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
439
|
7677
|
18731
-
18767
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
439
|
6989
|
18707
-
18707
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
440
|
6636
|
18818
-
18822
|
Select
|
scala.None
|
|
scala.None
|
|
451
|
6745
|
19122
-
19163
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
453
|
5809
|
19171
-
19193
|
Select
|
org.make.core.user.User.verificationToken
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.verificationToken
|
|
455
|
6871
|
19320
-
19333
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$21.crmLanguage
|
|
455
|
6012
|
19303
-
19334
|
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
|
19277
-
19289
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.Registration
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.Registration
|
|
455
|
7405
|
19344
-
19344
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
455
|
6612
|
19252
-
20779
|
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
|
19397
-
20730
|
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
|
19442
-
19442
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
458
|
5911
|
19475
-
20714
|
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
|
19518
-
20696
|
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
|
19562
-
19562
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
460
|
7575
|
19552
-
20676
|
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
|
19562
-
19562
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
460
|
7440
|
19562
-
19562
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
460
|
6689
|
19562
-
19562
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
460
|
6874
|
19562
-
19562
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
460
|
7188
|
19562
-
19562
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
460
|
6119
|
19562
-
19562
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
460
|
5954
|
19562
-
19562
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
461
|
6166
|
19605
-
19633
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
461
|
7346
|
19610
-
19626
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
461
|
6962
|
19610
-
19632
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
462
|
7497
|
19692
-
19702
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
462
|
6703
|
19711
-
19724
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
462
|
6876
|
19670
-
19726
|
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
|
19674
-
19674
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
462
|
7644
|
19674
-
19725
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
463
|
7434
|
19762
-
20532
|
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
|
19792
-
20508
|
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
|
19823
-
19834
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
465
|
6966
|
19823
-
19866
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
465
|
7381
|
19838
-
19866
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
466
|
6704
|
19894
-
20137
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))
|
|
466
|
6123
|
19894
-
19916
|
Literal
|
<nosymbol>
|
|
"email_validation_url"
|
|
466
|
7504
|
19920
-
20137
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getAccountValidationUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)
|
|
472
|
7648
|
20180
-
20233
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.operationId.map[String](((x$22: org.make.core.operation.OperationId) => x$22.value)).getOrElse[String]("")
|
|
472
|
5802
|
20165
-
20176
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
472
|
6771
|
20165
-
20233
|
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
|
20261
-
20328
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String](""))
|
|
473
|
7382
|
20275
-
20328
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.questionContext.question.getOrElse[String]("")
|
|
473
|
5985
|
20261
-
20271
|
Literal
|
<nosymbol>
|
|
"question"
|
|
474
|
6683
|
20356
-
20407
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String](""))
|
|
474
|
6130
|
20356
-
20366
|
Literal
|
<nosymbol>
|
|
"location"
|
|
474
|
7508
|
20370
-
20407
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.location.getOrElse[String]("")
|
|
475
|
6773
|
20435
-
20482
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))
|
|
475
|
5806
|
20435
-
20443
|
Literal
|
<nosymbol>
|
|
"source"
|
|
475
|
7719
|
20447
-
20482
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.source.getOrElse[String]("")
|
|
478
|
6496
|
20573
-
20577
|
Select
|
scala.None
|
|
scala.None
|
|
479
|
7476
|
20622
-
20654
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
479
|
6112
|
20627
-
20653
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
484
|
6041
|
20756
-
20767
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
487
|
7548
|
20808
-
20951
|
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
|
20835
-
20939
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("verification token required but not provided for user ".+(user.userId.value): String))
|
|
494
|
6682
|
21086
-
21127
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
|
requestContext.questionContext.questionId
|
|
496
|
5868
|
21135
-
21157
|
Select
|
org.make.core.user.User.verificationToken
|
|
user.verificationToken
|
|
498
|
5944
|
21273
-
21304
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Language](((x$23: org.make.core.profile.Profile) => x$23.crmLanguage))
|
|
498
|
7284
|
21314
-
21314
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
498
|
7239
|
21241
-
21259
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.ResendRegistration
|
|
org.make.core.crmTemplate.CrmTemplateKind.ResendRegistration
|
|
498
|
6841
|
21290
-
21303
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$23.crmLanguage
|
|
498
|
6439
|
21216
-
22404
|
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
|
21367
-
22355
|
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
|
21412
-
21412
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
501
|
5784
|
21445
-
22339
|
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
|
21488
-
22321
|
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
|
21532
-
21532
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
503
|
5782
|
21532
-
21532
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
503
|
6610
|
21532
-
21532
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
503
|
6658
|
21532
-
21532
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
503
|
7313
|
21532
-
21532
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
503
|
5865
|
21532
-
21532
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
503
|
6433
|
21532
-
21532
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
503
|
7357
|
21522
-
22301
|
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
|
21532
-
21532
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
504
|
7371
|
21580
-
21596
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
504
|
6619
|
21580
-
21602
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
504
|
5725
|
21575
-
21603
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
505
|
7553
|
21662
-
21672
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
505
|
6649
|
21681
-
21694
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
505
|
7244
|
21644
-
21695
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
505
|
5829
|
21644
-
21644
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
505
|
6801
|
21640
-
21696
|
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
|
21732
-
22157
|
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
|
21762
-
22133
|
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
|
21808
-
21836
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
508
|
5950
|
21793
-
21804
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
508
|
6603
|
21793
-
21836
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
509
|
7592
|
21890
-
22107
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getAccountValidationUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign)
|
|
509
|
6653
|
21864
-
22107
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("email_validation_url").->[String](DefaultSendMailPublisherServiceComponent.this.getAccountValidationUrl(user, verificationToken, requestContext, utmCampaign))
|
|
509
|
5731
|
21864
-
21886
|
Literal
|
<nosymbol>
|
|
"email_validation_url"
|
|
517
|
6805
|
22198
-
22202
|
Select
|
scala.None
|
|
scala.None
|
|
518
|
6059
|
22252
-
22278
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
518
|
7354
|
22247
-
22279
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
523
|
5871
|
22381
-
22392
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
526
|
7386
|
22433
-
22576
|
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
|
22460
-
22564
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("verification token required but not provided for user ".+(user.userId.value): String))
|
|
533
|
6577
|
22719
-
22760
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
535
|
5684
|
22768
-
22783
|
Select
|
org.make.core.user.User.resetToken
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.resetToken
|
|
538
|
7152
|
22873
-
22890
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.ForgottenPassword
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.ForgottenPassword
|
|
538
|
6709
|
22921
-
22934
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$24.crmLanguage
|
|
538
|
5844
|
22904
-
22935
|
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
|
22835
-
24172
|
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
|
22953
-
22953
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
539
|
6271
|
22954
-
24171
|
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
|
22994
-
24157
|
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
|
23035
-
24141
|
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
|
23077
-
23077
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
542
|
7114
|
23077
-
23077
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
542
|
7804
|
23077
-
23077
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
542
|
6730
|
23077
-
23077
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
542
|
6542
|
23067
-
24123
|
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
|
23077
-
23077
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
542
|
6472
|
23077
-
23077
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
542
|
5793
|
23077
-
23077
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
542
|
7249
|
23077
-
23077
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
543
|
7290
|
23123
-
23139
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
543
|
6446
|
23123
-
23145
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
543
|
5996
|
23118
-
23146
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
544
|
6752
|
23181
-
23237
|
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
|
23203
-
23213
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
544
|
7157
|
23185
-
23236
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
544
|
6541
|
23222
-
23235
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
544
|
5688
|
23185
-
23185
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
545
|
6468
|
23271
-
23985
|
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
|
23299
-
23963
|
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
|
23343
-
23371
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
547
|
6405
|
23328
-
23371
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
547
|
5817
|
23328
-
23339
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
548
|
6003
|
23397
-
23421
|
Literal
|
<nosymbol>
|
|
"forgotten_password_url"
|
|
548
|
6502
|
23425
-
23602
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getForgottenPasswordUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName)
|
|
548
|
5694
|
23397
-
23602
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(user, resetToken, requestContext.applicationName))
|
|
551
|
7446
|
23546
-
23576
|
Select
|
org.make.core.RequestContext.applicationName
|
|
requestContext.applicationName
|
|
553
|
7123
|
23628
-
23639
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
553
|
6758
|
23643
-
23696
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.operationId.map[String](((x$26: org.make.core.operation.OperationId) => x$26.value)).getOrElse[String]("")
|
|
553
|
5919
|
23628
-
23696
|
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
|
23736
-
23789
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.questionContext.question.getOrElse[String]("")
|
|
554
|
7281
|
23722
-
23732
|
Literal
|
<nosymbol>
|
|
"question"
|
|
554
|
7863
|
23722
-
23789
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String](""))
|
|
555
|
6620
|
23829
-
23866
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.location.getOrElse[String]("")
|
|
555
|
7457
|
23815
-
23825
|
Literal
|
<nosymbol>
|
|
"location"
|
|
555
|
5767
|
23815
-
23866
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String](""))
|
|
556
|
5927
|
23892
-
23939
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))
|
|
556
|
7130
|
23892
-
23900
|
Literal
|
<nosymbol>
|
|
"source"
|
|
556
|
6726
|
23904
-
23939
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.source.getOrElse[String]("")
|
|
559
|
7869
|
24024
-
24028
|
Select
|
scala.None
|
|
scala.None
|
|
560
|
6539
|
24071
-
24103
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
560
|
7415
|
24076
-
24102
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
566
|
7810
|
24201
-
24337
|
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
|
24228
-
24325
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("reset token required but not provided for user ".+(user.userId.value): String))
|
|
576
|
7376
|
24518
-
24559
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
578
|
6516
|
24567
-
24590
|
Select
|
org.make.core.user.User.resetToken
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
organisation.resetToken
|
|
581
|
6274
|
24714
-
24753
|
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
|
24739
-
24752
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$27.crmLanguage
|
|
581
|
5744
|
24680
-
24700
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BForgottenPassword
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.B2BForgottenPassword
|
|
582
|
6934
|
24772
-
25944
|
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
|
24771
-
24771
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
582
|
5709
|
24642
-
25945
|
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
|
24812
-
25930
|
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
|
24853
-
25914
|
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
|
24895
-
24895
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
585
|
7162
|
24895
-
24895
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
585
|
7703
|
24895
-
24895
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
585
|
6455
|
24895
-
24895
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
585
|
7008
|
24895
-
24895
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
585
|
5701
|
24895
-
24895
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
585
|
7226
|
24885
-
25896
|
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
|
24895
-
24895
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
585
|
7767
|
24895
-
24895
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
586
|
6369
|
24936
-
24964
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
586
|
7224
|
24941
-
24963
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
586
|
5923
|
24941
-
24957
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
587
|
5705
|
25003
-
25070
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(organisation.email, organisation.fullName, Recipient.apply$default$3)
|
|
587
|
6623
|
25003
-
25003
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
587
|
7036
|
25048
-
25069
|
Select
|
org.make.core.user.User.fullName
|
|
organisation.fullName
|
|
587
|
7080
|
24999
-
25071
|
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
|
25021
-
25039
|
Select
|
org.make.core.user.User.email
|
|
organisation.email
|
|
588
|
7160
|
25105
-
25758
|
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
|
25133
-
25736
|
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
|
25162
-
25186
|
Literal
|
<nosymbol>
|
|
"forgotten_password_url"
|
|
590
|
7322
|
25190
-
25375
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.getForgottenPasswordUrl
|
|
DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName)
|
|
590
|
6346
|
25162
-
25375
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("forgotten_password_url").->[String](DefaultSendMailPublisherServiceComponent.this.getForgottenPasswordUrl(organisation, resetToken, requestContext.applicationName))
|
|
593
|
5878
|
25319
-
25349
|
Select
|
org.make.core.RequestContext.applicationName
|
|
requestContext.applicationName
|
|
595
|
7042
|
25416
-
25469
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.operationId.map[String](((x$29: org.make.core.operation.OperationId) => x$29.value)).getOrElse[String]("")
|
|
595
|
6583
|
25401
-
25469
|
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
|
25401
-
25412
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
596
|
7089
|
25509
-
25562
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.questionContext.question.getOrElse[String]("")
|
|
596
|
5734
|
25495
-
25505
|
Literal
|
<nosymbol>
|
|
"question"
|
|
596
|
6308
|
25495
-
25562
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](requestContext.questionContext.question.getOrElse[String](""))
|
|
597
|
5888
|
25588
-
25598
|
Literal
|
<nosymbol>
|
|
"location"
|
|
597
|
7295
|
25602
-
25639
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.location.getOrElse[String]("")
|
|
597
|
6451
|
25588
-
25639
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](requestContext.location.getOrElse[String](""))
|
|
598
|
7784
|
25665
-
25673
|
Literal
|
<nosymbol>
|
|
"source"
|
|
598
|
7003
|
25677
-
25712
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.source.getOrElse[String]("")
|
|
598
|
6592
|
25665
-
25712
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](requestContext.source.getOrElse[String](""))
|
|
601
|
6316
|
25797
-
25801
|
Select
|
scala.None
|
|
scala.None
|
|
602
|
7698
|
25849
-
25875
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
602
|
7219
|
25844
-
25876
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
608
|
6251
|
25974
-
26154
|
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
|
26001
-
26142
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("reset token required but not provided for organisation ".+(organisation.userId.value): String))
|
|
617
|
7613
|
26310
-
26351
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
620
|
7201
|
26393
-
26408
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BEmailChanged
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.B2BEmailChanged
|
|
620
|
6426
|
26439
-
26452
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$30.crmLanguage
|
|
620
|
7735
|
26422
-
26453
|
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
|
26467
-
26467
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
621
|
6385
|
26359
-
26625
|
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
|
26468
-
26624
|
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
|
26528
-
26613
|
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
|
26592
-
26611
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("email").->[String](newEmail)
|
|
622
|
5671
|
26588
-
26612
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String]("email").->[String](newEmail))
|
|
622
|
6936
|
26560
-
26586
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
622
|
6212
|
26504
-
26614
|
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
|
26930
-
28666
|
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
|
26953
-
26953
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
634
|
7738
|
26956
-
27017
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.getProposal
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.proposalCoordinatorService.getProposal(proposalId)
|
|
635
|
6911
|
27042
-
27042
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
636
|
6857
|
27094
-
28666
|
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
|
27099
-
27099
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
637
|
6181
|
27133
-
27148
|
Select
|
org.make.core.proposal.Proposal.author
|
|
proposal.author
|
|
637
|
5776
|
27102
-
27149
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author)
|
|
638
|
7172
|
27174
-
27174
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
639
|
7084
|
27278
-
27278
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
639
|
6322
|
27267
-
28666
|
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
|
27310
-
27329
|
Select
|
org.make.core.proposal.Proposal.questionId
|
|
proposal.questionId
|
|
640
|
7702
|
27281
-
27330
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[Option[org.make.core.question.QuestionId]](proposal.questionId)
|
|
641
|
6887
|
27355
-
27355
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
642
|
7582
|
27425
-
28666
|
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
|
27434
-
27434
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
643
|
6416
|
27437
-
27487
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
644
|
7848
|
27512
-
27512
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
647
|
7849
|
27673
-
27673
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
647
|
7014
|
27653
-
28666
|
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
|
27676
-
27742
|
Apply
|
org.make.api.operation.OperationOfQuestionService.findByQuestionId
|
|
DefaultSendMailPublisherServiceComponent.this.operationOfQuestionService.findByQuestionId(questionId)
|
|
649
|
6185
|
27767
-
27767
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
652
|
6853
|
27919
-
27919
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
652
|
6458
|
27908
-
28666
|
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
|
27958
-
27985
|
Apply
|
scala.Function1.apply
|
|
templateKind.apply(user.userType)
|
|
653
|
5749
|
27971
-
27984
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
653
|
6891
|
28005
-
28036
|
Apply
|
scala.Option.map
|
|
user.profile.map[org.make.core.reference.Language](((x$34: org.make.core.profile.Profile) => x$34.crmLanguage))
|
|
653
|
7662
|
28022
-
28035
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$34.crmLanguage
|
|
653
|
6373
|
27922
-
28037
|
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
|
27987
-
28003
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
654
|
7818
|
28062
-
28062
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
658
|
7602
|
28212
-
28666
|
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
|
28247
-
28656
|
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
|
28283
-
28283
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
660
|
7846
|
28283
-
28283
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
660
|
6885
|
28283
-
28283
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
660
|
7106
|
28273
-
28644
|
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
|
28283
-
28283
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
660
|
6068
|
28283
-
28283
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
660
|
6914
|
28283
-
28283
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
660
|
7599
|
28283
-
28283
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
660
|
7581
|
28283
-
28283
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
661
|
5668
|
28318
-
28346
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
661
|
6146
|
28323
-
28345
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
661
|
6977
|
28323
-
28339
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
662
|
7090
|
28397
-
28407
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
662
|
6211
|
28416
-
28429
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
662
|
6860
|
28379
-
28430
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
662
|
7667
|
28379
-
28379
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
662
|
6379
|
28375
-
28431
|
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
|
28464
-
28520
|
Apply
|
scala.Function4.apply
|
|
variables.apply(question, operationOfQuestion, user, proposal)
|
|
663
|
6908
|
28459
-
28521
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Map[String,String]](variables.apply(question, operationOfQuestion, user, proposal))
|
|
664
|
6079
|
28554
-
28558
|
Select
|
scala.None
|
|
scala.None
|
|
665
|
7098
|
28595
-
28630
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.moderation)
|
|
665
|
7491
|
28600
-
28629
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
671
|
6256
|
28706
-
28706
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
671
|
7096
|
28706
-
28706
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
671
|
7020
|
28682
-
28682
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
671
|
7633
|
28682
-
28878
|
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
|
28682
-
28682
|
ApplyToImplicitArgs
|
cats.instances.FutureInstances.catsStdInstancesForFuture
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
|
|
672
|
7564
|
28716
-
28870
|
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
|
29166
-
29179
|
Literal
|
<nosymbol>
|
|
"publication"
|
|
687
|
5823
|
29188
-
30501
|
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
|
29221
-
29546
|
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
|
29203
-
29217
|
Literal
|
<nosymbol>
|
|
"proposal_url"
|
|
688
|
7011
|
29203
-
29546
|
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
|
29293
-
29534
|
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
|
29313
-
29313
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
692
|
6819
|
29313
-
29520
|
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
|
29345
-
29358
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
694
|
7568
|
29383
-
29425
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.adaptUtmTerm
|
|
DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm("publication", user.userType)
|
|
694
|
6940
|
29396
-
29409
|
Literal
|
<nosymbol>
|
|
"publication"
|
|
694
|
6107
|
29411
-
29424
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
695
|
6671
|
29453
-
29464
|
Literal
|
<nosymbol>
|
|
"cta_share"
|
|
696
|
6262
|
29491
-
29504
|
Literal
|
<nosymbol>
|
|
"crm-transac"
|
|
700
|
6070
|
29558
-
29573
|
Literal
|
<nosymbol>
|
|
"proposal_text"
|
|
700
|
6673
|
29558
-
29593
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.content)
|
|
700
|
7534
|
29577
-
29593
|
Select
|
org.make.core.proposal.Proposal.content
|
|
proposal.content
|
|
701
|
7705
|
29620
-
29648
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
701
|
6224
|
29605
-
29616
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
701
|
6768
|
29605
-
29648
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
702
|
7751
|
29683
-
29718
|
Apply
|
scala.Option.getOrElse
|
|
user.organisationName.getOrElse[String]("")
|
|
702
|
7018
|
29660
-
29718
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("organisation_name").->[String](user.organisationName.getOrElse[String](""))
|
|
702
|
5938
|
29660
-
29679
|
Literal
|
<nosymbol>
|
|
"organisation_name"
|
|
703
|
6635
|
29730
-
29792
|
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
|
29730
-
29741
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
703
|
7563
|
29745
-
29792
|
Apply
|
scala.Option.getOrElse
|
|
question.operationId.map[String](((x$35: org.make.core.operation.OperationId) => x$35.value)).getOrElse[String]("")
|
|
704
|
6893
|
29804
-
29843
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](question.questionId.value)
|
|
704
|
7711
|
29818
-
29843
|
Select
|
org.make.core.question.QuestionId.value
|
|
question.questionId.value
|
|
704
|
6296
|
29804
-
29814
|
Literal
|
<nosymbol>
|
|
"question"
|
|
705
|
7338
|
29869
-
29916
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.location.getOrElse[String]("")
|
|
705
|
6031
|
29855
-
29865
|
Literal
|
<nosymbol>
|
|
"location"
|
|
705
|
6982
|
29855
-
29916
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](proposal.creationContext.location.getOrElse[String](""))
|
|
706
|
7530
|
29940
-
29985
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.source.getOrElse[String]("")
|
|
706
|
6713
|
29928
-
29985
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](proposal.creationContext.source.getOrElse[String](""))
|
|
706
|
6192
|
29928
-
29936
|
Literal
|
<nosymbol>
|
|
"source"
|
|
707
|
6300
|
29997
-
30011
|
Literal
|
<nosymbol>
|
|
"sequence_url"
|
|
707
|
6787
|
29997
-
30338
|
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
|
30015
-
30338
|
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
|
30051
-
30064
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
710
|
6222
|
30100
-
30326
|
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
|
30120
-
30120
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
711
|
6714
|
30120
-
30312
|
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
|
30151
-
30156
|
Literal
|
<nosymbol>
|
|
"cta"
|
|
713
|
6008
|
30185
-
30198
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
714
|
7362
|
30242
-
30255
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
714
|
6986
|
30223
-
30256
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.adaptUtmTerm
|
|
DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType)
|
|
715
|
6159
|
30283
-
30296
|
Literal
|
<nosymbol>
|
|
"crm-transac"
|
|
719
|
6013
|
30350
-
30373
|
Literal
|
<nosymbol>
|
|
"is_anonymous_proposal"
|
|
719
|
6918
|
30350
-
30406
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("is_anonymous_proposal").->[String](proposal.isAnonymous.toString())
|
|
719
|
7366
|
30377
-
30406
|
Apply
|
scala.Any.toString
|
|
proposal.isAnonymous.toString()
|
|
720
|
6084
|
30418
-
30445
|
Literal
|
<nosymbol>
|
|
"is_consultation_vote_only"
|
|
720
|
7498
|
30450
-
30491
|
Apply
|
scala.Any.toString
|
|
operationOfQuestion.canPropose.unary_!.toString()
|
|
720
|
6702
|
30418
-
30491
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("is_consultation_vote_only").->[String](operationOfQuestion.canPropose.unary_!.toString())
|
|
725
|
7606
|
30591
-
30612
|
Select
|
org.make.core.user.UserType.UserTypeUser
|
|
org.make.core.user.UserType.UserTypeUser
|
|
725
|
6789
|
30579
-
30612
|
Apply
|
java.lang.Object.==
|
|
userType.==(org.make.core.user.UserType.UserTypeUser)
|
|
726
|
7336
|
30626
-
30642
|
Block
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalAccepted
|
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalAccepted
|
|
726
|
6017
|
30626
-
30642
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalAccepted
|
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalAccepted
|
|
728
|
6924
|
30670
-
30689
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalAccepted
|
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalAccepted
|
|
728
|
6149
|
30670
-
30689
|
Block
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalAccepted
|
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalAccepted
|
|
732
|
7503
|
30750
-
30759
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.variables
|
|
variables(question, operationOfQuestion, user, proposal)
|
|
732
|
5801
|
30715
-
30766
|
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
|
30761
-
30765
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.kind
|
|
kind(userType)
|
|
744
|
7671
|
31055
-
31062
|
Literal
|
<nosymbol>
|
|
"refus"
|
|
745
|
7187
|
31071
-
32161
|
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
|
31105
-
31121
|
Select
|
org.make.core.proposal.Proposal.content
|
|
proposal.content
|
|
746
|
7340
|
31086
-
31121
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_text").->[String](proposal.content)
|
|
746
|
6896
|
31086
-
31101
|
Literal
|
<nosymbol>
|
|
"proposal_text"
|
|
747
|
6157
|
31153
-
31189
|
Apply
|
scala.Option.getOrElse
|
|
proposal.refusalReason.getOrElse[String]("")
|
|
747
|
7588
|
31133
-
31189
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("refusal_reason").->[String](proposal.refusalReason.getOrElse[String](""))
|
|
747
|
6493
|
31133
-
31149
|
Literal
|
<nosymbol>
|
|
"refusal_reason"
|
|
748
|
5807
|
31216
-
31244
|
Apply
|
scala.Option.getOrElse
|
|
user.firstName.getOrElse[String]("")
|
|
748
|
7636
|
31201
-
31244
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](user.firstName.getOrElse[String](""))
|
|
748
|
6744
|
31201
-
31212
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
749
|
6869
|
31256
-
31275
|
Literal
|
<nosymbol>
|
|
"organisation_name"
|
|
749
|
6010
|
31279
-
31314
|
Apply
|
scala.Option.getOrElse
|
|
user.organisationName.getOrElse[String]("")
|
|
749
|
7435
|
31256
-
31314
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("organisation_name").->[String](user.organisationName.getOrElse[String](""))
|
|
750
|
6559
|
31326
-
31337
|
Literal
|
<nosymbol>
|
|
"operation"
|
|
750
|
6164
|
31341
-
31388
|
Apply
|
scala.Option.getOrElse
|
|
question.operationId.map[String](((x$36: org.make.core.operation.OperationId) => x$36.value)).getOrElse[String]("")
|
|
750
|
7572
|
31326
-
31388
|
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
|
31400
-
31571
|
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
|
31400
-
31410
|
Literal
|
<nosymbol>
|
|
"question"
|
|
752
|
6875
|
31461
-
31528
|
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
|
31478
-
31491
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$37.crmLanguage
|
|
752
|
7641
|
31503
-
31527
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
question.defaultLanguage
|
|
753
|
7380
|
31563
-
31570
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
x$38.value
|
|
753
|
6528
|
31414
-
31571
|
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
|
31548
-
31561
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
754
|
6677
|
31597
-
31644
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.location.getOrElse[String]("")
|
|
754
|
7501
|
31583
-
31593
|
Literal
|
<nosymbol>
|
|
"location"
|
|
754
|
5799
|
31583
-
31644
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("location").->[String](proposal.creationContext.location.getOrElse[String](""))
|
|
755
|
7277
|
31656
-
31664
|
Literal
|
<nosymbol>
|
|
"source"
|
|
755
|
6834
|
31668
-
31713
|
Apply
|
scala.Option.getOrElse
|
|
proposal.creationContext.source.getOrElse[String]("")
|
|
755
|
5984
|
31656
-
31713
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("source").->[String](proposal.creationContext.source.getOrElse[String](""))
|
|
756
|
7368
|
31725
-
31739
|
Literal
|
<nosymbol>
|
|
"sequence_url"
|
|
756
|
6494
|
31743
-
32066
|
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
|
31725
-
32066
|
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
|
31779
-
31792
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
759
|
7433
|
31828
-
32054
|
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
|
31848
-
31848
|
Select
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.Utm.apply$default$2
|
|
760
|
5945
|
31848
-
32040
|
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
|
31879
-
31884
|
Literal
|
<nosymbol>
|
|
"cta"
|
|
762
|
7471
|
31913
-
31926
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
763
|
5804
|
31951
-
31984
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.adaptUtmTerm
|
|
DefaultSendMailPublisherServiceComponent.this.adaptUtmTerm(term, user.userType)
|
|
763
|
6681
|
31970
-
31983
|
Select
|
org.make.core.user.User.userType
|
|
user.userType
|
|
764
|
7186
|
32011
-
32024
|
Literal
|
<nosymbol>
|
|
"crm-transac"
|
|
768
|
6646
|
32110
-
32151
|
Apply
|
scala.Any.toString
|
|
operationOfQuestion.canPropose.unary_!.toString()
|
|
768
|
7474
|
32078
-
32105
|
Literal
|
<nosymbol>
|
|
"is_consultation_vote_only"
|
|
768
|
5904
|
32078
-
32151
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("is_consultation_vote_only").->[String](operationOfQuestion.canPropose.unary_!.toString())
|
|
773
|
5951
|
32239
-
32272
|
Apply
|
java.lang.Object.==
|
|
userType.==(org.make.core.user.UserType.UserTypeUser)
|
|
773
|
6823
|
32251
-
32272
|
Select
|
org.make.core.user.UserType.UserTypeUser
|
|
org.make.core.user.UserType.UserTypeUser
|
|
774
|
7439
|
32286
-
32301
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalRefused
|
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalRefused
|
|
774
|
6604
|
32286
-
32301
|
Block
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalRefused
|
|
org.make.core.crmTemplate.CrmTemplateKind.ProposalRefused
|
|
776
|
5756
|
32329
-
32347
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalRefused
|
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalRefused
|
|
776
|
7538
|
32329
-
32347
|
Block
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalRefused
|
|
org.make.core.crmTemplate.CrmTemplateKind.B2BProposalRefused
|
|
780
|
5909
|
32419
-
32423
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.kind
|
|
kind(userType)
|
|
780
|
7309
|
32373
-
32424
|
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
|
32408
-
32417
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.variables
|
|
variables(question, operationOfQuestion, user, proposal)
|
|
785
|
5720
|
32537
-
32754
|
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
|
32607
-
32607
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
785
|
6831
|
32586
-
32597
|
Select
|
org.make.core.user.User.userId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.userId
|
|
786
|
6040
|
32644
-
32699
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.DefaultSendMailPublisherService.publishResendRegistration
|
|
DefaultSendMailPublisherService.this.publishResendRegistration(modifiedUser, requestContext)
|
|
787
|
7404
|
32735
-
32746
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
799
|
5729
|
33001
-
33001
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
799
|
7168
|
32978
-
35281
|
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
|
33004
-
33074
|
Apply
|
org.make.api.proposal.ProposalService.getProposalById
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.proposalService.getProposalById(proposalId, requestContext)
|
|
801
|
6679
|
33099
-
33099
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
802
|
6536
|
33151
-
35281
|
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
|
33179
-
33202
|
Select
|
org.make.core.proposal.ProposalStatus.Accepted
|
|
org.make.core.proposal.ProposalStatus.Accepted
|
|
802
|
7238
|
33160
-
33202
|
Apply
|
java.lang.Object.==
|
|
proposal.status.==(org.make.core.proposal.ProposalStatus.Accepted)
|
|
802
|
7411
|
33153
-
33153
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
803
|
6434
|
33214
-
33225
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
803
|
6023
|
33214
-
33225
|
Block
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
805
|
6440
|
33249
-
33393
|
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
|
33249
-
33393
|
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
|
33328
-
33343
|
Literal
|
<nosymbol>
|
|
"invalid_value"
|
|
806
|
5828
|
33276
-
33381
|
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
|
33318
-
33326
|
Literal
|
<nosymbol>
|
|
"status"
|
|
806
|
7551
|
33302
-
33379
|
Apply
|
org.make.core.ValidationError.apply
|
|
org.make.core.ValidationError.apply("status", "invalid_value", scala.Some.apply[String]("Proposal must be Accepted"))
|
|
806
|
6645
|
33298
-
33380
|
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
|
33345
-
33378
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Proposal must be Accepted")
|
|
808
|
6467
|
33411
-
33411
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
808
|
7868
|
33402
-
35281
|
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
|
33414
-
33468
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposal.author.userId)
|
|
809
|
5949
|
33445
-
33467
|
Select
|
org.make.core.proposal.indexed.IndexedAuthor.userId
|
|
proposal.author.userId
|
|
810
|
6601
|
33493
-
33493
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
811
|
5924
|
33555
-
33555
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
811
|
7242
|
33553
-
35281
|
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
|
33562
-
33584
|
Select
|
scala.Boolean.unary_!
|
|
proposer.isHardBounce.unary_!
|
|
812
|
7515
|
33596
-
33607
|
Select
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
812
|
6650
|
33596
-
33607
|
Block
|
scala.concurrent.Future.unit
|
|
scala.concurrent.Future.unit
|
|
814
|
7070
|
33631
-
33939
|
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
|
33631
-
33939
|
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
|
33658
-
33927
|
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
|
33695
-
33913
|
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
|
33716
-
33897
|
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
|
33751
-
33762
|
Literal
|
<nosymbol>
|
|
"reachable"
|
|
819
|
7306
|
33782
-
33797
|
Literal
|
<nosymbol>
|
|
"invalid_value"
|
|
820
|
6445
|
33817
-
33879
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("User ".+(proposer.userId.value).+(" must not be hard bounce"): String))
|
|
825
|
7076
|
33958
-
33958
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
825
|
6340
|
33948
-
35281
|
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
|
33983
-
34025
|
Apply
|
org.make.api.user.UserService.getUser
|
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(senderId)
|
|
828
|
6479
|
33983
-
34089
|
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
|
34052
-
34052
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
828
|
7312
|
33983
-
34089
|
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
|
34113
-
34140
|
Apply
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.user.User](proposer)
|
|
830
|
7447
|
34113
-
34140
|
Block
|
scala.concurrent.Future.successful
|
|
scala.concurrent.Future.successful[org.make.core.user.User](proposer)
|
|
831
|
5764
|
34149
-
35281
|
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
|
34160
-
34160
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
832
|
5783
|
34192
-
34227
|
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
|
34214
-
34226
|
Select
|
org.make.core.proposal.indexed.IndexedProposalQuestion.questionId
|
|
x$39.questionId
|
|
832
|
7148
|
34163
-
34228
|
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
|
34253
-
34253
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
834
|
7808
|
34324
-
34324
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
834
|
7453
|
34315
-
35281
|
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
|
34327
-
34377
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
836
|
7282
|
34402
-
34402
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
837
|
6366
|
34451
-
35281
|
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
|
34462
-
34462
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
838
|
6438
|
34501
-
34518
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer
|
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToProposer
|
|
838
|
5765
|
34465
-
34574
|
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
|
34559
-
34572
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$40.crmLanguage
|
|
838
|
5988
|
34520
-
34536
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
838
|
6574
|
34538
-
34573
|
Apply
|
scala.Option.map
|
|
proposer.profile.map[org.make.core.reference.Language](((x$40: org.make.core.profile.Profile) => x$40.crmLanguage))
|
|
839
|
7150
|
34599
-
34599
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
841
|
5661
|
34731
-
35161
|
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
|
34761
-
34795
|
Apply
|
scala.Option.getOrElse
|
|
proposer.displayName.getOrElse[String]("")
|
|
842
|
7287
|
34746
-
34795
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.getOrElse[String](""))
|
|
842
|
6685
|
34746
-
34757
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
843
|
5687
|
34807
-
34969
|
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
|
34807
-
34817
|
Literal
|
<nosymbol>
|
|
"question"
|
|
844
|
7827
|
34924
-
34948
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
question.defaultLanguage
|
|
844
|
7438
|
34874
-
34949
|
Apply
|
scala.Option.getOrElse
|
|
requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)
|
|
845
|
6537
|
34821
-
34969
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
question.questions.getTranslationUnsafe(requestContext.languageContext.language.getOrElse[org.make.core.reference.Language](question.defaultLanguage)).value
|
|
846
|
6402
|
34981
-
35111
|
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
|
34981
-
34991
|
Literal
|
<nosymbol>
|
|
"proposal"
|
|
847
|
5815
|
35046
-
35110
|
Apply
|
scala.Option.getOrElse
|
|
proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage)
|
|
847
|
7250
|
34995
-
35111
|
Apply
|
org.make.core.technical.Multilingual.getTranslationUnsafe
|
|
proposal.content.getTranslationUnsafe(proposal.submittedAsLanguage.getOrElse[org.make.core.reference.Language](question.defaultLanguage))
|
|
847
|
6690
|
35085
-
35109
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
question.defaultLanguage
|
|
848
|
6500
|
35123
-
35151
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("body").->[String](sanitizedHtml.html)
|
|
848
|
7444
|
35133
-
35151
|
Select
|
org.make.core.SanitizedHtml.html
|
|
sanitizedHtml.html
|
|
848
|
7805
|
35123
-
35129
|
Literal
|
<nosymbol>
|
|
"body"
|
|
850
|
6241
|
35194
-
35272
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.generateEmail
|
|
DefaultSendMailPublisherServiceComponent.this.generateEmail(recipient, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables)
|
|
850
|
7120
|
35231
-
35260
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
850
|
5917
|
35170
-
35273
|
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
|
35485
-
36640
|
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
|
35508
-
35508
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
861
|
6344
|
35511
-
35553
|
Apply
|
org.make.api.user.UserService.getUser
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.userService.getUser(proposerId)
|
|
862
|
5877
|
35578
-
35578
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
863
|
6999
|
35635
-
35635
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
863
|
6582
|
35626
-
36640
|
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
|
35638
-
35688
|
Apply
|
org.make.api.question.QuestionService.getQuestion
|
|
DefaultSendMailPublisherServiceComponent.this.questionService.getQuestion(questionId)
|
|
865
|
6470
|
35713
-
35713
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
866
|
6443
|
35773
-
35773
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
866
|
7773
|
35762
-
36640
|
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
|
35822
-
35838
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.question.QuestionId](questionId)
|
|
867
|
5735
|
35776
-
35876
|
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
|
35840
-
35875
|
Apply
|
scala.Option.map
|
|
proposer.profile.map[org.make.core.reference.Language](((x$43: org.make.core.profile.Profile) => x$43.crmLanguage))
|
|
867
|
7043
|
35861
-
35874
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$43.crmLanguage
|
|
868
|
7117
|
35901
-
35901
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
870
|
5831
|
36031
-
36078
|
Apply
|
scala.Option.getOrElse
|
|
languageOpt.getOrElse[org.make.core.reference.Language](question.defaultLanguage)
|
|
870
|
6270
|
36053
-
36077
|
Select
|
org.make.core.question.Question.defaultLanguage
|
|
question.defaultLanguage
|
|
872
|
7078
|
36113
-
36521
|
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
|
36130
-
36206
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("firstname").->[String](proposer.displayName.orElse[String](proposer.firstName).getOrElse[String](""))
|
|
873
|
6452
|
36145
-
36206
|
Apply
|
scala.Option.getOrElse
|
|
proposer.displayName.orElse[String](proposer.firstName).getOrElse[String]("")
|
|
873
|
7214
|
36130
-
36141
|
Literal
|
<nosymbol>
|
|
"firstname"
|
|
874
|
5741
|
36220
-
36289
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("question").->[String](question.questions.getTranslationUnsafe(language).value)
|
|
874
|
6515
|
36234
-
36289
|
Select
|
eu.timepit.refined.api.Refined.value
|
|
question.questions.getTranslationUnsafe(language).value
|
|
874
|
6948
|
36220
-
36230
|
Literal
|
<nosymbol>
|
|
"question"
|
|
875
|
7074
|
36303
-
36317
|
Literal
|
<nosymbol>
|
|
"sequence_url"
|
|
875
|
5787
|
36303
-
36509
|
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
|
36321
-
36509
|
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
|
36353
-
36366
|
Select
|
org.make.core.question.Question.slug
|
|
question.slug
|
|
877
|
5870
|
36382
-
36403
|
Select
|
org.make.core.sequence.SequenceKind.Standard
|
|
org.make.core.sequence.SequenceKind.Standard
|
|
878
|
7317
|
36419
-
36435
|
Select
|
org.make.core.user.User.country
|
|
proposer.country
|
|
879
|
6367
|
36451
-
36456
|
Literal
|
<nosymbol>
|
|
false
|
|
880
|
7768
|
36477
-
36494
|
Select
|
org.make.core.user.User.userType
|
|
proposer.userType
|
|
880
|
6951
|
36472
-
36495
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.user.UserType](proposer.userType)
|
|
883
|
6247
|
36590
-
36619
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
org.make.core.crmTemplate.MonitoringCategory.moderation
|
|
883
|
7726
|
36554
-
36631
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.generateEmail
|
|
DefaultSendMailPublisherServiceComponent.this.generateEmail(proposer, templateId, org.make.core.crmTemplate.MonitoringCategory.moderation, variables)
|
|
883
|
7321
|
36530
-
36632
|
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
|
36808
-
36966
|
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
|
36849
-
36869
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveWarn
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveWarn
|
|
895
|
7730
|
36919
-
36958
|
Select
|
org.make.core.RequestContextLanguage.language
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.languageContext.language
|
|
903
|
7002
|
37135
-
37294
|
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
|
37176
-
37197
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveBlock
|
|
org.make.core.crmTemplate.CrmTemplateKind.MessageToAbusiveBlock
|
|
907
|
7830
|
37247
-
37286
|
Select
|
org.make.core.RequestContextLanguage.language
|
|
requestContext.languageContext.language
|
|
911
|
6205
|
37404
-
37419
|
Select
|
org.make.core.user.User.resetToken
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
user.resetToken
|
|
914
|
5693
|
37509
-
37524
|
Select
|
org.make.core.crmTemplate.CrmTemplateKind.B2BRegistration
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
org.make.core.crmTemplate.CrmTemplateKind.B2BRegistration
|
|
914
|
6240
|
37586
-
37599
|
Select
|
org.make.core.profile.Profile.crmLanguage
|
|
x$44.crmLanguage
|
|
914
|
7696
|
37569
-
37600
|
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
|
37526
-
37567
|
Select
|
org.make.core.RequestContextQuestion.questionId
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
requestContext.questionContext.questionId
|
|
915
|
7126
|
37618
-
37618
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
915
|
6214
|
37471
-
38483
|
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
|
37619
-
38482
|
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
|
37659
-
38468
|
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
|
37700
-
38452
|
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
|
37732
-
38434
|
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
|
37742
-
37742
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
918
|
7047
|
37742
-
37742
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
918
|
5773
|
37742
-
37742
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
918
|
7615
|
37742
-
37742
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
918
|
6176
|
37742
-
37742
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
918
|
6209
|
37742
-
37742
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
918
|
6881
|
37742
-
37742
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
918
|
6935
|
37742
-
37742
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
919
|
7218
|
37788
-
37804
|
Select
|
org.make.core.crmTemplate.TemplateId.value
|
|
templateId.value
|
|
919
|
6407
|
37788
-
37810
|
Select
|
scala.collection.StringOps.toInt
|
|
scala.Predef.augmentString(templateId.value).toInt
|
|
919
|
7832
|
37783
-
37811
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](scala.Predef.augmentString(templateId.value).toInt)
|
|
920
|
5699
|
37850
-
37850
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
920
|
6180
|
37887
-
37900
|
Select
|
org.make.core.user.User.fullName
|
|
user.fullName
|
|
920
|
6245
|
37846
-
37902
|
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
|
37850
-
37901
|
Apply
|
org.make.api.technical.crm.Recipient.apply
|
|
Recipient.apply(user.email, user.fullName, Recipient.apply$default$3)
|
|
920
|
6950
|
37868
-
37878
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
921
|
7612
|
37936
-
38296
|
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
|
37964
-
38274
|
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
|
37993
-
38015
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("mailto").->[String](user.email)
|
|
923
|
7196
|
38005
-
38015
|
Select
|
org.make.core.user.User.email
|
|
user.email
|
|
923
|
7623
|
37993
-
38001
|
Literal
|
<nosymbol>
|
|
"mailto"
|
|
924
|
5663
|
38069
-
38250
|
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
|
38041
-
38065
|
Literal
|
<nosymbol>
|
|
"forgotten_password_url"
|
|
924
|
7134
|
38041
-
38250
|
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
|
38190
-
38224
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.core.ApplicationName.MainFrontend.type](org.make.core.ApplicationName.MainFrontend)
|
|
927
|
6933
|
38195
-
38223
|
Select
|
org.make.core.ApplicationName.MainFrontend
|
|
org.make.core.ApplicationName.MainFrontend
|
|
931
|
6901
|
38335
-
38339
|
Select
|
scala.None
|
|
scala.None
|
|
932
|
6374
|
38387
-
38413
|
Select
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
org.make.core.crmTemplate.MonitoringCategory.account
|
|
932
|
7734
|
38382
-
38414
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](org.make.core.crmTemplate.MonitoringCategory.account)
|
|
938
|
6886
|
38512
-
38648
|
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
|
38539
-
38636
|
Apply
|
java.lang.IllegalStateException.<init>
|
|
new java.lang.IllegalStateException(("reset token required but not provided for user ".+(user.userId.value): String))
|
|
950
|
6414
|
38839
-
38898
|
Apply
|
org.make.api.proposal.ProposalCoordinatorService.getProposal
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
DefaultSendMailPublisherServiceComponent.this.proposalCoordinatorService.getProposal(proposalId)
|
|
951
|
7812
|
38921
-
38921
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
952
|
7778
|
38839
-
40223
|
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
|
38981
-
38981
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
org.make.api.technical.crm.sendmailpublisherservicetest
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
954
|
7706
|
39023
-
39023
|
Select
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
scala.concurrent.ExecutionContext.Implicits.global
|
|
954
|
6856
|
39017
-
40213
|
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
|
39039
-
40199
|
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
|
39080
-
40183
|
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
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$13
|
|
SendEmail.create$default$13
|
|
957
|
7835
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$11
|
|
SendEmail.create$default$11
|
|
957
|
6851
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$9
|
|
SendEmail.create$default$9
|
|
957
|
7051
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$3
|
|
SendEmail.create$default$3
|
|
957
|
6067
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$1
|
|
SendEmail.create$default$1
|
|
957
|
7601
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$5
|
|
SendEmail.create$default$5
|
|
957
|
7012
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$12
|
|
SendEmail.create$default$12
|
|
957
|
6317
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$4
|
|
SendEmail.create$default$4
|
|
957
|
7558
|
39112
-
40165
|
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
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$10
|
|
SendEmail.create$default$10
|
|
957
|
7578
|
39122
-
39122
|
Select
|
org.make.api.technical.crm.SendEmail.create$default$2
|
|
SendEmail.create$default$2
|
|
958
|
6913
|
39168
-
39221
|
Apply
|
com.typesafe.config.Config.getInt
|
|
DefaultSendMailPublisherServiceComponent.this.config.getInt("make-api.report-proposal.template-id")
|
|
958
|
6138
|
39163
-
39222
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[Int](DefaultSendMailPublisherServiceComponent.this.config.getInt("make-api.report-proposal.template-id"))
|
|
959
|
6313
|
39256
-
39998
|
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
|
39284
-
39976
|
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
|
39325
-
39340
|
Apply
|
java.lang.Object.toString
|
|
reason.toString()
|
|
961
|
7580
|
39313
-
39321
|
Literal
|
<nosymbol>
|
|
"reason"
|
|
961
|
6277
|
39313
-
39340
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("reason").->[String](reason.toString())
|
|
962
|
7661
|
39366
-
39379
|
Literal
|
<nosymbol>
|
|
"proposal_id"
|
|
962
|
6889
|
39383
-
39399
|
Select
|
org.make.core.proposal.ProposalId.value
|
|
proposalId.value
|
|
962
|
6371
|
39366
-
39399
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_id").->[String](proposalId.value)
|
|
963
|
7817
|
39425
-
39444
|
Literal
|
<nosymbol>
|
|
"proposal_language"
|
|
963
|
6142
|
39425
-
39470
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("proposal_language").->[String](proposalLanguage.value)
|
|
963
|
7040
|
39448
-
39470
|
Select
|
org.make.core.reference.Language.value
|
|
proposalLanguage.value
|
|
964
|
7524
|
39496
-
39511
|
Literal
|
<nosymbol>
|
|
"proposal_text"
|
|
964
|
6858
|
39496
-
39699
|
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
|
39607
-
39641
|
Apply
|
org.make.core.technical.Multilingual.getTranslation
|
|
x$46.getTranslation(proposalLanguage)
|
|
967
|
6283
|
39682
-
39698
|
Select
|
org.make.core.proposal.Proposal.content
|
|
proposal.content
|
|
967
|
7729
|
39541
-
39699
|
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
|
39725
-
39739
|
Literal
|
<nosymbol>
|
|
"proposal_url"
|
|
968
|
7490
|
39725
-
39952
|
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
|
39743
-
39952
|
Apply
|
org.make.api.technical.crm.DefaultSendMailPublisherServiceComponent.buildUrl
|
|
DefaultSendMailPublisherServiceComponent.this.buildUrl(DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl, ("#/moderation/proposals/".+(proposalId.value): String), scala.None)
|
|
969
|
7781
|
39779
-
39821
|
Select
|
org.make.api.extensions.MailJetTemplateConfiguration.backofficeUrl
|
|
DefaultSendMailPublisherServiceComponent.this.mailJetTemplateConfiguration.backofficeUrl
|
|
971
|
6907
|
39922
-
39926
|
Select
|
scala.None
|
|
scala.None
|
|
976
|
5969
|
40059
-
40059
|
Select
|
org.make.api.technical.crm.Recipient.apply$default$3
|
|
Recipient.apply$default$3
|
|
976
|
7598
|
40069
-
40123
|
Apply
|
com.typesafe.config.Config.getString
|
|
DefaultSendMailPublisherServiceComponent.this.config.getString("make-api.report-proposal.recipient")
|
|
976
|
6883
|
40125
-
40143
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String]("Moderators")
|
|
976
|
7789
|
40059
-
40144
|
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
|
40055
-
40145
|
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))
|