Skip to content

Commit ee93048

Browse files
Releasing 14.0.0 (OAS: 12.0.0) (#644)
Co-authored-by: Github Actions <actions@github.com>
1 parent a56a3f3 commit ee93048

28 files changed

Lines changed: 106 additions & 38 deletions

Xero.NetStandard.OAuth2/Api/AccountingApi.cs

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;
@@ -4646,9 +4646,10 @@ public interface IAccountingApiAsync : IApiAccessor
46464646
/// <param name="page">e.g. page&#x3D;1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment (optional)</param>
46474647
/// <param name="unitdp">e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts (optional)</param>
46484648
/// <param name="pageSize">Number of records to retrieve per page (optional)</param>
4649+
/// <param name="invoiceNumbers">Filter by a comma-separated list of InvoiceNumbers (optional)</param>
46494650
/// <param name="cancellationToken">Cancellation token enables cancellation between threads. Defaults to CancellationToken.None</param>
46504651
/// <returns>Task of Prepayments</returns>
4651-
System.Threading.Tasks.Task<Prepayments> GetPrepaymentsAsync (string accessToken, string xeroTenantId, DateTime? ifModifiedSince = null, string where = null, string order = null, int? page = null, int? unitdp = null, int? pageSize = null, CancellationToken cancellationToken = default);
4652+
System.Threading.Tasks.Task<Prepayments> GetPrepaymentsAsync (string accessToken, string xeroTenantId, DateTime? ifModifiedSince = null, string where = null, string order = null, int? page = null, int? unitdp = null, int? pageSize = null, List<string> invoiceNumbers = null, CancellationToken cancellationToken = default);
46524653

46534654
/// <summary>
46544655
/// Retrieves prepayments
@@ -4665,9 +4666,10 @@ public interface IAccountingApiAsync : IApiAccessor
46654666
/// <param name="page">e.g. page&#x3D;1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment (optional)</param>
46664667
/// <param name="unitdp">e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts (optional)</param>
46674668
/// <param name="pageSize">Number of records to retrieve per page (optional)</param>
4669+
/// <param name="invoiceNumbers">Filter by a comma-separated list of InvoiceNumbers (optional)</param>
46684670
/// <param name="cancellationToken">Cancellation token enables cancellation between threads. Defaults to CancellationToken.None</param>
46694671
/// <returns>Task of ApiResponse (Prepayments)</returns>
4670-
System.Threading.Tasks.Task<ApiResponse<Prepayments>> GetPrepaymentsAsyncWithHttpInfo (string accessToken, string xeroTenantId, DateTime? ifModifiedSince = null, string where = null, string order = null, int? page = null, int? unitdp = null, int? pageSize = null, CancellationToken cancellationToken = default);
4672+
System.Threading.Tasks.Task<ApiResponse<Prepayments>> GetPrepaymentsAsyncWithHttpInfo (string accessToken, string xeroTenantId, DateTime? ifModifiedSince = null, string where = null, string order = null, int? page = null, int? unitdp = null, int? pageSize = null, List<string> invoiceNumbers = null, CancellationToken cancellationToken = default);
46714673
/// <summary>
46724674
/// Retrieves a specific purchase order using a unique purchase order Id
46734675
/// </summary>
@@ -21404,11 +21406,12 @@ public async System.Threading.Tasks.Task<HistoryRecords> GetPrepaymentHistoryAsy
2140421406
/// <param name="page">e.g. page&#x3D;1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment (optional)</param>
2140521407
/// <param name="unitdp">e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts (optional)</param>
2140621408
/// <param name="pageSize">Number of records to retrieve per page (optional)</param>
21409+
/// <param name="invoiceNumbers">Filter by a comma-separated list of InvoiceNumbers (optional)</param>
2140721410
/// <param name="cancellationToken">Cancellation token enables cancellation between threads. Defaults to CancellationToken.None</param>
2140821411
/// <returns>Task of Prepayments</returns>
21409-
public async System.Threading.Tasks.Task<Prepayments> GetPrepaymentsAsync (string accessToken, string xeroTenantId, DateTime? ifModifiedSince = null, string where = null, string order = null, int? page = null, int? unitdp = null, int? pageSize = null, CancellationToken cancellationToken = default)
21412+
public async System.Threading.Tasks.Task<Prepayments> GetPrepaymentsAsync (string accessToken, string xeroTenantId, DateTime? ifModifiedSince = null, string where = null, string order = null, int? page = null, int? unitdp = null, int? pageSize = null, List<string> invoiceNumbers = null, CancellationToken cancellationToken = default)
2141021413
{
21411-
Xero.NetStandard.OAuth2.Client.ApiResponse<Prepayments> localVarResponse = await GetPrepaymentsAsyncWithHttpInfo(accessToken, xeroTenantId, ifModifiedSince, where, order, page, unitdp, pageSize, cancellationToken);
21414+
Xero.NetStandard.OAuth2.Client.ApiResponse<Prepayments> localVarResponse = await GetPrepaymentsAsyncWithHttpInfo(accessToken, xeroTenantId, ifModifiedSince, where, order, page, unitdp, pageSize, invoiceNumbers, cancellationToken);
2141221415
return localVarResponse.Data;
2141321416

2141421417
}
@@ -21425,9 +21428,10 @@ public async System.Threading.Tasks.Task<Prepayments> GetPrepaymentsAsync (strin
2142521428
/// <param name="page">e.g. page&#x3D;1 – Up to 100 prepayments will be returned in a single API call with line items shown for each overpayment (optional)</param>
2142621429
/// <param name="unitdp">e.g. unitdp&#x3D;4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts (optional)</param>
2142721430
/// <param name="pageSize">Number of records to retrieve per page (optional)</param>
21431+
/// <param name="invoiceNumbers">Filter by a comma-separated list of InvoiceNumbers (optional)</param>
2142821432
/// <param name="cancellationToken">Cancellation token enables cancellation between threads. Defaults to CancellationToken.None</param>
2142921433
/// <returns>Task of ApiResponse (Prepayments)</returns>
21430-
public async System.Threading.Tasks.Task<Xero.NetStandard.OAuth2.Client.ApiResponse<Prepayments>> GetPrepaymentsAsyncWithHttpInfo (string accessToken, string xeroTenantId, DateTime? ifModifiedSince = null, string where = null, string order = null, int? page = null, int? unitdp = null, int? pageSize = null, CancellationToken cancellationToken = default)
21434+
public async System.Threading.Tasks.Task<Xero.NetStandard.OAuth2.Client.ApiResponse<Prepayments>> GetPrepaymentsAsyncWithHttpInfo (string accessToken, string xeroTenantId, DateTime? ifModifiedSince = null, string where = null, string order = null, int? page = null, int? unitdp = null, int? pageSize = null, List<string> invoiceNumbers = null, CancellationToken cancellationToken = default)
2143121435
{
2143221436
// verify the required parameter 'xeroTenantId' is set
2143321437
if (xeroTenantId == null)
@@ -21505,6 +21509,17 @@ public async System.Threading.Tasks.Task<Prepayments> GetPrepaymentsAsync (strin
2150521509
}
2150621510
}
2150721511
}
21512+
21513+
if (invoiceNumbers != null)
21514+
{
21515+
foreach (var kvp in Xero.NetStandard.OAuth2.Client.ClientUtils.ParameterToMultiMap("csv", "InvoiceNumbers", invoiceNumbers))
21516+
{
21517+
foreach (var value in kvp.Value)
21518+
{
21519+
requestOptions.QueryParameters.Add(kvp.Key, value);
21520+
}
21521+
}
21522+
}
2150821523
if (xeroTenantId != null)
2150921524
requestOptions.HeaderParameters.Add("xero-tenant-id", Xero.NetStandard.OAuth2.Client.ClientUtils.ParameterToString(xeroTenantId)); // header parameter
2151021525
if (ifModifiedSince != null)

Xero.NetStandard.OAuth2/Api/AppStoreApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/AssetApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/BankFeedsApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/FilesApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/FinanceApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/IdentityApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/PayrollAUApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/PayrollAUV2Api.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

Xero.NetStandard.OAuth2/Api/PayrollNZApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
// The version of the OpenAPI document: 11.1.0
10+
// The version of the OpenAPI document: 12.0.0
1111

1212

1313
using System;

0 commit comments

Comments
 (0)