Skip to content

Commit 0c46450

Browse files
Release 1.8.38
1 parent 1b85e7d commit 0c46450

38 files changed

Lines changed: 2496 additions & 95 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.37'
49+
version = '1.8.38'
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.37'
80+
version = '1.8.38'
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.37");
35+
put("User-Agent", "com.flagright.api:flagright-java/1.8.38");
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.37");
38+
put("X-Fern-SDK-Version", "1.8.38");
3939
}
4040
});
4141
this.headerSuppliers = headerSuppliers;

src/main/java/com/flagright/api/resources/batch/AsyncBatchClient.java

Lines changed: 95 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,25 @@
55

66
import com.flagright.api.core.ClientOptions;
77
import com.flagright.api.core.RequestOptions;
8-
import com.flagright.api.resources.batch.requests.BatchGetRequest;
8+
import com.flagright.api.resources.batch.requests.BatchGetBusinessUserEventsRequest;
9+
import com.flagright.api.resources.batch.requests.BatchGetBusinessUsersRequest;
10+
import com.flagright.api.resources.batch.requests.BatchGetConsumerUserEventsRequest;
11+
import com.flagright.api.resources.batch.requests.BatchGetConsumerUsersRequest;
12+
import com.flagright.api.resources.batch.requests.BatchGetTransactionEventsRequest;
13+
import com.flagright.api.resources.batch.requests.BatchGetTransactionsRequest;
914
import com.flagright.api.resources.batch.requests.BusinessBatchRequest;
1015
import com.flagright.api.resources.batch.requests.BusinessUserEventBatchRequest;
1116
import com.flagright.api.resources.batch.requests.ConsumerUserEventBatchRequest;
1217
import com.flagright.api.resources.batch.requests.TransactionBatchRequest;
1318
import com.flagright.api.resources.batch.requests.TransactionEventBatchRequest;
1419
import com.flagright.api.resources.batch.requests.UserBatchRequest;
1520
import com.flagright.api.types.BatchBusinessUserEventsWithRulesResult;
21+
import com.flagright.api.types.BatchBusinessUsersWithRulesResults;
22+
import com.flagright.api.types.BatchConsumerUserEventsRulesResult;
23+
import com.flagright.api.types.BatchConsumerUsersWithRulesResult;
1624
import com.flagright.api.types.BatchResponse;
25+
import com.flagright.api.types.BatchTransactionEventMonitoringResults;
26+
import com.flagright.api.types.BatchTransactionMonitoringResults;
1727
import java.util.concurrent.CompletableFuture;
1828

