| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
54
|
24076
|
2185
-
2239
|
Apply
|
io.circe.Printer.print
|
org.make.api.technical.crm.crmclientcomponenttest
|
io.circe.Printer.noSpaces.copy(false, io.circe.Printer.noSpaces.copy$default$2, io.circe.Printer.noSpaces.copy$default$3, io.circe.Printer.noSpaces.copy$default$4, io.circe.Printer.noSpaces.copy$default$5, io.circe.Printer.noSpaces.copy$default$6, io.circe.Printer.noSpaces.copy$default$7, io.circe.Printer.noSpaces.copy$default$8, io.circe.Printer.noSpaces.copy$default$9, io.circe.Printer.noSpaces.copy$default$10, io.circe.Printer.noSpaces.copy$default$11, io.circe.Printer.noSpaces.copy$default$12, io.circe.Printer.noSpaces.copy$default$13, io.circe.Printer.noSpaces.copy$default$14, io.circe.Printer.noSpaces.copy$default$15, io.circe.Printer.noSpaces.copy$default$16, io.circe.Printer.noSpaces.copy$default$17, io.circe.Printer.noSpaces.copy$default$18, io.circe.Printer.noSpaces.copy$default$19, io.circe.Printer.noSpaces.copy$default$20, io.circe.Printer.noSpaces.copy$default$21).print(x$1)
|
|
56
|
22722
|
2334
-
2337
|
Literal
|
<nosymbol>
|
org.make.api.technical.crm.crmclientcomponenttest
|
443
|
|
93
|
24142
|
3889
-
4188
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
org.make.api.technical.crm.crmclientcomponenttest
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.POST, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/contact/managemanycontacts"): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.ManageManyContacts](manageContactList).asJson(crm.this.ManageManyContacts.encoder))), akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
93
|
26695
|
3889
-
3889
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
org.make.api.technical.crm.crmclientcomponenttest
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
94
|
26550
|
3921
-
3937
|
Select
|
akka.http.scaladsl.model.HttpMethods.POST
|
org.make.api.technical.crm.crmclientcomponenttest
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
95
|
24298
|
3955
-
4025
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
org.make.api.technical.crm.crmclientcomponenttest
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/contact/managemanycontacts"): String))
|
|
96
|
26864
|
4047
-
4073
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
org.make.api.technical.crm.crmclientcomponenttest
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
96
|
28131
|
4051
-
4072
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crm.crmclientcomponenttest
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
97
|
23858
|
4138
-
4177
|
Apply
|
scala.Function1.apply
|
org.make.api.technical.crm.crmclientcomponenttest
|
DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.ManageManyContacts](manageContactList).asJson(crm.this.ManageManyContacts.encoder))
|
|
97
|
24603
|
4105
-
4136
|
Select
|
akka.http.scaladsl.model.ContentTypes.application/json
|
org.make.api.technical.crm.crmclientcomponenttest
|
akka.http.scaladsl.model.ContentTypes.application/json
|
|
97
|
26195
|
4152
-
4176
|
ApplyToImplicitArgs
|
io.circe.syntax.EncoderOps.asJson
|
org.make.api.technical.crm.crmclientcomponenttest
|
io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.ManageManyContacts](manageContactList).asJson(crm.this.ManageManyContacts.encoder)
|
|
97
|
22636
|
4170
-
4170
|
Select
|
org.make.api.technical.crm.ManageManyContacts.encoder
|
org.make.api.technical.crm.crmclientcomponenttest
|
crm.this.ManageManyContacts.encoder
|
|
97
|
22735
|
4094
-
4178
|
Apply
|
akka.http.scaladsl.model.HttpEntity.apply
|
org.make.api.technical.crm.crmclientcomponenttest
|
akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.ManageManyContacts](manageContactList).asJson(crm.this.ManageManyContacts.encoder)))
|
|
99
|
28144
|
4195
-
4336
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.crmclientcomponenttest
|
DefaultCrmClient.this.runWithRetries(request, "manageContactList", CrmClientException.RequestException.ManageContactListException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).flatMap[org.make.api.technical.crm.BasicCrmResponse.ManageManyContactsResponse](((x$2: akka.http.scaladsl.model.ResponseEntity) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](x$2).to[org.make.api.technical.crm.BasicCrmResponse.ManageManyContactsResponse](DefaultCrmClientComponent.this.unmarshaller[org.make.api.technical.crm.BasicCrmResponse.ManageManyContactsResponse](org.make.api.technical.crm.BasicCrmResponse.manageManyContactsResponseDecoder), executionContext, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext)
|
|
107
|
28119
|
4520
-
4520
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
107
|
25761
|
4520
-
4846
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.POST, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/DATA/contactslist/").+(listId).+("/CSVData/application:octet-stream"): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/octet-stream, akka.stream.scaladsl.FileIO.fromPath(csv, akka.stream.scaladsl.FileIO.fromPath$default$2)), akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
108
|
25746
|
4550
-
4566
|
Select
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
109
|
24616
|
4582
-
4679
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/DATA/contactslist/").+(listId).+("/CSVData/application:octet-stream"): String))
|
|
110
|
26029
|
4699
-
4725
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
110
|
22565
|
4703
-
4724
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
111
|
23873
|
4769
-
4808
|
Select
|
akka.http.scaladsl.model.ContentTypes.application/octet-stream
|
|
akka.http.scaladsl.model.ContentTypes.application/octet-stream
|
|
111
|
26708
|
4817
-
4837
|
Apply
|
akka.stream.scaladsl.FileIO.fromPath
|
|
akka.stream.scaladsl.FileIO.fromPath(csv, akka.stream.scaladsl.FileIO.fromPath$default$2)
|
|
111
|
24151
|
4744
-
4838
|
Apply
|
akka.http.scaladsl.model.HttpEntity.apply
|
|
akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/octet-stream, akka.stream.scaladsl.FileIO.fromPath(csv, akka.stream.scaladsl.FileIO.fromPath$default$2))
|
|
111
|
22658
|
4824
-
4824
|
Select
|
akka.stream.scaladsl.FileIO.fromPath$default$2
|
|
akka.stream.scaladsl.FileIO.fromPath$default$2
|
|
113
|
24762
|
4853
-
4947
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultCrmClient.this.runWithRetries(request, "sendCsv", CrmClientException.RequestException.SendCsvException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).flatMap[org.make.api.technical.crm.SendCsvResponse](((x$3: akka.http.scaladsl.model.ResponseEntity) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](x$3).to[org.make.api.technical.crm.SendCsvResponse](DefaultCrmClientComponent.this.unmarshaller[org.make.api.technical.crm.SendCsvResponse](crm.this.SendCsvResponse.decoder), executionContext, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext)
|
|
120
|
22581
|
5165
-
5165
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
120
|
26190
|
5165
-
5439
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.POST, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/csvimport"): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.CsvImport](csvImport).asJson(crm.this.CsvImport.encoder))), akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
121
|
22573
|
5197
-
5213
|
Select
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
122
|
26037
|
5231
-
5284
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/csvimport"): String))
|
|
123
|
22671
|
5306
-
5332
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
123
|
24010
|
5310
-
5331
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
124
|
24770
|
5353
-
5429
|
Apply
|
akka.http.scaladsl.model.HttpEntity.apply
|
|
akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.CsvImport](csvImport).asJson(crm.this.CsvImport.encoder)))
|
|
124
|
25894
|
5397
-
5428
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.CsvImport](csvImport).asJson(crm.this.CsvImport.encoder))
|
|
124
|
28128
|
5411
-
5427
|
ApplyToImplicitArgs
|
io.circe.syntax.EncoderOps.asJson
|
|
io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.CsvImport](csvImport).asJson(crm.this.CsvImport.encoder)
|
|
124
|
24463
|
5421
-
5421
|
Select
|
org.make.api.technical.crm.CsvImport.encoder
|
|
crm.this.CsvImport.encoder
|
|
124
|
26637
|
5364
-
5395
|
Select
|
akka.http.scaladsl.model.ContentTypes.application/json
|
|
akka.http.scaladsl.model.ContentTypes.application/json
|
|
127
|
24020
|
5446
-
5582
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultCrmClient.this.runWithRetries(request, "manageContactListWithCsv", CrmClientException.RequestException.CsvImportException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).flatMap[org.make.api.technical.crm.BasicCrmResponse.ManageContactsWithCsvResponse](((x$4: akka.http.scaladsl.model.ResponseEntity) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](x$4).to[org.make.api.technical.crm.BasicCrmResponse.ManageContactsWithCsvResponse](DefaultCrmClientComponent.this.unmarshaller[org.make.api.technical.crm.BasicCrmResponse.ManageContactsWithCsvResponse](org.make.api.technical.crm.BasicCrmResponse.manageContactsWithCsvResponseDecoder), executionContext, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext)
|
|
134
|
24525
|
5783
-
5783
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
134
|
22511
|
5783
-
5966
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.GET, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/csvimport/").+(jobId): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpRequest.apply$default$4, akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
134
|
25899
|
5783
-
5783
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
135
|
27589
|
5815
-
5830
|
Select
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
136
|
26648
|
5848
-
5908
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/csvimport/").+(jobId): String))
|
|
137
|
28060
|
5930
-
5956
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
137
|
24471
|
5934
-
5955
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
140
|
26199
|
5973
-
6108
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultCrmClient.this.runWithRetries(request, "monitorCsvImport", CrmClientException.RequestException.MonitorCsvImportException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).flatMap[org.make.api.technical.crm.BasicCrmResponse.ManageContactsWithCsvResponse](((x$5: akka.http.scaladsl.model.ResponseEntity) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](x$5).to[org.make.api.technical.crm.BasicCrmResponse.ManageContactsWithCsvResponse](DefaultCrmClientComponent.this.unmarshaller[org.make.api.technical.crm.BasicCrmResponse.ManageContactsWithCsvResponse](org.make.api.technical.crm.BasicCrmResponse.manageContactsWithCsvResponseDecoder), executionContext, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext)
|
|
146
|
24381
|
6318
-
6318
|
Select
|
org.make.api.technical.crm.SendMessages.copy$default$4
|
|
message.copy$default$4
|
|
146
|
23888
|
6334
-
6600
|
Apply
|
scala.collection.IterableOps.map
|
|
message.messages.map[org.make.api.technical.crm.SendEmail](((x$6: org.make.api.technical.crm.SendEmail) => {
<artifact> val x$1: Some[org.make.api.technical.crm.TemplateErrorReporting] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.api.technical.crm.TemplateErrorReporting](TemplateErrorReporting.apply(DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipient, scala.Some.apply[String](DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipientName)));
<artifact> val x$2: Option[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$1;
<artifact> val x$3: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$2;
<artifact> val x$4: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$3;
<artifact> val x$5: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$4;
<artifact> val x$6: Option[Boolean] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$5;
<artifact> val x$7: Option[Int] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$6;
<artifact> val x$8: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$7;
<artifact> val x$9: Seq[org.make.api.technical.crm.Recipient] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$8;
<artifact> val x$10: Option[Map[String,String]] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$9;
<artifact> val x$11: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$10;
<artifact> val x$12: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$11;
<artifact> val x$13: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = x$6.copy$default$12;
x$6.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$1)
}))
|
|
146
|
28202
|
6310
-
6608
|
Apply
|
org.make.api.technical.crm.SendMessages.copy
|
|
message.copy(x$15, x$16, x$14, x$17)
|
|
146
|
27535
|
6318
-
6318
|
Select
|
org.make.api.technical.crm.SendMessages.copy$default$1
|
|
message.copy$default$1
|
|
146
|
26434
|
6318
-
6318
|
Select
|
org.make.api.technical.crm.SendMessages.copy$default$2
|
|
message.copy$default$2
|
|
147
|
24460
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$8
|
|
x$6.copy$default$8
|
|
147
|
23482
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$11
|
|
x$6.copy$default$11
|
|
147
|
22495
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$12
|
|
x$6.copy$default$12
|
|
147
|
26421
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$7
|
|
x$6.copy$default$7
|
|
147
|
24537
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$2
|
|
x$6.copy$default$2
|
|
147
|
26346
|
6364
-
6592
|
Apply
|
org.make.api.technical.crm.SendEmail.copy
|
|
x$6.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$1)
|
|
147
|
28068
|
6396
-
6582
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[org.make.api.technical.crm.TemplateErrorReporting](TemplateErrorReporting.apply(DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipient, scala.Some.apply[String](DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipientName)))
|
|
147
|
23962
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$5
|
|
x$6.copy$default$5
|
|
147
|
26133
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$4
|
|
x$6.copy$default$4
|
|
147
|
25663
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$1
|
|
x$6.copy$default$1
|
|
147
|
27613
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$6
|
|
x$6.copy$default$6
|
|
147
|
25675
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$10
|
|
x$6.copy$default$10
|
|
147
|
22343
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$3
|
|
x$6.copy$default$3
|
|
147
|
27995
|
6366
-
6366
|
Select
|
org.make.api.technical.crm.SendEmail.copy$default$9
|
|
x$6.copy$default$9
|
|
148
|
24239
|
6412
-
6572
|
Apply
|
org.make.api.technical.crm.TemplateErrorReporting.apply
|
|
TemplateErrorReporting.apply(DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipient, scala.Some.apply[String](DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipientName))
|
|
149
|
23956
|
6448
-
6492
|
Select
|
org.make.api.extensions.MailJetConfiguration.errorReportingRecipient
|
|
DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipient
|
|
150
|
26492
|
6506
-
6560
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipientName)
|
|
150
|
27603
|
6511
-
6559
|
Select
|
org.make.api.extensions.MailJetConfiguration.errorReportingRecipientName
|
|
DefaultCrmClientComponent.this.mailJetConfiguration.errorReportingRecipientName
|
|
157
|
23424
|
6630
-
6902
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.POST, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3.1/send"): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.SendMessages](messagesWithErrorHandling).asJson(crm.this.SendMessages.encoder))), akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
157
|
25831
|
6630
-
6630
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
158
|
25688
|
6660
-
6676
|
Select
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
akka.http.scaladsl.model.HttpMethods.POST
|
|
159
|
23414
|
6692
-
6737
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3.1/send"): String))
|
|
160
|
22506
|
6761
-
6782
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
160
|
26278
|
6757
-
6783
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
161
|
23951
|
6813
-
6844
|
Select
|
akka.http.scaladsl.model.ContentTypes.application/json
|
|
akka.http.scaladsl.model.ContentTypes.application/json
|
|
161
|
28212
|
6802
-
6894
|
Apply
|
akka.http.scaladsl.model.HttpEntity.apply
|
|
akka.http.scaladsl.model.HttpEntity.apply(akka.http.scaladsl.model.ContentTypes.application/json, DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.SendMessages](messagesWithErrorHandling).asJson(crm.this.SendMessages.encoder)))
|
|
161
|
27551
|
6886
-
6886
|
Select
|
org.make.api.technical.crm.SendMessages.encoder
|
|
crm.this.SendMessages.encoder
|
|
161
|
25505
|
6860
-
6892
|
ApplyToImplicitArgs
|
io.circe.syntax.EncoderOps.asJson
|
|
io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.SendMessages](messagesWithErrorHandling).asJson(crm.this.SendMessages.encoder)
|
|
161
|
24394
|
6846
-
6893
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.stringifyJson.apply(io.circe.syntax.`package`.EncoderOps[org.make.api.technical.crm.SendMessages](messagesWithErrorHandling).asJson(crm.this.SendMessages.encoder))
|
|
163
|
22432
|
6909
-
7009
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultCrmClient.this.runWithRetries(request, "sendEmail", CrmClientException.RequestException.SendEmailException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).flatMap[org.make.api.technical.crm.SendEmailResponse](((x$7: akka.http.scaladsl.model.ResponseEntity) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](x$7).to[org.make.api.technical.crm.SendEmailResponse](DefaultCrmClientComponent.this.unmarshaller[org.make.api.technical.crm.SendEmailResponse](crm.this.SendEmailResponse.decoder), executionContext, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext)
|
|
176
|
26289
|
7501
-
7515
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](("".+(s).+("+").+(o): String))
|
|
177
|
23959
|
7551
-
7558
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](s)
|
|
178
|
27682
|
7594
-
7598
|
Select
|
scala.None
|
|
scala.None
|
|
180
|
27830
|
7655
-
7883
|
Apply
|
scala.collection.MapFactory.apply
|
|
scala.Predef.Map.apply[String, Option[String]](scala.Predef.ArrowAssoc[String]("ContactsList").->[Option[String]](listId), scala.Predef.ArrowAssoc[String]("Sort").->[Option[String]](sortQuery), scala.Predef.ArrowAssoc[String]("Limit").->[Some[String]](scala.Some.apply[String](limit.toString())), scala.Predef.ArrowAssoc[String]("Offset").->[Some[String]](scala.Some.apply[String](offset.toString())), scala.Predef.ArrowAssoc[String]("countOnly").->[Option[String]](countOnly.map[String](((bool: Boolean) => if (bool)
"1"
else
"0"))))
|
|
181
|
25520
|
7668
-
7692
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("ContactsList").->[Option[String]](listId)
|
|
182
|
24316
|
7702
-
7721
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("Sort").->[Option[String]](sortQuery)
|
|
183
|
22441
|
7731
-
7762
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("Limit").->[Some[String]](scala.Some.apply[String](limit.toString()))
|
|
183
|
25841
|
7747
-
7761
|
Apply
|
org.make.core.technical.Pagination.Limit.toString
|
|
limit.toString()
|
|
183
|
27990
|
7731
-
7738
|
Literal
|
<nosymbol>
|
|
"Limit"
|
|
183
|
23399
|
7742
-
7762
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](limit.toString())
|
|
184
|
26299
|
7772
-
7780
|
Literal
|
<nosymbol>
|
|
"Offset"
|
|
184
|
23882
|
7789
-
7804
|
Apply
|
org.make.core.technical.Pagination.Offset.toString
|
|
offset.toString()
|
|
184
|
25287
|
7772
-
7805
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("Offset").->[Some[String]](scala.Some.apply[String](offset.toString()))
|
|
184
|
27691
|
7784
-
7805
|
Apply
|
scala.Some.apply
|
|
scala.Some.apply[String](offset.toString())
|
|
185
|
24325
|
7815
-
7826
|
Literal
|
<nosymbol>
|
|
"countOnly"
|
|
185
|
23891
|
7815
-
7875
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String]("countOnly").->[Option[String]](countOnly.map[String](((bool: Boolean) => if (bool)
"1"
else
"0")))
|
|
185
|
27999
|
7862
-
7865
|
Literal
|
<nosymbol>
|
|
"1"
|
|
185
|
23411
|
7871
-
7874
|
Literal
|
<nosymbol>
|
|
"0"
|
|
185
|
27155
|
7871
-
7874
|
Block
|
<nosymbol>
|
|
"0"
|
|
185
|
25770
|
7862
-
7865
|
Block
|
<nosymbol>
|
|
"1"
|
|
185
|
26066
|
7830
-
7875
|
Apply
|
scala.Option.map
|
|
countOnly.map[String](((bool: Boolean) => if (bool)
"1"
else
"0"))
|
|
187
|
25298
|
7908
-
7970
|
Apply
|
scala.collection.IterableOnceOps.mkString
|
|
params.collect[String](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[(String, Option[String]),String] with java.io.Serializable {
def <init>(): <$anon: ((String, Option[String])) => String> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: (String, Option[String]), B1 >: String](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[(String, Option[String])]: (String, Option[String])): (String, Option[String]) @unchecked) match {
case (_1: String, _2: Option[String]): (String, Option[String])((k @ _), (value: String): Some[String]((v @ _))) => ("".+(k).+("=").+(v): String)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: (String, Option[String])): Boolean = ((x1.asInstanceOf[(String, Option[String])]: (String, Option[String])): (String, Option[String]) @unchecked) match {
case (_1: String, _2: Option[String]): (String, Option[String])((k @ _), (value: String): Some[String]((v @ _))) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[(String, Option[String]),String])).mkString("&")
|
|
188
|
27165
|
7991
-
7991
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
188
|
26285
|
7991
-
7991
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
188
|
23817
|
7991
-
8170
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.GET, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/contact?").+(paramsQuery): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpRequest.apply$default$4, akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
189
|
24178
|
8021
-
8036
|
Select
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
190
|
27926
|
8052
-
8116
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/contact?").+(paramsQuery): String))
|
|
191
|
23707
|
8136
-
8162
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
191
|
25779
|
8140
-
8161
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
194
|
27841
|
8177
-
8329
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultCrmClient.this.runWithRetries(request, "getUsersInformationMailFromList", CrmClientException.RequestException.GetUsersInformationMailFromListException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).flatMap[org.make.api.technical.crm.BasicCrmResponse.ContactsResponse](((x$8: akka.http.scaladsl.model.ResponseEntity) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](x$8).to[org.make.api.technical.crm.BasicCrmResponse.ContactsResponse](DefaultCrmClientComponent.this.unmarshaller[org.make.api.technical.crm.BasicCrmResponse.ContactsResponse](org.make.api.technical.crm.BasicCrmResponse.contactsResponseDecoder), executionContext, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext)
|
|
201
|
23715
|
8619
-
8619
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
201
|
26208
|
8619
-
8802
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.GET, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/contactdata?").+(paramsQuery): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpRequest.apply$default$4, akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
201
|
27174
|
8619
-
8619
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
202
|
25307
|
8649
-
8664
|
Select
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
203
|
24312
|
8680
-
8748
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/contactdata?").+(paramsQuery): String))
|
|
204
|
28149
|
8772
-
8793
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
204
|
25705
|
8768
-
8794
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
207
|
24035
|
8809
-
8952
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultCrmClient.this.runWithRetries(request, "getContactsProperties", CrmClientException.RequestException.GetContactsPropertiesException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).flatMap[org.make.api.technical.crm.BasicCrmResponse.GetMailjetContactProperties](((x$9: akka.http.scaladsl.model.ResponseEntity) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](x$9).to[org.make.api.technical.crm.BasicCrmResponse.GetMailjetContactProperties](DefaultCrmClientComponent.this.unmarshaller[org.make.api.technical.crm.BasicCrmResponse.GetMailjetContactProperties](org.make.api.technical.crm.BasicCrmResponse.getMailjetContactPropertiesResponseDecoder), executionContext, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext)
|
|
213
|
23729
|
9149
-
9149
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
213
|
27308
|
9149
-
9327
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.GET, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/contact/").+(identifier): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpRequest.apply$default$4, akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
213
|
25767
|
9149
-
9149
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
214
|
27770
|
9179
-
9194
|
Select
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
akka.http.scaladsl.model.HttpMethods.GET
|
|
215
|
25609
|
9210
-
9273
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v3/REST/contact/").+(identifier): String))
|
|
216
|
28078
|
9293
-
9319
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
216
|
23275
|
9297
-
9318
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
219
|
26223
|
9334
-
9471
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
|
DefaultCrmClient.this.runWithRetries(request, "getContactByMailOrContactId", CrmClientException.RequestException.GetUsersMailFromListException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).flatMap[org.make.api.technical.crm.BasicCrmResponse.ContactsResponse](((x$10: akka.http.scaladsl.model.ResponseEntity) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](x$10).to[org.make.api.technical.crm.BasicCrmResponse.ContactsResponse](DefaultCrmClientComponent.this.unmarshaller[org.make.api.technical.crm.BasicCrmResponse.ContactsResponse](org.make.api.technical.crm.BasicCrmResponse.contactsResponseDecoder), executionContext, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext)
|
|
225
|
23487
|
9646
-
9822
|
Apply
|
akka.http.scaladsl.model.HttpRequest.apply
|
|
akka.http.scaladsl.model.HttpRequest.apply(akka.http.scaladsl.model.HttpMethods.DELETE, akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v4/contacts/").+(contactId): String)), scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account)), akka.http.scaladsl.model.HttpRequest.apply$default$4, akka.http.scaladsl.model.HttpRequest.apply$default$5)
|
|
225
|
25687
|
9646
-
9646
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$5
|
|
225
|
28088
|
9646
-
9646
|
Select
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
akka.http.scaladsl.model.HttpRequest.apply$default$4
|
|
226
|
23972
|
9676
-
9694
|
Select
|
akka.http.scaladsl.model.HttpMethods.DELETE
|
|
akka.http.scaladsl.model.HttpMethods.DELETE
|
|
227
|
27621
|
9710
-
9768
|
Apply
|
akka.http.scaladsl.model.Uri.apply
|
|
akka.http.scaladsl.model.Uri.apply(("".+(DefaultCrmClientComponent.this.mailJetConfiguration.url).+("/v4/contacts/").+(contactId): String))
|
|
228
|
25619
|
9792
-
9813
|
Apply
|
scala.Function1.apply
|
|
DefaultCrmClient.this.choseAccount.apply(account)
|
|
228
|
23195
|
9788
-
9814
|
Apply
|
scala.collection.SeqFactory.Delegate.apply
|
|
scala.`package`.Seq.apply[akka.http.scaladsl.model.headers.Authorization](DefaultCrmClient.this.choseAccount.apply(account))
|
|
230
|
27322
|
9829
-
10143
|
ApplyToImplicitArgs
|
scala.concurrent.Future.recoverWith
|
|
cats.implicits.toFunctorOps[scala.concurrent.Future, akka.http.scaladsl.model.HttpMessage.DiscardedEntity](DefaultCrmClient.this.runWithRetries(request, "deleteContactById", CrmClientException.RequestException.DeleteUserException, DefaultCrmClient.this.runWithRetries$default$4)(executionContext).map[akka.http.scaladsl.model.HttpMessage.DiscardedEntity](((x$11: akka.http.scaladsl.model.ResponseEntity) => model.this.HttpEntity.HttpEntityScalaDSLSugar(x$11).discardBytes()(stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem))))(executionContext))(cats.implicits.catsStdInstancesForFuture(executionContext)).void.recoverWith[Unit](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Unit]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Unit]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Unit]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (error @ (_: org.make.api.technical.crm.CrmClientException.RequestException.DeleteUserException)) if error.code.==(akka.http.scaladsl.model.StatusCodes.NotFound) => {
DefaultCrmClientComponent.this.logger.error(("deleteContactById failed with status ".+(error.code).+(": ").+(error.response): String));
scala.concurrent.Future.unit
}
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (error @ (_: org.make.api.technical.crm.CrmClientException.RequestException.DeleteUserException)) if error.code.==(akka.http.scaladsl.model.StatusCodes.NotFound) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Unit]]))(executionContext)
|
|
245
|
25083
|
10303
-
10672
|
ApplyToImplicitArgs
|
scala.concurrent.Future.recoverWith
|
|
DefaultCrmClient.this.getContactByMailOrContactId(email, account)(executionContext).flatMap[Unit](((x0$1: org.make.api.technical.crm.BasicCrmResponse.ContactsResponse) => x0$1 match {
case (count: Int, total: Int, data: Seq[org.make.api.technical.crm.ContactDataResponse]): org.make.api.technical.crm.BasicCrmResponse[org.make.api.technical.crm.ContactDataResponse](_, _, (head: org.make.api.technical.crm.ContactDataResponse, next: List[org.make.api.technical.crm.ContactDataResponse]): scala.collection.immutable.::[org.make.api.technical.crm.ContactDataResponse]((head @ _), _)) => {
val id: String = head.id.toString();
DefaultCrmClient.this.deleteContactById(id, account)(executionContext)
}
case _ => scala.concurrent.Future.unit
}))(executionContext).recoverWith[Unit](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[Unit]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[Unit]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[Unit]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (e @ (_: org.make.api.technical.crm.CrmClientException)) => {
DefaultCrmClientComponent.this.logger.error(e.message);
scala.concurrent.Future.unit
}
case (e @ _) => scala.concurrent.Future.failed[Nothing](e)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (e @ (_: org.make.api.technical.crm.CrmClientException)) => true
case (e @ _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[Unit]]))(executionContext)
|
|
262
|
23811
|
11073
-
11096
|
Apply
|
scala.concurrent.Promise.apply
|
org.make.api.technical.crm.crmclientcomponenttest
|
scala.concurrent.Promise.apply[akka.http.scaladsl.model.HttpResponse]()
|
|
263
|
27629
|
11105
-
12184
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.crmclientcomponenttest
|
DefaultCrmClient.this.queue.offer(scala.Tuple2.apply[akka.http.scaladsl.model.HttpRequest, scala.concurrent.Promise[akka.http.scaladsl.model.HttpResponse]](request, promise)).flatMap[akka.http.scaladsl.model.HttpResponse](((x0$1: akka.stream.QueueOfferResult) => x0$1 match {
case akka.stream.QueueOfferResult.Enqueued => promise.future.flatMap[akka.http.scaladsl.model.HttpResponse](((x0$2: akka.http.scaladsl.model.HttpResponse) => x0$2 match {
case akka.http.scaladsl.model.HttpResponse.unapply(<unapply-selector>) <unapply> (akka.http.scaladsl.model.StatusCodes.InternalServerError, _, (entity @ _), _) if retries.>(0) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](entity).to[String](akka.http.scaladsl.unmarshalling.PredefinedFromEntityUnmarshallers.stringUnmarshaller, ec, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem)).flatMap[akka.http.scaladsl.model.HttpResponse](((response: String) => {
DefaultCrmClientComponent.this.logger.warn(("Error \'".+(response).+("\' from Mailjet, ").+(retries).+(" retries left"): String));
loop(retries.-(1))
}))(ec)
case (other @ _) => scala.concurrent.Future.successful[akka.http.scaladsl.model.HttpResponse](other)
}))(ec).recoverWith[akka.http.scaladsl.model.HttpResponse](({
@SerialVersionUID(value = 0) final <synthetic> class $anonfun extends scala.runtime.AbstractPartialFunction[Throwable,scala.concurrent.Future[akka.http.scaladsl.model.HttpResponse]] with java.io.Serializable {
def <init>(): <$anon: Throwable => scala.concurrent.Future[akka.http.scaladsl.model.HttpResponse]> = {
$anonfun.super.<init>();
()
};
final override def applyOrElse[A1 <: Throwable, B1 >: scala.concurrent.Future[akka.http.scaladsl.model.HttpResponse]](x1: A1, default: A1 => B1): B1 = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (error @ _) => if (retries.>(0))
{
DefaultCrmClientComponent.this.logger.error(("Mailjet request ".+(request).+(" failed with:"): String), error);
loop(retries.-(1))
}
else
scala.concurrent.Future.failed[Nothing](error)
case (defaultCase$ @ _) => default.apply(x1)
};
final def isDefinedAt(x1: Throwable): Boolean = ((x1.asInstanceOf[Throwable]: Throwable): Throwable @unchecked) match {
case (error @ _) => true
case (defaultCase$ @ _) => false
}
};
new $anonfun()
}: PartialFunction[Throwable,scala.concurrent.Future[akka.http.scaladsl.model.HttpResponse]]))(ec)
case akka.stream.QueueOfferResult.Dropped => scala.concurrent.Future.failed[Nothing](CrmClientException.QueueException.QueueOverflowed)
case (cause: Throwable): akka.stream.QueueOfferResult.Failure((ex @ _)) => scala.concurrent.Future.failed[Nothing](ex)
case akka.stream.QueueOfferResult.QueueClosed => scala.concurrent.Future.failed[Nothing](CrmClientException.QueueException.QueueClosed)
}))(ec)
|
|
286
|
25596
|
12199
-
12747
|
ApplyToImplicitArgs
|
scala.concurrent.Future.flatMap
|
org.make.api.technical.crm.crmclientcomponenttest
|
loop(maxRetries).flatMap[akka.http.scaladsl.model.ResponseEntity](((x0$1: akka.http.scaladsl.model.HttpResponse) => x0$1 match {
case akka.http.scaladsl.model.HttpResponse.unapply(<unapply-selector>) <unapply> ((code @ _), _, (entity @ _), _) if code.isSuccess() => scala.concurrent.Future.successful[akka.http.scaladsl.model.ResponseEntity](entity)
case akka.http.scaladsl.model.HttpResponse.unapply(<unapply-selector>) <unapply> ((code @ _), _, (entity @ _), _) => akka.http.scaladsl.unmarshalling.Unmarshal.apply[akka.http.scaladsl.model.ResponseEntity](entity).to[String](akka.http.scaladsl.unmarshalling.PredefinedFromEntityUnmarshallers.stringUnmarshaller, ec, stream.this.Materializer.matFromSystem(DefaultCrmClientComponent.this.actorSystem)).flatMap[Nothing](((response: String) => {
val exception: Exception = code match {
case akka.http.scaladsl.model.StatusCodes.TooManyRequests => QuotaExceeded.apply(id, response)
case (code @ _) => exceptionFn.apply(code, response)
};
scala.concurrent.Future.failed[Nothing](exception)
}))(ec)
}))(ec)
|