Skip to content

Commit 1f32e0e

Browse files
committed
Revert "Build from OAS 2.8.5"
This reverts commit 2395c53.
1 parent 2395c53 commit 1f32e0e

File tree

247 files changed

+925
-928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+925
-928
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>xero-java</artifactId>
66
<packaging>jar</packaging>
77
<name>xero-java</name>
8-
<version>4.5.3</version>
8+
<version>4.5.2</version>
99
<url>https://github.com/XeroAPI/Xero-Java</url>
1010
<description>This is the official Java SDK for Xero API</description>
1111
<licenses>

src/main/java/com/xero/api/client/AccountingApi.java

Lines changed: 400 additions & 403 deletions
Large diffs are not rendered by default.

src/main/java/com/xero/api/client/AssetApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* Xero Assets API
3-
* The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
3+
* This is the Xero Assets API
44
*
5-
* The version of the OpenAPI document: 2.8.5
5+
* The version of the OpenAPI document: 2.8.3
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -47,7 +47,7 @@ public class AssetApi {
4747
private ApiClient apiClient;
4848
private static AssetApi instance = null;
4949
private String userAgent = "Default";
50-
private String version = "4.5.3";
50+
private String version = "4.5.2";
5151
static final Logger logger = LoggerFactory.getLogger(AssetApi.class);
5252

5353
public AssetApi() {

src/main/java/com/xero/api/client/BankFeedsApi.java

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* Xero Bank Feeds API
3-
* The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
2+
* Bank Feeds API
3+
* This specifing endpoints Xero Bank feeds API
44
*
5-
* The version of the OpenAPI document: 2.8.5
5+
* The version of the OpenAPI document: 2.8.3
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -45,7 +45,7 @@ public class BankFeedsApi {
4545
private ApiClient apiClient;
4646
private static BankFeedsApi instance = null;
4747
private String userAgent = "Default";
48-
private String version = "4.5.3";
48+
private String version = "4.5.2";
4949
static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class);
5050

5151
public BankFeedsApi() {
@@ -80,7 +80,7 @@ public String getUserAgent() {
8080
}
8181

8282
/**
83-
* Create one or more new feed connection By passing in the FeedConnections array object in the
83+
* create one or more new feed connection By passing in the FeedConnections array object in the
8484
* body, you can create one or more new feed connections
8585
*
8686
* <p><b>201</b> - success new feed connection(s)response
@@ -255,7 +255,7 @@ public HttpResponse createStatementsForHttpResponse(
255255
}
256256

257257
/**
258-
* Delete an existing feed connection By passing in FeedConnections array object in the body, you
258+
* Delete an exsiting feed connection By passing in FeedConnections array object in the body, you
259259
* can delete a feed connection.
260260
*
261261
* <p><b>202</b> - Success response for deleted feed connection
@@ -334,7 +334,7 @@ public HttpResponse deleteFeedConnectionsForHttpResponse(
334334
}
335335

336336
/**
337-
* Retrieve single feed connection based on a unique id provided By passing in a FeedConnection Id
337+
* Retrive single feed connection based on unique id provided By passing in a FeedConnection Id
338338
* options, you can search for matching feed connections
339339
*
340340
* <p><b>200</b> - success returns a FeedConnection object matching the id in response
@@ -413,8 +413,8 @@ public HttpResponse getFeedConnectionForHttpResponse(
413413
}
414414

415415
/**
416-
* Searches for feed connections By passing in the appropriate options, you can search for
417-
* available feed connections in the system.
416+
* searches feed connections By passing in the appropriate options, you can search for available
417+
* feed connections in the system.
418418
*
419419
* <p><b>201</b> - search results matching criteria returned with pagination and items array
420420
*
@@ -514,7 +514,7 @@ public HttpResponse getFeedConnectionsForHttpResponse(
514514
}
515515

516516
/**
517-
* Retrieve single statement based on unique id provided By passing in a statement id, you can
517+
* Retrive single statement based on unique id provided By passing in a statement id, you can
518518
* search for matching statements
519519
*
520520
* <p><b>200</b> - search results matching id for single statement
@@ -594,7 +594,8 @@ public HttpResponse getStatementForHttpResponse(
594594
}
595595

596596
/**
597-
* Retrieve all statements By passing in parameters, you can search for matching statements
597+
* Retrive all statements based on unique search criteria By passing in parameters, you can search
598+
* for matching statements
598599
*
599600
* <p><b>200</b> - success returns Statements array of objects response
600601
*

src/main/java/com/xero/api/client/IdentityApi.java

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
2-
* Xero OAuth 2 Identity Service API
3-
* These endpoints are related to managing authentication tokens and identity for Xero API
2+
* Xero oAuth 2 identity service
3+
* This specifing endpoints related to managing authentication tokens and identity for Xero API
44
*
5-
* The version of the OpenAPI document: 2.8.5
5+
* The version of the OpenAPI document: 2.8.3
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -43,7 +43,7 @@ public class IdentityApi {
4343
private ApiClient apiClient;
4444
private static IdentityApi instance = null;
4545
private String userAgent = "Default";
46-
private String version = "4.5.3";
46+
private String version = "4.5.2";
4747
static final Logger logger = LoggerFactory.getLogger(IdentityApi.class);
4848

4949
public IdentityApi() {
@@ -78,8 +78,8 @@ public String getUserAgent() {
7878
}
7979

8080
/**
81-
* Deletes a connection for this user (i.e. disconnect a tenant) Override the base server url that
82-
* include version
81+
* Allows you to delete a connection for this user (i.e. disconnect a tenant) Override the base
82+
* server url that include version
8383
*
8484
* <p><b>204</b> - Success - connection has been deleted no content returned
8585
*
@@ -125,7 +125,7 @@ public HttpResponse deleteConnectionForHttpResponse(String accessToken, UUID id)
125125
final Map<String, Object> uriVariables = new HashMap<String, Object>();
126126
uriVariables.put("id", id);
127127

128-
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/Connections/{id}");
128+
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/connections/{id}");
129129
String url = uriBuilder.buildFromMap(uriVariables).toString();
130130
GenericUrl genericUrl = new GenericUrl(url);
131131
if (logger.isDebugEnabled()) {
@@ -146,7 +146,8 @@ public HttpResponse deleteConnectionForHttpResponse(String accessToken, UUID id)
146146
}
147147

148148
/**
149-
* Retrieves the connections for this user Override the base server url that include version
149+
* Allows you to retrieve the connections for this user Override the base server url that include
150+
* version
150151
*
151152
* <p><b>200</b> - Success - return response of type Connections array with 0 to n Connection
152153
*
@@ -186,7 +187,7 @@ public HttpResponse getConnectionsForHttpResponse(String accessToken, UUID authE
186187
HttpHeaders headers = new HttpHeaders();
187188
headers.setAccept("application/json");
188189
headers.setUserAgent(this.getUserAgent());
189-
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/Connections");
190+
UriBuilder uriBuilder = UriBuilder.fromUri(apiClient.getBasePath() + "/connections");
190191
if (authEventId != null) {
191192
String key = "authEventId";
192193
Object value = authEventId;

0 commit comments

Comments
 (0)