Skip to content

Commit 5852e26

Browse files
Release 1.8.50
1 parent 1e90e64 commit 5852e26

30 files changed

Lines changed: 839 additions & 60 deletions

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ java {
4646

4747
group = 'com.flagright.api'
4848

49-
version = '1.8.49'
49+
version = '1.8.50'
5050

5151
jar {
5252
dependsOn(":generatePomFileForMavenPublication")
@@ -77,7 +77,7 @@ publishing {
7777
maven(MavenPublication) {
7878
groupId = 'com.flagright.api'
7979
artifactId = 'flagright-java'
80-
version = '1.8.49'
80+
version = '1.8.50'
8181
from components.java
8282
pom {
8383
name = 'flagright'

src/main/java/com/flagright/api/core/ClientOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ private ClientOptions(
3232
this.headers.putAll(headers);
3333
this.headers.putAll(new HashMap<String, String>() {
3434
{
35-
put("User-Agent", "com.flagright.api:flagright-java/1.8.49");
35+
put("User-Agent", "com.flagright.api:flagright-java/1.8.50");
3636
put("X-Fern-Language", "JAVA");
3737
put("X-Fern-SDK-Name", "com.flagright.fern:api-sdk");
38-
put("X-Fern-SDK-Version", "1.8.49");
38+
put("X-Fern-SDK-Version", "1.8.50");
3939
}
4040
});
4141
this.headerSuppliers = headerSuppliers;

src/main/java/com/flagright/api/types/Amount.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private Amount(double amountValue, CurrencyCode amountCurrency, Map<String, Obje
3232
}
3333

3434
/**
35-
* @return Numerical value of the transaction
35+
* @return Numerical value of the transaction in major currency units (within IEEE 754 safe integer range for exact JSON representation)
3636
*/
3737
@JsonProperty("amountValue")
3838
public double getAmountValue() {
@@ -106,7 +106,7 @@ public Builder from(Amount other) {
106106
}
107107

108108
/**
109-
* <p>Numerical value of the transaction</p>
109+
* <p>Numerical value of the transaction in major currency units (within IEEE 754 safe integer range for exact JSON representation)</p>
110110
* @return Reference to {@code this} so that method calls can be chained together.
111111
*/
112112
@java.lang.Override

src/main/java/com/flagright/api/types/BatchBusinessUserEventWithRulesResult.java

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public final class BatchBusinessUserEventWithRulesResult {
3434

3535
private final Optional<BusinessOptional> updatedBusinessUserAttributes;
3636

37+
private final Optional<List<String>> externalLinks;
38+
3739
private final Optional<List<ExecutedRulesResult>> executedRules;
3840

3941
private final Optional<UserRiskScoreDetails> riskScoreDetails;
@@ -47,6 +49,7 @@ private BatchBusinessUserEventWithRulesResult(
4749
Optional<String> reason,
4850
Optional<String> eventDescription,
4951
Optional<BusinessOptional> updatedBusinessUserAttributes,
52+
Optional<List<String>> externalLinks,
5053
Optional<List<ExecutedRulesResult>> executedRules,
5154
Optional<UserRiskScoreDetails> riskScoreDetails,
5255
Map<String, Object> additionalProperties) {
@@ -56,6 +59,7 @@ private BatchBusinessUserEventWithRulesResult(
5659
this.reason = reason;
5760
this.eventDescription = eventDescription;
5861
this.updatedBusinessUserAttributes = updatedBusinessUserAttributes;
62+
this.externalLinks = externalLinks;
5963
this.executedRules = executedRules;
6064
this.riskScoreDetails = riskScoreDetails;
6165
this.additionalProperties = additionalProperties;
@@ -106,6 +110,14 @@ public Optional<BusinessOptional> getUpdatedBusinessUserAttributes() {
106110
return updatedBusinessUserAttributes;
107111
}
108112

113+
/**
114+
* @return External links related to the business user
115+
*/
116+
@JsonProperty("externalLinks")
117+
public Optional<List<String>> getExternalLinks() {
118+
return externalLinks;
119+
}
120+
109121
@JsonProperty("executedRules")
110122
public Optional<List<ExecutedRulesResult>> getExecutedRules() {
111123
return executedRules;
@@ -135,6 +147,7 @@ private boolean equalTo(BatchBusinessUserEventWithRulesResult other) {
135147
&& reason.equals(other.reason)
136148
&& eventDescription.equals(other.eventDescription)
137149
&& updatedBusinessUserAttributes.equals(other.updatedBusinessUserAttributes)
150+
&& externalLinks.equals(other.externalLinks)
138151
&& executedRules.equals(other.executedRules)
139152
&& riskScoreDetails.equals(other.riskScoreDetails);
140153
}
@@ -148,6 +161,7 @@ public int hashCode() {
148161
this.reason,
149162
this.eventDescription,
150163
this.updatedBusinessUserAttributes,
164+
this.externalLinks,
151165
this.executedRules,
152166
this.riskScoreDetails);
153167
}
@@ -190,6 +204,10 @@ public interface _FinalStage {
190204

191205
_FinalStage updatedBusinessUserAttributes(BusinessOptional updatedBusinessUserAttributes);
192206

207+
_FinalStage externalLinks(Optional<List<String>> externalLinks);
208+
209+
_FinalStage externalLinks(List<String> externalLinks);
210+
193211
_FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRules);
194212

195213
_FinalStage executedRules(List<ExecutedRulesResult> executedRules);
@@ -209,6 +227,8 @@ public static final class Builder implements TimestampStage, UserIdStage, _Final
209227

210228
private Optional<List<ExecutedRulesResult>> executedRules = Optional.empty();
211229

230+
private Optional<List<String>> externalLinks = Optional.empty();
231+
212232
private Optional<BusinessOptional> updatedBusinessUserAttributes = Optional.empty();
213233

214234
private Optional<String> eventDescription = Optional.empty();
@@ -230,6 +250,7 @@ public Builder from(BatchBusinessUserEventWithRulesResult other) {
230250
reason(other.getReason());
231251
eventDescription(other.getEventDescription());
232252
updatedBusinessUserAttributes(other.getUpdatedBusinessUserAttributes());
253+
externalLinks(other.getExternalLinks());
233254
executedRules(other.getExecutedRules());
234255
riskScoreDetails(other.getRiskScoreDetails());
235256
return this;
@@ -283,6 +304,23 @@ public _FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRul
283304
return this;
284305
}
285306

307+
/**
308+
* <p>External links related to the business user</p>
309+
* @return Reference to {@code this} so that method calls can be chained together.
310+
*/
311+
@java.lang.Override
312+
public _FinalStage externalLinks(List<String> externalLinks) {
313+
this.externalLinks = Optional.ofNullable(externalLinks);
314+
return this;
315+
}
316+
317+
@java.lang.Override
318+
@JsonSetter(value = "externalLinks", nulls = Nulls.SKIP)
319+
public _FinalStage externalLinks(Optional<List<String>> externalLinks) {
320+
this.externalLinks = externalLinks;
321+
return this;
322+
}
323+
286324
@java.lang.Override
287325
public _FinalStage updatedBusinessUserAttributes(BusinessOptional updatedBusinessUserAttributes) {
288326
this.updatedBusinessUserAttributes = Optional.ofNullable(updatedBusinessUserAttributes);
@@ -356,6 +394,7 @@ public BatchBusinessUserEventWithRulesResult build() {
356394
reason,
357395
eventDescription,
358396
updatedBusinessUserAttributes,
397+
externalLinks,
359398
executedRules,
360399
riskScoreDetails,
361400
additionalProperties);

src/main/java/com/flagright/api/types/BatchBusinessUserWithRulesResult.java

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ public final class BatchBusinessUserWithRulesResult {
8282

8383
private final Optional<Boolean> adverseMediaStatus;
8484

85+
private final Optional<List<String>> externalLinks;
86+
8587
private final Optional<List<ExecutedRulesResult>> executedRules;
8688

8789
private final Optional<UserRiskScoreDetails> riskScoreDetails;
@@ -119,6 +121,7 @@ private BatchBusinessUserWithRulesResult(
119121
Optional<List<PepStatus>> pepStatus,
120122
Optional<Boolean> sanctionsStatus,
121123
Optional<Boolean> adverseMediaStatus,
124+
Optional<List<String>> externalLinks,
122125
Optional<List<ExecutedRulesResult>> executedRules,
123126
Optional<UserRiskScoreDetails> riskScoreDetails,
124127
Map<String, Object> additionalProperties) {
@@ -152,6 +155,7 @@ private BatchBusinessUserWithRulesResult(
152155
this.pepStatus = pepStatus;
153156
this.sanctionsStatus = sanctionsStatus;
154157
this.adverseMediaStatus = adverseMediaStatus;
158+
this.externalLinks = externalLinks;
155159
this.executedRules = executedRules;
156160
this.riskScoreDetails = riskScoreDetails;
157161
this.additionalProperties = additionalProperties;
@@ -346,6 +350,14 @@ public Optional<Boolean> getAdverseMediaStatus() {
346350
return adverseMediaStatus;
347351
}
348352

353+
/**
354+
* @return External links related to the business user
355+
*/
356+
@JsonProperty("externalLinks")
357+
public Optional<List<String>> getExternalLinks() {
358+
return externalLinks;
359+
}
360+
349361
@JsonProperty("executedRules")
350362
public Optional<List<ExecutedRulesResult>> getExecutedRules() {
351363
return executedRules;
@@ -398,6 +410,7 @@ private boolean equalTo(BatchBusinessUserWithRulesResult other) {
398410
&& pepStatus.equals(other.pepStatus)
399411
&& sanctionsStatus.equals(other.sanctionsStatus)
400412
&& adverseMediaStatus.equals(other.adverseMediaStatus)
413+
&& externalLinks.equals(other.externalLinks)
401414
&& executedRules.equals(other.executedRules)
402415
&& riskScoreDetails.equals(other.riskScoreDetails);
403416
}
@@ -435,6 +448,7 @@ public int hashCode() {
435448
this.pepStatus,
436449
this.sanctionsStatus,
437450
this.adverseMediaStatus,
451+
this.externalLinks,
438452
this.executedRules,
439453
this.riskScoreDetails);
440454
}
@@ -577,6 +591,10 @@ _FinalStage savedPaymentDetails(
577591

578592
_FinalStage adverseMediaStatus(Boolean adverseMediaStatus);
579593

594+
_FinalStage externalLinks(Optional<List<String>> externalLinks);
595+
596+
_FinalStage externalLinks(List<String> externalLinks);
597+
580598
_FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRules);
581599

582600
_FinalStage executedRules(List<ExecutedRulesResult> executedRules);
@@ -598,6 +616,8 @@ public static final class Builder implements UserIdStage, CreatedTimestampStage,
598616

599617
private Optional<List<ExecutedRulesResult>> executedRules = Optional.empty();
600618

619+
private Optional<List<String>> externalLinks = Optional.empty();
620+
601621
private Optional<Boolean> adverseMediaStatus = Optional.empty();
602622

603623
private Optional<Boolean> sanctionsStatus = Optional.empty();
@@ -691,6 +711,7 @@ public Builder from(BatchBusinessUserWithRulesResult other) {
691711
pepStatus(other.getPepStatus());
692712
sanctionsStatus(other.getSanctionsStatus());
693713
adverseMediaStatus(other.getAdverseMediaStatus());
714+
externalLinks(other.getExternalLinks());
694715
executedRules(other.getExecutedRules());
695716
riskScoreDetails(other.getRiskScoreDetails());
696717
return this;
@@ -751,6 +772,23 @@ public _FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRul
751772
return this;
752773
}
753774

775+
/**
776+
* <p>External links related to the business user</p>
777+
* @return Reference to {@code this} so that method calls can be chained together.
778+
*/
779+
@java.lang.Override
780+
public _FinalStage externalLinks(List<String> externalLinks) {
781+
this.externalLinks = Optional.ofNullable(externalLinks);
782+
return this;
783+
}
784+
785+
@java.lang.Override
786+
@JsonSetter(value = "externalLinks", nulls = Nulls.SKIP)
787+
public _FinalStage externalLinks(Optional<List<String>> externalLinks) {
788+
this.externalLinks = externalLinks;
789+
return this;
790+
}
791+
754792
/**
755793
* <p>Whether the user is in the adverse media list</p>
756794
* @return Reference to {@code this} so that method calls can be chained together.
@@ -1185,6 +1223,7 @@ public BatchBusinessUserWithRulesResult build() {
11851223
pepStatus,
11861224
sanctionsStatus,
11871225
adverseMediaStatus,
1226+
externalLinks,
11881227
executedRules,
11891228
riskScoreDetails,
11901229
additionalProperties);

src/main/java/com/flagright/api/types/BatchConsumerUserEventWithRulesResult.java

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public final class BatchConsumerUserEventWithRulesResult {
3434

3535
private final Optional<UserOptional> updatedConsumerUserAttributes;
3636

37+
private final Optional<List<String>> externalLinks;
38+
3739
private final Optional<List<ExecutedRulesResult>> executedRules;
3840

3941
private final Optional<UserRiskScoreDetails> riskScoreDetails;
@@ -47,6 +49,7 @@ private BatchConsumerUserEventWithRulesResult(
4749
Optional<String> reason,
4850
Optional<String> eventDescription,
4951
Optional<UserOptional> updatedConsumerUserAttributes,
52+
Optional<List<String>> externalLinks,
5053
Optional<List<ExecutedRulesResult>> executedRules,
5154
Optional<UserRiskScoreDetails> riskScoreDetails,
5255
Map<String, Object> additionalProperties) {
@@ -56,6 +59,7 @@ private BatchConsumerUserEventWithRulesResult(
5659
this.reason = reason;
5760
this.eventDescription = eventDescription;
5861
this.updatedConsumerUserAttributes = updatedConsumerUserAttributes;
62+
this.externalLinks = externalLinks;
5963
this.executedRules = executedRules;
6064
this.riskScoreDetails = riskScoreDetails;
6165
this.additionalProperties = additionalProperties;
@@ -106,6 +110,14 @@ public Optional<UserOptional> getUpdatedConsumerUserAttributes() {
106110
return updatedConsumerUserAttributes;
107111
}
108112

113+
/**
114+
* @return External links related to the consumer user
115+
*/
116+
@JsonProperty("externalLinks")
117+
public Optional<List<String>> getExternalLinks() {
118+
return externalLinks;
119+
}
120+
109121
@JsonProperty("executedRules")
110122
public Optional<List<ExecutedRulesResult>> getExecutedRules() {
111123
return executedRules;
@@ -135,6 +147,7 @@ private boolean equalTo(BatchConsumerUserEventWithRulesResult other) {
135147
&& reason.equals(other.reason)
136148
&& eventDescription.equals(other.eventDescription)
137149
&& updatedConsumerUserAttributes.equals(other.updatedConsumerUserAttributes)
150+
&& externalLinks.equals(other.externalLinks)
138151
&& executedRules.equals(other.executedRules)
139152
&& riskScoreDetails.equals(other.riskScoreDetails);
140153
}
@@ -148,6 +161,7 @@ public int hashCode() {
148161
this.reason,
149162
this.eventDescription,
150163
this.updatedConsumerUserAttributes,
164+
this.externalLinks,
151165
this.executedRules,
152166
this.riskScoreDetails);
153167
}
@@ -190,6 +204,10 @@ public interface _FinalStage {
190204

191205
_FinalStage updatedConsumerUserAttributes(UserOptional updatedConsumerUserAttributes);
192206

207+
_FinalStage externalLinks(Optional<List<String>> externalLinks);
208+
209+
_FinalStage externalLinks(List<String> externalLinks);
210+
193211
_FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRules);
194212

195213
_FinalStage executedRules(List<ExecutedRulesResult> executedRules);
@@ -209,6 +227,8 @@ public static final class Builder implements TimestampStage, UserIdStage, _Final
209227

210228
private Optional<List<ExecutedRulesResult>> executedRules = Optional.empty();
211229

230+
private Optional<List<String>> externalLinks = Optional.empty();
231+
212232
private Optional<UserOptional> updatedConsumerUserAttributes = Optional.empty();
213233

214234
private Optional<String> eventDescription = Optional.empty();
@@ -230,6 +250,7 @@ public Builder from(BatchConsumerUserEventWithRulesResult other) {
230250
reason(other.getReason());
231251
eventDescription(other.getEventDescription());
232252
updatedConsumerUserAttributes(other.getUpdatedConsumerUserAttributes());
253+
externalLinks(other.getExternalLinks());
233254
executedRules(other.getExecutedRules());
234255
riskScoreDetails(other.getRiskScoreDetails());
235256
return this;
@@ -283,6 +304,23 @@ public _FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRul
283304
return this;
284305
}
285306

307+
/**
308+
* <p>External links related to the consumer user</p>
309+
* @return Reference to {@code this} so that method calls can be chained together.
310+
*/
311+
@java.lang.Override
312+
public _FinalStage externalLinks(List<String> externalLinks) {
313+
this.externalLinks = Optional.ofNullable(externalLinks);
314+
return this;
315+
}
316+
317+
@java.lang.Override
318+
@JsonSetter(value = "externalLinks", nulls = Nulls.SKIP)
319+
public _FinalStage externalLinks(Optional<List<String>> externalLinks) {
320+
this.externalLinks = externalLinks;
321+
return this;
322+
}
323+
286324
@java.lang.Override
287325
public _FinalStage updatedConsumerUserAttributes(UserOptional updatedConsumerUserAttributes) {
288326
this.updatedConsumerUserAttributes = Optional.ofNullable(updatedConsumerUserAttributes);
@@ -356,6 +394,7 @@ public BatchConsumerUserEventWithRulesResult build() {
356394
reason,
357395
eventDescription,
358396
updatedConsumerUserAttributes,
397+
externalLinks,
359398
executedRules,
360399
riskScoreDetails,
361400
additionalProperties);

0 commit comments

Comments
 (0)