1929
public class AsyncBatchClient {
@@ -42,17 +52,18 @@ public CompletableFuture<BatchResponse> verifyTransaction(
4252
return this.rawClient.verifyTransaction(request, requestOptions).thenApply(response -> response.body());
4353
}
4454

45-
public CompletableFuture<BatchBusinessUserEventsWithRulesResult> get(String batchId) {
46-
return this.rawClient.get(batchId).thenApply(response -> response.body());
55+
public CompletableFuture<BatchTransactionMonitoringResults> getTransactions(String batchId) {
56+
return this.rawClient.getTransactions(batchId).thenApply(response -> response.body());
4757
}
4858

49-
public CompletableFuture<BatchBusinessUserEventsWithRulesResult> get(String batchId, BatchGetRequest request) {
50-
return this.rawClient.get(batchId, request).thenApply(response -> response.body());
59+
public CompletableFuture<BatchTransactionMonitoringResults> getTransactions(
60+
String batchId, BatchGetTransactionsRequest request) {
61+
return this.rawClient.getTransactions(batchId, request).thenApply(response -> response.body());
5162
}
5263

53-
public CompletableFuture<BatchBusinessUserEventsWithRulesResult> get(
54-
String batchId, BatchGetRequest request, RequestOptions requestOptions) {
55-
return this.rawClient.get(batchId, request, requestOptions).thenApply(response -> response.body());
64+
public CompletableFuture<BatchTransactionMonitoringResults> getTransactions(
65+
String batchId, BatchGetTransactionsRequest request, RequestOptions requestOptions) {
66+
return this.rawClient.getTransactions(batchId, request, requestOptions).thenApply(response -> response.body());
5667
}
5768

5869
public CompletableFuture<BatchResponse> createTransactionEvents(TransactionEventBatchRequest request) {
@@ -64,6 +75,22 @@ public CompletableFuture<BatchResponse> createTransactionEvents(
6475
return this.rawClient.createTransactionEvents(request, requestOptions).thenApply(response -> response.body());
6576
}
6677

78+
public CompletableFuture<BatchTransactionEventMonitoringResults> getTransactionEvents(String batchId) {
79+
return this.rawClient.getTransactionEvents(batchId).thenApply(response -> response.body());
80+
}
81+
82+
public CompletableFuture<BatchTransactionEventMonitoringResults> getTransactionEvents(
83+
String batchId, BatchGetTransactionEventsRequest request) {
84+
return this.rawClient.getTransactionEvents(batchId, request).thenApply(response -> response.body());
85+
}
86+
87+
public CompletableFuture<BatchTransactionEventMonitoringResults> getTransactionEvents(
88+
String batchId, BatchGetTransactionEventsRequest request, RequestOptions requestOptions) {
89+
return this.rawClient
90+
.getTransactionEvents(batchId, request, requestOptions)
91+
.thenApply(response -> response.body());
92+
}
93+
6794
public CompletableFuture<BatchResponse> createConsumerUsers(UserBatchRequest request) {
6895
return this.rawClient.createConsumerUsers(request).thenApply(response -> response.body());
6996
}
@@ -73,6 +100,34 @@ public CompletableFuture<BatchResponse> createConsumerUsers(
73100
return this.rawClient.createConsumerUsers(request, requestOptions).thenApply(response -> response.body());
74101
}
75102

103+
public CompletableFuture<BatchConsumerUsersWithRulesResult> getConsumerUsers(String batchId) {
104+
return this.rawClient.getConsumerUsers(batchId).thenApply(response -> response.body());
105+
}
106+
107+
public CompletableFuture<BatchConsumerUsersWithRulesResult> getConsumerUsers(
108+
String batchId, BatchGetConsumerUsersRequest request) {
109+
return this.rawClient.getConsumerUsers(batchId, request).thenApply(response -> response.body());
110+
}
111+
112+
public CompletableFuture<BatchConsumerUsersWithRulesResult> getConsumerUsers(
113+
String batchId, BatchGetConsumerUsersRequest request, RequestOptions requestOptions) {
114+
return this.rawClient.getConsumerUsers(batchId, request, requestOptions).thenApply(response -> response.body());
115+
}
116+
117+
public CompletableFuture<BatchBusinessUsersWithRulesResults> getBusinessUsers(String batchId) {
118+
return this.rawClient.getBusinessUsers(batchId).thenApply(response -> response.body());
119+
}
120+
121+
public CompletableFuture<BatchBusinessUsersWithRulesResults> getBusinessUsers(
122+
String batchId, BatchGetBusinessUsersRequest request) {
123+
return this.rawClient.getBusinessUsers(batchId, request).thenApply(response -> response.body());
124+
}
125+
126+
public CompletableFuture<BatchBusinessUsersWithRulesResults> getBusinessUsers(
127+
String batchId, BatchGetBusinessUsersRequest request, RequestOptions requestOptions) {
128+
return this.rawClient.getBusinessUsers(batchId, request, requestOptions).thenApply(response -> response.body());
129+
}
130+
76131
public CompletableFuture<BatchResponse> createBusinessUsers(BusinessBatchRequest request) {
77132
return this.rawClient.createBusinessUsers(request).thenApply(response -> response.body());
78133
}
@@ -82,6 +137,38 @@ public CompletableFuture<BatchResponse> createBusinessUsers(
82137
return this.rawClient.createBusinessUsers(request, requestOptions).thenApply(response -> response.body());
83138
}
84139

140+
public CompletableFuture<BatchConsumerUserEventsRulesResult> getConsumerUserEvents(String batchId) {
141+
return this.rawClient.getConsumerUserEvents(batchId).thenApply(response -> response.body());
142+
}
143+
144+
public CompletableFuture<BatchConsumerUserEventsRulesResult> getConsumerUserEvents(
145+
String batchId, BatchGetConsumerUserEventsRequest request) {
146+
return this.rawClient.getConsumerUserEvents(batchId, request).thenApply(response -> response.body());
147+
}
148+
149+
public CompletableFuture<BatchConsumerUserEventsRulesResult> getConsumerUserEvents(
150+
String batchId, BatchGetConsumerUserEventsRequest request, RequestOptions requestOptions) {
151+
return this.rawClient
152+
.getConsumerUserEvents(batchId, request, requestOptions)
153+
.thenApply(response -> response.body());
154+
}
155+
156+
public CompletableFuture<BatchBusinessUserEventsWithRulesResult> getBusinessUserEvents(String batchId) {
157+
return this.rawClient.getBusinessUserEvents(batchId).thenApply(response -> response.body());
158+
}
159+
160+
public CompletableFuture<BatchBusinessUserEventsWithRulesResult> getBusinessUserEvents(
161+
String batchId, BatchGetBusinessUserEventsRequest request) {
162+
return this.rawClient.getBusinessUserEvents(batchId, request).thenApply(response -> response.body());
163+
}
164+
165+
public CompletableFuture<BatchBusinessUserEventsWithRulesResult> getBusinessUserEvents(
166+
String batchId, BatchGetBusinessUserEventsRequest request, RequestOptions requestOptions) {
167+
return this.rawClient
168+
.getBusinessUserEvents(batchId, request, requestOptions)
169+
.thenApply(response -> response.body());
170+
}
171+
85172
public CompletableFuture<BatchResponse> createConsumerUserEvents(ConsumerUserEventBatchRequest request) {
86173
return this.rawClient.createConsumerUserEvents(request).thenApply(response -> response.body());
87174
}

0 commit comments

Comments
 (0)