Skip to content

Commit 64be5ee

Browse files
authored
Merge pull request #526 from XeroAPI/xero-dotnet-8.0.0
Build from OAS 6.0.0
2 parents 8f80e0a + 5c1274b commit 64be5ee

34 files changed

+586
-404
lines changed

Xero.NetStandard.OAuth2.Test/Api/AccountingApiTests.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ public async Task GetBankTransactionsTest()
10701070
int? page = AutoFaker.Generate<int?>();
10711071
int? unitdp = AutoFaker.Generate<int?>();
10721072
var response = await instance.GetBankTransactionsAsync(accessToken, xeroTenantId, ifModifiedSince, where, order, page, unitdp).ConfigureAwait(false);
1073-
Assert.IsType<GetBankTransactionsResponse>(response);
1073+
Assert.IsType<BankTransactions>(response);
10741074
}
10751075

10761076
/// <summary>
@@ -1360,7 +1360,7 @@ public async Task GetContactsTest()
13601360
int? page = AutoFaker.Generate<int?>();
13611361
bool? includeArchived = AutoFaker.Generate<bool?>();
13621362
var response = await instance.GetContactsAsync(accessToken, xeroTenantId, ifModifiedSince, where, order, iDs, page, includeArchived).ConfigureAwait(false);
1363-
Assert.IsType<GetContactsResponse>(response);
1363+
Assert.IsType<Contacts>(response);
13641364
}
13651365

13661366
/// <summary>
@@ -1459,7 +1459,7 @@ public async Task GetCreditNotesTest()
14591459
string order = AutoFaker.Generate<string>();
14601460
int? page = AutoFaker.Generate<int?>();
14611461
var response = await instance.GetCreditNotesAsync(accessToken, xeroTenantId, ifModifiedSince, where, order, page).ConfigureAwait(false);
1462-
Assert.IsType<GetCreditNotesResponse>(response);
1462+
Assert.IsType<CreditNotes>(response);
14631463
}
14641464

14651465
/// <summary>
@@ -1674,7 +1674,7 @@ public async Task GetInvoicesTest()
16741674
bool? createdByMyApp = AutoFaker.Generate<bool?>();
16751675
int? unitdp = AutoFaker.Generate<int?>();
16761676
var response = await instance.GetInvoicesAsync(accessToken, xeroTenantId, ifModifiedSince, where, order, iDs, invoiceNumbers, contactIDs, statuses, page, includeArchived, createdByMyApp, unitdp).ConfigureAwait(false);
1677-
Assert.IsType<GetInvoicesResponse>(response);
1677+
Assert.IsType<Invoices>(response);
16781678
}
16791679

16801680
/// <summary>
@@ -1847,7 +1847,7 @@ public async Task GetManualJournalsTest()
18471847
string order = AutoFaker.Generate<string>();
18481848
int? page = AutoFaker.Generate<int?>();
18491849
var response = await instance.GetManualJournalsAsync(accessToken, xeroTenantId, ifModifiedSince, where, order, page).ConfigureAwait(false);
1850-
Assert.IsType<GetManualJournalsResponse>(response);
1850+
Assert.IsType<ManualJournals>(response);
18511851
}
18521852

18531853
/// <summary>
@@ -1928,7 +1928,7 @@ public async Task GetOverpaymentsTest()
19281928
int? page = AutoFaker.Generate<int?>();
19291929
int? unitdp = AutoFaker.Generate<int?>();
19301930
var response = await instance.GetOverpaymentsAsync(accessToken, xeroTenantId, ifModifiedSince, where, order, page, unitdp).ConfigureAwait(false);
1931-
Assert.IsType<GetOverpaymentsResponse>(response);
1931+
Assert.IsType<Overpayments>(response);
19321932
}
19331933

19341934
/// <summary>
@@ -1981,7 +1981,7 @@ public async Task GetPaymentsTest()
19811981
string where = AutoFaker.Generate<string>();
19821982
string order = AutoFaker.Generate<string>();
19831983
var response = await instance.GetPaymentsAsync(accessToken, xeroTenantId, ifModifiedSince, where, order).ConfigureAwait(false);
1984-
Assert.IsType<GetPaymentsResponse>(response);
1984+
Assert.IsType<Payments>(response);
19851985
}
19861986

19871987
/// <summary>
@@ -2024,7 +2024,7 @@ public async Task GetPrepaymentsTest()
20242024
int? page = AutoFaker.Generate<int?>();
20252025
int? unitdp = AutoFaker.Generate<int?>();
20262026
var response = await instance.GetPrepaymentsAsync(accessToken, xeroTenantId, ifModifiedSince, where, order, page, unitdp).ConfigureAwait(false);
2027-
Assert.IsType<GetPrepaymentsResponse>(response);
2027+
Assert.IsType<Prepayments>(response);
20282028
}
20292029

20302030
/// <summary>
@@ -2068,7 +2068,7 @@ public async Task GetPurchaseOrdersTest()
20682068
string order = AutoFaker.Generate<string>();
20692069
int? page = AutoFaker.Generate<int?>();
20702070
var response = await instance.GetPurchaseOrdersAsync(accessToken, xeroTenantId, ifModifiedSince, status, dateFrom, dateTo, order, page).ConfigureAwait(false);
2071-
Assert.IsType<GetPurchaseOrdersResponse>(response);
2071+
Assert.IsType<PurchaseOrders>(response);
20722072
}
20732073

20742074
/// <summary>

Xero.NetStandard.OAuth2/Api/AccountingApi.cs

Lines changed: 136 additions & 91 deletions
Large diffs are not rendered by default.

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: 5.0.0
10+
// The version of the OpenAPI document: 6.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: 5.0.0
10+
// The version of the OpenAPI document: 6.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: 5.0.0
10+
// The version of the OpenAPI document: 6.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: 5.0.0
10+
// The version of the OpenAPI document: 6.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: 5.0.0
10+
// The version of the OpenAPI document: 6.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: 5.0.0
10+
// The version of the OpenAPI document: 6.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: 5.0.0
10+
// The version of the OpenAPI document: 6.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: 5.0.0
10+
// The version of the OpenAPI document: 6.0.0
1111

1212

1313
using System;

0 commit comments

Comments
 (0)