Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PETOSS-656 Enable enumUnknownDefaultCase for SDKs #573

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions Xero.NetStandard.OAuth2/Model/Accounting/Account.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ public enum StatusEnum
/// Enum DELETED for value: DELETED
/// </summary>
[EnumMember(Value = "DELETED")]
DELETED = 3
DELETED = 3,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 4

}

Expand Down Expand Up @@ -103,7 +109,13 @@ public enum BankAccountTypeEnum
/// Enum Empty for value:
/// </summary>
[EnumMember(Value = "")]
Empty = 5
Empty = 5,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 6

}

Expand Down Expand Up @@ -153,7 +165,13 @@ public enum ClassEnum
/// Enum REVENUE for value: REVENUE
/// </summary>
[EnumMember(Value = "REVENUE")]
REVENUE = 5
REVENUE = 5,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 6

}

Expand Down Expand Up @@ -294,7 +312,13 @@ public enum SystemAccountEnum
/// Enum Empty for value:
/// </summary>
[EnumMember(Value = "")]
Empty = 21
Empty = 21,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 22

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/AccountType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,13 @@ public enum AccountType
/// Enum PAYG for value: PAYG
/// </summary>
[EnumMember(Value = "PAYG")]
PAYG = 18
PAYG = 18,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 19

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/Action.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ public enum StatusEnum
/// Enum NOTALLOWED for value: NOT-ALLOWED
/// </summary>
[EnumMember(Value = "NOT-ALLOWED")]
NOTALLOWED = 2
NOTALLOWED = 2,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 3

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/Address.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ public enum AddressTypeEnum
/// Enum STREET for value: STREET
/// </summary>
[EnumMember(Value = "STREET")]
STREET = 2
STREET = 2,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 3

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ public enum AddressTypeEnum
/// Enum DELIVERY for value: DELIVERY
/// </summary>
[EnumMember(Value = "DELIVERY")]
DELIVERY = 3
DELIVERY = 3,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 4

}

Expand Down
16 changes: 14 additions & 2 deletions Xero.NetStandard.OAuth2/Model/Accounting/BankTransaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,13 @@ public enum TypeEnum
/// Enum SPENDTRANSFER for value: SPEND-TRANSFER
/// </summary>
[EnumMember(Value = "SPEND-TRANSFER")]
SPENDTRANSFER = 8
SPENDTRANSFER = 8,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 9

}

Expand Down Expand Up @@ -121,7 +127,13 @@ public enum StatusEnum
/// Enum VOIDED for value: VOIDED
/// </summary>
[EnumMember(Value = "VOIDED")]
VOIDED = 3
VOIDED = 3,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 4

}

Expand Down
16 changes: 14 additions & 2 deletions Xero.NetStandard.OAuth2/Model/Accounting/BatchPayment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ public enum TypeEnum
/// Enum RECBATCH for value: RECBATCH
/// </summary>
[EnumMember(Value = "RECBATCH")]
RECBATCH = 2
RECBATCH = 2,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 3

}

Expand All @@ -74,7 +80,13 @@ public enum StatusEnum
/// Enum DELETED for value: DELETED
/// </summary>
[EnumMember(Value = "DELETED")]
DELETED = 2
DELETED = 2,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 3

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/BrandingTheme.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ public enum TypeEnum
/// Enum INVOICE for value: INVOICE
/// </summary>
[EnumMember(Value = "INVOICE")]
INVOICE = 1
INVOICE = 1,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 2

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/Budget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ public enum TypeEnum
/// Enum TRACKING for value: TRACKING
/// </summary>
[EnumMember(Value = "TRACKING")]
TRACKING = 2
TRACKING = 2,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 3

}

Expand Down
24 changes: 21 additions & 3 deletions Xero.NetStandard.OAuth2/Model/Accounting/Contact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ public enum ContactStatusEnum
/// Enum GDPRREQUEST for value: GDPRREQUEST
/// </summary>
[EnumMember(Value = "GDPRREQUEST")]
GDPRREQUEST = 3
GDPRREQUEST = 3,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 4

}

Expand Down Expand Up @@ -86,7 +92,13 @@ public enum SalesDefaultLineAmountTypeEnum
/// Enum NONE for value: NONE
/// </summary>
[EnumMember(Value = "NONE")]
NONE = 3
NONE = 3,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 4

}

Expand Down Expand Up @@ -119,7 +131,13 @@ public enum PurchasesDefaultLineAmountTypeEnum
/// Enum NONE for value: NONE
/// </summary>
[EnumMember(Value = "NONE")]
NONE = 3
NONE = 3,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 4

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/ContactGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ public enum StatusEnum
/// Enum DELETED for value: DELETED
/// </summary>
[EnumMember(Value = "DELETED")]
DELETED = 2
DELETED = 2,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 3

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/CountryCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,13 @@ public enum CountryCode
/// Enum ZW for value: ZW
/// </summary>
[EnumMember(Value = "ZW")]
ZW = 240
ZW = 240,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 241

}

Expand Down
16 changes: 14 additions & 2 deletions Xero.NetStandard.OAuth2/Model/Accounting/CreditNote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ public enum TypeEnum
/// Enum ACCRECCREDIT for value: ACCRECCREDIT
/// </summary>
[EnumMember(Value = "ACCRECCREDIT")]
ACCRECCREDIT = 2
ACCRECCREDIT = 2,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 3

}

Expand Down Expand Up @@ -98,7 +104,13 @@ public enum StatusEnum
/// Enum VOIDED for value: VOIDED
/// </summary>
[EnumMember(Value = "VOIDED")]
VOIDED = 6
VOIDED = 6,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 7

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/CurrencyCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,13 @@ public enum CurrencyCode
/// Enum ZWD for value: ZWD
/// </summary>
[EnumMember(Value = "ZWD")]
ZWD = 168
ZWD = 168,

/// <summary>
/// Enum EMPTY_CURRENCY for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
EMPTY_CURRENCY = 169

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/Employee.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ public enum StatusEnum
/// Enum DELETED for value: DELETED
/// </summary>
[EnumMember(Value = "DELETED")]
DELETED = 4
DELETED = 4,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 5

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/ExpenseClaim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ public enum StatusEnum
/// Enum DELETED for value: DELETED
/// </summary>
[EnumMember(Value = "DELETED")]
DELETED = 5
DELETED = 5,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 6

}

Expand Down
8 changes: 7 additions & 1 deletion Xero.NetStandard.OAuth2/Model/Accounting/ExternalLink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ public enum LinkTypeEnum
/// Enum Website for value: Website
/// </summary>
[EnumMember(Value = "Website")]
Website = 5
Website = 5,

/// <summary>
/// Enum UnknownDefaultOpenApi for value: unknown_default_open_api
/// </summary>
[EnumMember(Value = "unknown_default_open_api")]
UnknownDefaultOpenApi = 6

}

Expand Down
Loading
Loading