Skip to content

Commit 8049375

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@058de3d2.
1 parent 85b4728 commit 8049375

23 files changed

Lines changed: 5688 additions & 208 deletions

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All endpoints in the API follow REST conventions and use standard HTTP methods.
1010

1111
See the next sections for more information on how to use the Segment Public API Java SDK.
1212

13-
Latest API and SDK version: 73.0.2
13+
Latest API and SDK version: 73.0.3
1414

1515
## Requirements
1616

@@ -28,7 +28,7 @@ Add this dependency to your project's POM:
2828
<dependency>
2929
<groupId>com.segment.publicapi</groupId>
3030
<artifactId>segment-publicapi</artifactId>
31-
<version>73.0.2</version>
31+
<version>73.0.3</version>
3232
<scope>compile</scope>
3333
</dependency>
3434
```
@@ -44,7 +44,7 @@ Add this dependency to your project's build file:
4444
}
4545
4646
dependencies {
47-
implementation "com.segment.publicapi:segment-publicapi:73.0.2"
47+
implementation "com.segment.publicapi:segment-publicapi:73.0.3"
4848
}
4949
```
5050

@@ -58,7 +58,7 @@ mvn clean package
5858

5959
Then manually install the following JARs:
6060

61-
* `target/segment-publicapi-73.0.2.jar`
61+
* `target/segment-publicapi-73.0.3.jar`
6262
* `target/lib/*.jar`
6363

6464
You are now ready to start making calls to Public API!

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
73.0.2
1+
73.0.3

docs/SpaceSchemaApi.md

Lines changed: 404 additions & 0 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>segment-publicapi</artifactId>
66
<packaging>jar</packaging>
77
<name>segment-publicapi</name>
8-
<version>73.0.2</version>
8+
<version>73.0.3</version>
99
<url>https://segment.com/docs/api/public-api/</url>
1010
<description>Segment Public API</description>
1111
<scm>

src/main/java/com/segment/publicapi/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ private void init() {
123123
json = new JSON();
124124

125125
// Set default User-Agent.
126-
setUserAgent("Public API SDK 73.0.2 (Java)");
126+
setUserAgent("Public API SDK 73.0.3 (Java)");
127127

128128
authentications = new HashMap<String, Authentication>();
129129
}

src/main/java/com/segment/publicapi/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
package com.segment.publicapi;
1313

