-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from XeroAPI/sid-development
Build from OAS 2.9.3
- Loading branch information
Showing
21 changed files
with
2,891 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Xero Accounting API | ||
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
* | ||
* The version of the OpenAPI document: 2.9.0 | ||
* The version of the OpenAPI document: 2.9.3 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -81,7 +81,6 @@ | |
import java.io.File; | ||
import java.io.IOException; | ||
import java.io.InputStream; | ||
import java.nio.file.Files; | ||
import java.util.Collection; | ||
import java.util.HashMap; | ||
import java.util.List; | ||
|
@@ -98,7 +97,7 @@ public class AccountingApi { | |
private ApiClient apiClient; | ||
private static AccountingApi instance = null; | ||
private String userAgent = "Default"; | ||
private String version = "4.6.0"; | ||
private String version = "4.7.0"; | ||
static final Logger logger = LoggerFactory.getLogger(AccountingApi.class); | ||
|
||
public AccountingApi() { | ||
|
@@ -431,7 +430,7 @@ public HttpResponse createAccountAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -661,7 +660,7 @@ public HttpResponse createBankTransactionAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -1215,7 +1214,7 @@ public HttpResponse createBankTransferAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -1862,7 +1861,7 @@ public HttpResponse createContactAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -2649,7 +2648,7 @@ public HttpResponse createCreditNoteAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -3521,7 +3520,7 @@ public HttpResponse createInvoiceAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -4283,7 +4282,7 @@ public HttpResponse createManualJournalAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -5563,7 +5562,7 @@ public HttpResponse createPurchaseOrderAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -5998,7 +5997,7 @@ public HttpResponse createQuoteAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -6533,7 +6532,7 @@ public HttpResponse createReceiptAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -6867,7 +6866,7 @@ public HttpResponse createRepeatingInvoiceAttachmentByFileNameForHttpResponse( | |
logger.debug("PUT " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -20369,7 +20368,7 @@ public HttpResponse updateAccountAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -20722,7 +20721,7 @@ public HttpResponse updateBankTransactionAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -20948,7 +20947,7 @@ public HttpResponse updateBankTransferAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -21269,7 +21268,7 @@ public HttpResponse updateContactAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -21722,7 +21721,7 @@ public HttpResponse updateCreditNoteAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -22161,7 +22160,7 @@ public HttpResponse updateInvoiceAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -22716,7 +22715,7 @@ public HttpResponse updateManualJournalAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -24079,7 +24078,7 @@ public HttpResponse updatePurchaseOrderAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -24396,7 +24395,7 @@ public HttpResponse updateQuoteAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -24736,7 +24735,7 @@ public HttpResponse updateReceiptAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
@@ -24968,7 +24967,7 @@ public HttpResponse updateRepeatingInvoiceAttachmentByFileNameForHttpResponse( | |
logger.debug("POST " + genericUrl.toString()); | ||
} | ||
java.nio.file.Path bodyPath = body.toPath(); | ||
String mimeType = Files.probeContentType(bodyPath); | ||
String mimeType = java.nio.file.Files.probeContentType(bodyPath); | ||
HttpContent content = null; | ||
content = new FileContent(mimeType, body); | ||
Credential credential = | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Xero Assets API | ||
* 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. | ||
* | ||
* The version of the OpenAPI document: 2.9.0 | ||
* The version of the OpenAPI document: 2.9.3 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -47,7 +47,7 @@ public class AssetApi { | |
private ApiClient apiClient; | ||
private static AssetApi instance = null; | ||
private String userAgent = "Default"; | ||
private String version = "4.6.0"; | ||
private String version = "4.7.0"; | ||
static final Logger logger = LoggerFactory.getLogger(AssetApi.class); | ||
|
||
public AssetApi() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Xero Bank Feeds API | ||
* 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. | ||
* | ||
* The version of the OpenAPI document: 2.9.0 | ||
* The version of the OpenAPI document: 2.9.3 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -45,7 +45,7 @@ public class BankFeedsApi { | |
private ApiClient apiClient; | ||
private static BankFeedsApi instance = null; | ||
private String userAgent = "Default"; | ||
private String version = "4.6.0"; | ||
private String version = "4.7.0"; | ||
static final Logger logger = LoggerFactory.getLogger(BankFeedsApi.class); | ||
|
||
public BankFeedsApi() { | ||
|
Oops, something went wrong.