1414
public class Configuration {
15-
public static final String VERSION = "73.0.2";
15+
public static final String VERSION = "73.0.3";
1616

1717
private static ApiClient defaultApiClient = new ApiClient();
1818

src/main/java/com/segment/publicapi/JSON.java

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,10 @@ private static Class getClassByDiscriminator(
736736
new com.segment.publicapi.models.EchoV1Output.CustomTypeAdapterFactory());
737737
gsonBuilder.registerTypeAdapterFactory(
738738
new com.segment.publicapi.models.EntityDetails.CustomTypeAdapterFactory());
739+
gsonBuilder.registerTypeAdapterFactory(
740+
new com.segment.publicapi.models.EntityPathAlpha.CustomTypeAdapterFactory());
741+
gsonBuilder.registerTypeAdapterFactory(
742+
new com.segment.publicapi.models.EntityPropertyAlpha.CustomTypeAdapterFactory());
739743
gsonBuilder.registerTypeAdapterFactory(
740744
new com.segment.publicapi.models.EventAlpha.CustomTypeAdapterFactory());
741745
gsonBuilder.registerTypeAdapterFactory(
@@ -758,6 +762,9 @@ private static Class getClassByDiscriminator(
758762
gsonBuilder.registerTypeAdapterFactory(
759763
new com.segment.publicapi.models.ForceExecuteAudienceRunOutput
760764
.CustomTypeAdapterFactory());
765+
gsonBuilder.registerTypeAdapterFactory(
766+
new com.segment.publicapi.models.ForwardOnlyPaginationOutput
767+
.CustomTypeAdapterFactory());
761768
gsonBuilder.registerTypeAdapterFactory(
762769
new com.segment.publicapi.models.FunctionDeployment.CustomTypeAdapterFactory());
763770
gsonBuilder.registerTypeAdapterFactory(
@@ -1179,6 +1186,12 @@ private static Class getClassByDiscriminator(
11791186
gsonBuilder.registerTypeAdapterFactory(
11801187
new com.segment.publicapi.models.ListDestinationsV1Output
11811188
.CustomTypeAdapterFactory());
1189+
gsonBuilder.registerTypeAdapterFactory(
1190+
new com.segment.publicapi.models.ListEntityPaths200Response
1191+
.CustomTypeAdapterFactory());
1192+
gsonBuilder.registerTypeAdapterFactory(
1193+
new com.segment.publicapi.models.ListEntityPathsAlphaOutput
1194+
.CustomTypeAdapterFactory());
11821195
gsonBuilder.registerTypeAdapterFactory(
11831196
new com.segment.publicapi.models.ListEvents200Response.CustomTypeAdapterFactory());
11841197
gsonBuilder.registerTypeAdapterFactory(
@@ -1244,6 +1257,12 @@ private static Class getClassByDiscriminator(
12441257
gsonBuilder.registerTypeAdapterFactory(
12451258
new com.segment.publicapi.models.ListProfilesWarehouseInSpaceAlphaOutput
12461259
.CustomTypeAdapterFactory());
1260+
gsonBuilder.registerTypeAdapterFactory(
1261+
new com.segment.publicapi.models.ListPropertiesFromEntity200Response
1262+
.CustomTypeAdapterFactory());
1263+
gsonBuilder.registerTypeAdapterFactory(
1264+
new com.segment.publicapi.models.ListPropertiesFromEntityAlphaOutput
1265+
.CustomTypeAdapterFactory());
12471266
gsonBuilder.registerTypeAdapterFactory(
12481267
new com.segment.publicapi.models.ListPropertiesFromEvent200Response
12491268
.CustomTypeAdapterFactory());
@@ -1280,12 +1299,24 @@ private static Class getClassByDiscriminator(
12801299
gsonBuilder.registerTypeAdapterFactory(
12811300
new com.segment.publicapi.models.ListRulesFromTrackingPlanV1Output
12821301
.CustomTypeAdapterFactory());
1302+
gsonBuilder.registerTypeAdapterFactory(
1303+
new com.segment.publicapi.models.ListSampleValuesFromEntityProperty200Response
1304+
.CustomTypeAdapterFactory());
1305+
gsonBuilder.registerTypeAdapterFactory(
1306+
new com.segment.publicapi.models.ListSampleValuesFromEntityPropertyAlphaOutput
1307+
.CustomTypeAdapterFactory());
12831308
gsonBuilder.registerTypeAdapterFactory(
12841309
new com.segment.publicapi.models.ListSampleValuesFromEventProperty200Response
12851310
.CustomTypeAdapterFactory());
12861311
gsonBuilder.registerTypeAdapterFactory(
12871312
new com.segment.publicapi.models.ListSampleValuesFromEventPropertyAlphaOutput
12881313
.CustomTypeAdapterFactory());
1314+
gsonBuilder.registerTypeAdapterFactory(
1315+
new com.segment.publicapi.models.ListSampleValuesFromTrait200Response
1316+
.CustomTypeAdapterFactory());
1317+
gsonBuilder.registerTypeAdapterFactory(
1318+
new com.segment.publicapi.models.ListSampleValuesFromTraitAlphaOutput
1319+
.CustomTypeAdapterFactory());
12891320
gsonBuilder.registerTypeAdapterFactory(
12901321
new com.segment.publicapi.models.ListSchemaSettingsInSource200Response
12911322
.CustomTypeAdapterFactory());
@@ -1359,6 +1390,10 @@ private static Class getClassByDiscriminator(
13591390
gsonBuilder.registerTypeAdapterFactory(
13601391
new com.segment.publicapi.models.ListTrackingPlansV1Output
13611392
.CustomTypeAdapterFactory());
1393+
gsonBuilder.registerTypeAdapterFactory(
1394+
new com.segment.publicapi.models.ListTraits200Response.CustomTypeAdapterFactory());
1395+
gsonBuilder.registerTypeAdapterFactory(
1396+
new com.segment.publicapi.models.ListTraitsAlphaOutput.CustomTypeAdapterFactory());
13621397
gsonBuilder.registerTypeAdapterFactory(
13631398
new com.segment.publicapi.models.ListTransformations200Response
13641399
.CustomTypeAdapterFactory());
@@ -1736,6 +1771,8 @@ private static Class getClassByDiscriminator(
17361771
new com.segment.publicapi.models.TrackSourceSettingsV1.CustomTypeAdapterFactory());
17371772
gsonBuilder.registerTypeAdapterFactory(
17381773
new com.segment.publicapi.models.TrackingPlanV1.CustomTypeAdapterFactory());
1774+
gsonBuilder.registerTypeAdapterFactory(
1775+
new com.segment.publicapi.models.TraitAlpha.CustomTypeAdapterFactory());
17391776
gsonBuilder.registerTypeAdapterFactory(
17401777
new com.segment.publicapi.models.TraitDefinition.CustomTypeAdapterFactory());
17411778
gsonBuilder.registerTypeAdapterFactory(

0 commit comments

Comments
 (0)