diff --git a/docs/v2/accounting/index.html b/docs/v2/accounting/index.html
index 37dc7b7c..ea93e6fb 100644
--- a/docs/v2/accounting/index.html
+++ b/docs/v2/accounting/index.html
@@ -7210,7 +7210,12 @@
Parameters
"schema" : {
"$ref" : "#/components/schemas/Account"
},
- "example" : "{ \"Code\":\"123456\", \"Name\":\"Foobar\", \"Type\":\"EXPENSE\", \"Description\":\"Hello World\" }"
+ "example" : {
+ "Code" : "123456",
+ "Name" : "Foobar",
+ "Type" : "EXPENSE",
+ "Description" : "Hello World"
+ }
}
},
"required" : true
@@ -7811,7 +7816,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -7983,7 +7992,23 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/BankTransactions"
},
- "example" : "{ bankTransactions: [{ type: BankTransaction.TypeEnum.SPEND, contact: { contactID: \"00000000-0000-0000-0000-000000000000\" }, lineItems: [{ description: \"Foobar\", quantity: 1.0, unitAmount: 20.0, accountCode: \"000\" } ], bankAccount: { code: \"000\" }}]}"
+ "example" : {
+ "bankTransactions" : [ {
+ "type" : "BankTransaction.TypeEnum.SPEND",
+ "contact" : {
+ "contactID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "lineItems" : [ {
+ "description" : "Foobar",
+ "quantity" : 1.0,
+ "unitAmount" : 20.0,
+ "accountCode" : "000"
+ } ],
+ "bankAccount" : {
+ "code" : "000"
+ }
+ } ]
+ }
}
},
"required" : true
@@ -8191,7 +8216,50 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/BankTransfers"
},
- "example" : "{ \"BankTransfers\": [ { \"FromBankAccount\": { \"Code\": \"090\", \"Name\": \"My Savings\", \"AccountID\": \"00000000-0000-0000-0000-000000000000\", \"Type\": \"BANK\", \"BankAccountNumber\": \"123455\", \"Status\": \"ACTIVE\", \"BankAccountType\": \"BANK\", \"CurrencyCode\": \"USD\", \"TaxType\": \"NONE\", \"EnablePaymentsToAccount\": false, \"ShowInExpenseClaims\": false, \"Class\": \"ASSET\", \"ReportingCode\": \"ASS\", \"ReportingCodeName\": \"Assets\", \"HasAttachments\": false, \"UpdatedDateUTC\": \"2016-10-17T13:45:33.993-07:00\" }, \"ToBankAccount\": { \"Code\": \"088\", \"Name\": \"Business Wells Fargo\", \"AccountID\": \"00000000-0000-0000-0000-000000000000\", \"Type\": \"BANK\", \"BankAccountNumber\": \"123455\", \"Status\": \"ACTIVE\", \"BankAccountType\": \"BANK\", \"CurrencyCode\": \"USD\", \"TaxType\": \"NONE\", \"EnablePaymentsToAccount\": false, \"ShowInExpenseClaims\": false, \"Class\": \"ASSET\", \"ReportingCode\": \"ASS\", \"ReportingCodeName\": \"Assets\", \"HasAttachments\": false, \"UpdatedDateUTC\": \"2016-06-03T08:31:14.517-07:00\" }, \"Amount\": \"50.00\", \"FromIsReconciled\": true, \"ToIsReconciled\": true, \"Reference\": \"Sub 098801\" } ] }"
+ "example" : {
+ "BankTransfers" : [ {
+ "FromBankAccount" : {
+ "Code" : "090",
+ "Name" : "My Savings",
+ "AccountID" : "00000000-0000-0000-0000-000000000000",
+ "Type" : "BANK",
+ "BankAccountNumber" : "123455",
+ "Status" : "ACTIVE",
+ "BankAccountType" : "BANK",
+ "CurrencyCode" : "USD",
+ "TaxType" : "NONE",
+ "EnablePaymentsToAccount" : false,
+ "ShowInExpenseClaims" : false,
+ "Class" : "ASSET",
+ "ReportingCode" : "ASS",
+ "ReportingCodeName" : "Assets",
+ "HasAttachments" : false,
+ "UpdatedDateUTC" : "2016-10-17T13:45:33.993-07:00"
+ },
+ "ToBankAccount" : {
+ "Code" : "088",
+ "Name" : "Business Wells Fargo",
+ "AccountID" : "00000000-0000-0000-0000-000000000000",
+ "Type" : "BANK",
+ "BankAccountNumber" : "123455",
+ "Status" : "ACTIVE",
+ "BankAccountType" : "BANK",
+ "CurrencyCode" : "USD",
+ "TaxType" : "NONE",
+ "EnablePaymentsToAccount" : false,
+ "ShowInExpenseClaims" : false,
+ "Class" : "ASSET",
+ "ReportingCode" : "ASS",
+ "ReportingCodeName" : "Assets",
+ "HasAttachments" : false,
+ "UpdatedDateUTC" : "2016-06-03T08:31:14.517-07:00"
+ },
+ "Amount" : "50.00",
+ "FromIsReconciled" : true,
+ "ToIsReconciled" : true,
+ "Reference" : "Sub 098801"
+ } ]
+ }
}
},
"required" : true
@@ -8585,7 +8653,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -8760,7 +8832,28 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/BatchPayments"
},
- "example" : "{ \"BatchPayments\": [ { \"Account\": { \"AccountID\": \"00000000-0000-0000-0000-000000000000\" }, \"Reference\": \"ref\", \"Date\": \"2018-08-01\", \"Payments\": [ { \"Account\": { \"Code\": \"001\" }, \"Date\": \"2019-12-31\", \"Amount\": 500, \"Invoice\": { \"InvoiceID\": \"00000000-0000-0000-0000-000000000000\", \"LineItems\": [], \"Contact\": {}, \"Type\": \"ACCPAY\" } } ] } ] }"
+ "example" : {
+ "BatchPayments" : [ {
+ "Account" : {
+ "AccountID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "Reference" : "ref",
+ "Date" : "2018-08-01",
+ "Payments" : [ {
+ "Account" : {
+ "Code" : "001"
+ },
+ "Date" : "2019-12-31",
+ "Amount" : 500,
+ "Invoice" : {
+ "InvoiceID" : "00000000-0000-0000-0000-000000000000",
+ "LineItems" : [ ],
+ "Contact" : { },
+ "Type" : "ACCPAY"
+ }
+ } ]
+ } ]
+ }
}
},
"required" : true
@@ -8974,7 +9067,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -9164,7 +9261,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PaymentServices"
},
- "example" : "{ \"PaymentServices\": [ { \"PaymentServiceID\": \"54b3b4f6-0443-4fba-bcd1-61ec0c35ca55\", \"PaymentServiceName\": \"PayUpNow\", \"PaymentServiceUrl\": \"https://www.payupnow.com/\", \"PaymentServiceType\": \"Custom\", \"PayNowText\": \"Time To Pay\" } ] }"
+ "example" : {
+ "PaymentServices" : [ {
+ "PaymentServiceID" : "54b3b4f6-0443-4fba-bcd1-61ec0c35ca55",
+ "PaymentServiceName" : "PayUpNow",
+ "PaymentServiceUrl" : "https://www.payupnow.com/",
+ "PaymentServiceType" : "Custom",
+ "PayNowText" : "Time To Pay"
+ } ]
+ }
}
},
"required" : true
@@ -9524,7 +9629,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/ContactGroups"
},
- "example" : "{ \"ContactGroups\": [{ \"Name\": \"VIPs\" }]}"
+ "example" : {
+ "ContactGroups" : [ {
+ "Name" : "VIPs"
+ } ]
+ }
}
},
"required" : true
@@ -9711,7 +9820,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Contacts"
},
- "example" : "{ \"Contacts\": [ { \"ContactID\": \"a3675fc4-f8dd-4f03-ba5b-f1870566bcd7\" }, { \"ContactID\": \"4e1753b9-018a-4775-b6aa-1bc7871cfee3\" } ] }"
+ "example" : {
+ "Contacts" : [ {
+ "ContactID" : "a3675fc4-f8dd-4f03-ba5b-f1870566bcd7"
+ }, {
+ "ContactID" : "4e1753b9-018a-4775-b6aa-1bc7871cfee3"
+ } ]
+ }
}
},
"required" : true
@@ -9898,7 +10013,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -10060,7 +10179,66 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Contacts"
},
- "example" : "{ \"Contacts\": [ { \"ContactID\": \"3ff6d40c-af9a-40a3-89ce-3c1556a25591\", \"ContactStatus\": \"ACTIVE\", \"Name\": \"Foo9987\", \"EmailAddress\": \"sid32476@blah.com\", \"BankAccountDetails\": \"\", \"Addresses\": [ { \"AddressType\": \"STREET\", \"City\": \"\", \"Region\": \"\", \"PostalCode\": \"\", \"Country\": \"\" }, { \"AddressType\": \"POBOX\", \"City\": \"\", \"Region\": \"\", \"PostalCode\": \"\", \"Country\": \"\" } ], \"Phones\": [ { \"PhoneType\": \"DEFAULT\", \"PhoneNumber\": \"\", \"PhoneAreaCode\": \"\", \"PhoneCountryCode\": \"\" }, { \"PhoneType\": \"DDI\", \"PhoneNumber\": \"\", \"PhoneAreaCode\": \"\", \"PhoneCountryCode\": \"\" }, { \"PhoneType\": \"FAX\", \"PhoneNumber\": \"\", \"PhoneAreaCode\": \"\", \"PhoneCountryCode\": \"\" }, { \"PhoneType\": \"MOBILE\", \"PhoneNumber\": \"555-1212\", \"PhoneAreaCode\": \"415\", \"PhoneCountryCode\": \"\" } ], \"UpdatedDateUTC\": \"/Date(1551399321043+0000)/\", \"ContactGroups\": [], \"IsSupplier\": false, \"IsCustomer\": false, \"SalesTrackingCategories\": [], \"PurchasesTrackingCategories\": [], \"PaymentTerms\": { \"Bills\": { \"Day\": 15, \"Type\": \"OFCURRENTMONTH\" }, \"Sales\": { \"Day\": 10, \"Type\": \"DAYSAFTERBILLMONTH\" } }, \"ContactPersons\": [] } ] }"
+ "example" : {
+ "Contacts" : [ {
+ "ContactID" : "3ff6d40c-af9a-40a3-89ce-3c1556a25591",
+ "ContactStatus" : "ACTIVE",
+ "Name" : "Foo9987",
+ "EmailAddress" : "sid32476@blah.com",
+ "BankAccountDetails" : "",
+ "Addresses" : [ {
+ "AddressType" : "STREET",
+ "City" : "",
+ "Region" : "",
+ "PostalCode" : "",
+ "Country" : ""
+ }, {
+ "AddressType" : "POBOX",
+ "City" : "",
+ "Region" : "",
+ "PostalCode" : "",
+ "Country" : ""
+ } ],
+ "Phones" : [ {
+ "PhoneType" : "DEFAULT",
+ "PhoneNumber" : "",
+ "PhoneAreaCode" : "",
+ "PhoneCountryCode" : ""
+ }, {
+ "PhoneType" : "DDI",
+ "PhoneNumber" : "",
+ "PhoneAreaCode" : "",
+ "PhoneCountryCode" : ""
+ }, {
+ "PhoneType" : "FAX",
+ "PhoneNumber" : "",
+ "PhoneAreaCode" : "",
+ "PhoneCountryCode" : ""
+ }, {
+ "PhoneType" : "MOBILE",
+ "PhoneNumber" : "555-1212",
+ "PhoneAreaCode" : "415",
+ "PhoneCountryCode" : ""
+ } ],
+ "UpdatedDateUTC" : "/Date(1551399321043+0000)/",
+ "ContactGroups" : [ ],
+ "IsSupplier" : false,
+ "IsCustomer" : false,
+ "SalesTrackingCategories" : [ ],
+ "PurchasesTrackingCategories" : [ ],
+ "PaymentTerms" : {
+ "Bills" : {
+ "Day" : 15,
+ "Type" : "OFCURRENTMONTH"
+ },
+ "Sales" : {
+ "Day" : 10,
+ "Type" : "DAYSAFTERBILLMONTH"
+ }
+ },
+ "ContactPersons" : [ ]
+ } ]
+ }
}
},
"required" : true
@@ -10281,7 +10459,16 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Allocations"
},
- "example" : "{ \"Allocations\": [ { \"Invoice\": { \"LineItems\": [], \"InvoiceID\": \"c45720a1-ade3-4a38-a064-d15489be6841\" }, \"Amount\": 1, \"Date\": \"2019-03-05\" } ] }"
+ "example" : {
+ "Allocations" : [ {
+ "Invoice" : {
+ "LineItems" : [ ],
+ "InvoiceID" : "c45720a1-ade3-4a38-a064-d15489be6841"
+ },
+ "Amount" : 1,
+ "Date" : "2019-03-05"
+ } ]
+ }
}
},
"required" : true
@@ -10730,7 +10917,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -10900,7 +11091,21 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/CreditNotes"
},
- "example" : "{ \"CreditNotes\":[ { \"Type\":\"ACCPAYCREDIT\", \"Contact\":{ \"ContactID\":\"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\":\"2019-01-05\", \"LineItems\":[ { \"Description\":\"Foobar\", \"Quantity\":2.0, \"UnitAmount\":20.0, \"AccountCode\":\"400\" } ] } ] }"
+ "example" : {
+ "CreditNotes" : [ {
+ "Type" : "ACCPAYCREDIT",
+ "Contact" : {
+ "ContactID" : "430fa14a-f945-44d3-9f97-5df5e28441b8"
+ },
+ "Date" : "2019-01-05",
+ "LineItems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 2.0,
+ "UnitAmount" : 20.0,
+ "AccountCode" : "400"
+ } ]
+ } ]
+ }
}
},
"required" : true
@@ -11096,7 +11301,10 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Currency"
},
- "example" : "{ \"Code\": \"USD\", \"Description\": \"United States Dollar\" }"
+ "example" : {
+ "Code" : "USD",
+ "Description" : "United States Dollar"
+ }
}
},
"required" : true
@@ -11251,7 +11459,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Employees"
},
- "example" : "{ \"Employees\": [ { \"FirstName\": \"Nick\", \"LastName\": \"Fury\", \"ExternalLink\": { \"Url\": \"http://twitter.com/#!/search/Nick+Fury\" } } ] }"
+ "example" : {
+ "Employees" : [ {
+ "FirstName" : "Nick",
+ "LastName" : "Fury",
+ "ExternalLink" : {
+ "Url" : "http://twitter.com/#!/search/Nick+Fury"
+ }
+ } ]
+ }
}
},
"required" : true
@@ -11465,7 +11681,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -11630,7 +11850,18 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/ExpenseClaims"
},
- "example" : "{ \"ExpenseClaims\": [ { \"Status\": \"SUBMITTED\", \"User\": { \"UserID\": \"d1164823-0ac1-41ad-987b-b4e30fe0b273\" }, \"Receipts\": [ { \"Lineitems\": [], \"ReceiptID\": \"dc1c7f6d-0a4c-402f-acac-551d62ce5816\" } ] } ] }"
+ "example" : {
+ "ExpenseClaims" : [ {
+ "Status" : "SUBMITTED",
+ "User" : {
+ "UserID" : "d1164823-0ac1-41ad-987b-b4e30fe0b273"
+ },
+ "Receipts" : [ {
+ "Lineitems" : [ ],
+ "ReceiptID" : "dc1c7f6d-0a4c-402f-acac-551d62ce5816"
+ } ]
+ } ]
+ }
}
},
"required" : true
@@ -12052,7 +12283,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -12233,7 +12468,26 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Invoices"
},
- "example" : "{ \"Invoices\": [ { \"Type\": \"ACCREC\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"LineItems\": [ { \"Description\": \"Acme Tires\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"200\", \"TaxType\": \"NONE\", \"LineAmount\": 40 } ], \"Date\": \"2019-03-11\", \"DueDate\": \"2018-12-10\", \"Reference\": \"Website Design\", \"Status\": \"AUTHORISED\" } ] }"
+ "example" : {
+ "Invoices" : [ {
+ "Type" : "ACCREC",
+ "Contact" : {
+ "ContactID" : "430fa14a-f945-44d3-9f97-5df5e28441b8"
+ },
+ "LineItems" : [ {
+ "Description" : "Acme Tires",
+ "Quantity" : 2,
+ "UnitAmount" : 20,
+ "AccountCode" : "200",
+ "TaxType" : "NONE",
+ "LineAmount" : 40
+ } ],
+ "Date" : "2019-03-11",
+ "DueDate" : "2018-12-10",
+ "Reference" : "Website Design",
+ "Status" : "AUTHORISED"
+ } ]
+ }
}
},
"required" : true
@@ -12467,7 +12721,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -12629,7 +12887,17 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Items"
},
- "example" : "{ \"Items\": [ { \"Code\": \"code123\", \"Name\": \"Item Name XYZ\", \"Description\": \"Foobar\", \"InventoryAssetAccountCode\": \"140\", \"PurchaseDetails\": { \"COGSAccountCode\": \"500\" } } ] }"
+ "example" : {
+ "Items" : [ {
+ "Code" : "code123",
+ "Name" : "Item Name XYZ",
+ "Description" : "Foobar",
+ "InventoryAssetAccountCode" : "140",
+ "PurchaseDetails" : {
+ "COGSAccountCode" : "500"
+ }
+ } ]
+ }
}
},
"required" : true
@@ -12825,7 +13093,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/LinkedTransaction"
},
- "example" : "{ \"LinkedTransactions\": [ { \"SourceTransactionID\": \"a848644a-f20f-4630-98c3-386bd7505631\", \"SourceLineItemID\": \"b0df260d-3cc8-4ced-9bd6-41924f624ed3\" } ] }"
+ "example" : {
+ "LinkedTransactions" : [ {
+ "SourceTransactionID" : "a848644a-f20f-4630-98c3-386bd7505631",
+ "SourceLineItemID" : "b0df260d-3cc8-4ced-9bd6-41924f624ed3"
+ } ]
+ }
}
},
"required" : true
@@ -13219,7 +13492,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -13389,7 +13666,25 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/ManualJournals"
},
- "example" : "{ \"ManualJournals\": [ { \"Narration\": \"Journal Desc\", \"JournalLines\": [ { \"LineAmount\": 100, \"AccountCode\": \"400\", \"Description\": \"Money Movement\" }, { \"LineAmount\": -100, \"AccountCode\": \"400\", \"Description\": \"Prepayment of things\", \"Tracking\": [ { \"Name\": \"North\", \"Option\": \"Region\" } ] } ], \"Date\": \"2019-03-14\" } ] }"
+ "example" : {
+ "ManualJournals" : [ {
+ "Narration" : "Journal Desc",
+ "JournalLines" : [ {
+ "LineAmount" : 100,
+ "AccountCode" : "400",
+ "Description" : "Money Movement"
+ }, {
+ "LineAmount" : -100,
+ "AccountCode" : "400",
+ "Description" : "Prepayment of things",
+ "Tracking" : [ {
+ "Name" : "North",
+ "Option" : "Region"
+ } ]
+ } ],
+ "Date" : "2019-03-14"
+ } ]
+ }
}
},
"required" : true
@@ -13610,7 +13905,18 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Allocations"
},
- "example" : "{ \"Allocations\": [ { \"Invoice\": { \"InvoiceID\": \"00000000-0000-0000-0000-000000000000\", \"LineItems\": [], \"Contact\": {}, \"Type\": \"ACCPAY\" }, \"Amount\": 10.00, \"Date\": \"2019-03-12\" } ] }"
+ "example" : {
+ "Allocations" : [ {
+ "Invoice" : {
+ "InvoiceID" : "00000000-0000-0000-0000-000000000000",
+ "LineItems" : [ ],
+ "Contact" : { },
+ "Type" : "ACCPAY"
+ },
+ "Amount" : 10.0,
+ "Date" : "2019-03-12"
+ } ]
+ }
}
},
"required" : true
@@ -13824,7 +14130,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -13987,7 +14297,19 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Payment"
},
- "example" : "{ \"Payments\": [ { \"Invoice\": { \"LineItems\": [], \"InvoiceID\": \"00000000-0000-0000-0000-000000000000\" }, \"Account\": { \"Code\": \"970\" }, \"Date\": \"2019-03-12\", \"Amount\": 1 } ] }"
+ "example" : {
+ "Payments" : [ {
+ "Invoice" : {
+ "LineItems" : [ ],
+ "InvoiceID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "Account" : {
+ "Code" : "970"
+ },
+ "Date" : "2019-03-12",
+ "Amount" : 1
+ } ]
+ }
}
},
"required" : true
@@ -14174,7 +14496,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -14329,7 +14655,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PaymentServices"
},
- "example" : "{ \"PaymentServices\": [ { \"PaymentServiceName\": \"PayUpNow\", \"PaymentServiceUrl\": \"https://www.payupnow.com/\", \"PayNowText\": \"Time To Pay\" } ] }"
+ "example" : {
+ "PaymentServices" : [ {
+ "PaymentServiceName" : "PayUpNow",
+ "PaymentServiceUrl" : "https://www.payupnow.com/",
+ "PayNowText" : "Time To Pay"
+ } ]
+ }
}
},
"required" : true
@@ -14493,7 +14825,19 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Payments"
},
- "example" : "{ \"Payments\": [ { \"Invoice\": { \"LineItems\": [], \"InvoiceID\": \"00000000-0000-0000-0000-000000000000\" }, \"Account\": { \"Code\": \"970\" }, \"Date\": \"2019-03-12\", \"Amount\": 1 } ] }"
+ "example" : {
+ "Payments" : [ {
+ "Invoice" : {
+ "LineItems" : [ ],
+ "InvoiceID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "Account" : {
+ "Code" : "970"
+ },
+ "Date" : "2019-03-12",
+ "Amount" : 1
+ } ]
+ }
}
},
"required" : true
@@ -14714,7 +15058,16 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Allocations"
},
- "example" : "{ \"Allocations\": [ { \"Invoice\": { \"LineItems\": [], \"InvoiceID\": \"00000000-0000-0000-0000-000000000000\" }, \"Amount\": 1, \"Date\": \"2019-01-10\" } ] }"
+ "example" : {
+ "Allocations" : [ {
+ "Invoice" : {
+ "LineItems" : [ ],
+ "InvoiceID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "Amount" : 1,
+ "Date" : "2019-01-10"
+ } ]
+ }
}
},
"required" : true
@@ -14928,7 +15281,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -15322,7 +15679,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -15490,7 +15851,20 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PurchaseOrders"
},
- "example" : "{ \"PurchaseOrders\": [ { \"Contact\": { \"ContactID\": \"00000000-0000-0000-0000-000000000000\" }, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 1, \"UnitAmount\": 20, \"AccountCode\": \"710\" } ], \"Date\": \"2019-03-13\" } ] }"
+ "example" : {
+ "PurchaseOrders" : [ {
+ "Contact" : {
+ "ContactID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "LineItems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 1,
+ "UnitAmount" : 20,
+ "AccountCode" : "710"
+ } ],
+ "Date" : "2019-03-13"
+ } ]
+ }
}
},
"required" : true
@@ -15911,7 +16285,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -16079,7 +16457,20 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Quotes"
},
- "example" : "{ \"Quotes\": [ { \"Contact\": { \"ContactID\": \"00000000-0000-0000-0000-000000000000\" }, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 1, \"UnitAmount\": 20, \"AccountCode\": \"12775\" } ], \"Date\": \"2020-02-01\" } ] }"
+ "example" : {
+ "Quotes" : [ {
+ "Contact" : {
+ "ContactID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "LineItems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 1,
+ "UnitAmount" : 20,
+ "AccountCode" : "12775"
+ } ],
+ "Date" : "2020-02-01"
+ } ]
+ }
}
},
"required" : true
@@ -16278,7 +16669,26 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Receipts"
},
- "example" : "{ \"Receipts\": [ { \"Contact\": { \"ContactID\": \"00000000-0000-0000-0000-000000000000\" }, \"Lineitems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\", \"TaxType\": \"NONE\", \"LineAmount\": 40 } ], \"User\": { \"UserID\": \"00000000-0000-0000-0000-000000000000\" }, \"LineAmountTypes\": \"NoTax\", \"Status\": \"DRAFT\" } ] }"
+ "example" : {
+ "Receipts" : [ {
+ "Contact" : {
+ "ContactID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "Lineitems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 2,
+ "UnitAmount" : 20,
+ "AccountCode" : "400",
+ "TaxType" : "NONE",
+ "LineAmount" : 40
+ } ],
+ "User" : {
+ "UserID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "LineAmountTypes" : "NoTax",
+ "Status" : "DRAFT"
+ } ]
+ }
}
},
"required" : true
@@ -16699,7 +17109,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -17093,7 +17507,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/HistoryRecords"
},
- "example" : "{ \"HistoryRecords\": [ { \"Details\": \"Hello World\" } ] }"
+ "example" : {
+ "HistoryRecords" : [ {
+ "Details" : "Hello World"
+ } ]
+ }
}
},
"required" : true
@@ -17239,7 +17657,42 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/RepeatingInvoices"
},
- "example" : "{ \"RepeatingInvoices\": [ { \"Schedule\": { \"Period\": 1, \"Unit\": \"MONTHLY\", \"DueDate\": 10, \"DueDateType\": \"OFFOLLOWINGMONTH\", \"StartDate\": \"\\/Date(1555286400000+0000)\\/\" }, \"Type\": \"ACCREC\", \"Reference\": \"[Week]\", \"ApprovedForSending\": false, \"SendCopy\": false, \"MarkAsSent\": false, \"IncludePDF\": false, \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\", \"Name\": \"Liam Gallagher\" }, \"Status\": \"AUTHORISED\", \"LineAmountTypes\": \"Exclusive\", \"LineItems\": [ { \"Description\": \"Guitars Fender Strat\", \"UnitAmount\": 5000.00, \"TaxType\": \"OUTPUT2\", \"TaxAmount\": 750.00, \"LineAmount\": 5000.00, \"AccountCode\": \"200\", \"Tracking\": [], \"Quantity\": 1.0000, \"LineItemID\": \"13a8353c-d2af-4d5b-920c-438449f08900\", \"DiscountEnteredAsPercent\": true } ], \"CurrencyCode\": \"NZD\" } ] }"
+ "example" : {
+ "RepeatingInvoices" : [ {
+ "Schedule" : {
+ "Period" : 1,
+ "Unit" : "MONTHLY",
+ "DueDate" : 10,
+ "DueDateType" : "OFFOLLOWINGMONTH",
+ "StartDate" : "/Date(1555286400000+0000)/"
+ },
+ "Type" : "ACCREC",
+ "Reference" : "[Week]",
+ "ApprovedForSending" : false,
+ "SendCopy" : false,
+ "MarkAsSent" : false,
+ "IncludePDF" : false,
+ "Contact" : {
+ "ContactID" : "430fa14a-f945-44d3-9f97-5df5e28441b8",
+ "Name" : "Liam Gallagher"
+ },
+ "Status" : "AUTHORISED",
+ "LineAmountTypes" : "Exclusive",
+ "LineItems" : [ {
+ "Description" : "Guitars Fender Strat",
+ "UnitAmount" : 5000.0,
+ "TaxType" : "OUTPUT2",
+ "TaxAmount" : 750.0,
+ "LineAmount" : 5000.0,
+ "AccountCode" : "200",
+ "Tracking" : [ ],
+ "Quantity" : 1.0,
+ "LineItemID" : "13a8353c-d2af-4d5b-920c-438449f08900",
+ "DiscountEnteredAsPercent" : true
+ } ],
+ "CurrencyCode" : "NZD"
+ } ]
+ }
}
},
"required" : true
@@ -17426,7 +17879,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TaxRates"
},
- "example" : "{ \"TaxRates\": [ { \"Name\": \"CA State Tax\", \"TaxComponents\": [ { \"Name\": \"State Tax\", \"Rate\": 2.25 } ] } ] }"
+ "example" : {
+ "TaxRates" : [ {
+ "Name" : "CA State Tax",
+ "TaxComponents" : [ {
+ "Name" : "State Tax",
+ "Rate" : 2.25
+ } ]
+ } ]
+ }
}
},
"required" : true
@@ -17574,7 +18035,9 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TrackingCategory"
},
- "example" : "{ name: \"FooBar\" }"
+ "example" : {
+ "name" : "FooBar"
+ }
}
},
"required" : true
@@ -17756,7 +18219,9 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TrackingOption"
},
- "example" : "{ name: \" Bar\" }"
+ "example" : {
+ "name" : " Bar"
+ }
}
},
"required" : true
@@ -18025,7 +18490,10 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/BatchPaymentDelete"
},
- "example" : "{ \"BatchPaymentID\": \"9bf296e9-0748-4d29-a3dc-24dde1098030\", \"Status\":\"DELETED\" }"
+ "example" : {
+ "BatchPaymentID" : "9bf296e9-0748-4d29-a3dc-24dde1098030",
+ "Status" : "DELETED"
+ }
}
},
"required" : true
@@ -18203,7 +18671,9 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/BatchPaymentDeleteByUrlParam"
},
- "example" : "{ \"Status\":\"DELETED\" }"
+ "example" : {
+ "Status" : "DELETED"
+ }
}
},
"required" : true
@@ -19191,7 +19661,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PaymentDelete"
},
- "example" : "{ \"Payments\":[ { \"Status\":\"DELETED\" } ] }"
+ "example" : {
+ "Payments" : [ {
+ "Status" : "DELETED"
+ } ]
+ }
}
},
"required" : true
@@ -19788,7 +20262,7 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/RequestEmpty"
},
- "example" : "{}"
+ "example" : { }
}
},
"required" : true
@@ -39566,7 +40040,33 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Setup"
},
- "example" : "{ \"ConversionDate\": {}, \"ConversionBalances\": [], \"Accounts\": [ { \"Code\": \"200\", \"Name\": \"Sales\", \"Type\": \"SALES\", \"ReportingCode\": \"REV.TRA.GOO\" }, { \"Code\": \"400\", \"Name\": \"Advertising\", \"Type\": \"OVERHEADS\", \"ReportingCode\": \"EXP\" }, { \"Code\": \"610\", \"Name\": \"Accounts Receivable\", \"Type\": \"CURRENT\", \"SystemAccount\": \"DEBTORS\", \"ReportingCode\": \"ASS.CUR.REC.TRA\" }, { \"Code\": \"800\", \"Name\": \"Accounts Payable\", \"Type\": \"CURRLIAB\", \"SystemAccount\": \"CREDITORS\", \"ReportingCode\": \"LIA.CUR.PAY\" } ] }"
+ "example" : {
+ "ConversionDate" : { },
+ "ConversionBalances" : [ ],
+ "Accounts" : [ {
+ "Code" : "200",
+ "Name" : "Sales",
+ "Type" : "SALES",
+ "ReportingCode" : "REV.TRA.GOO"
+ }, {
+ "Code" : "400",
+ "Name" : "Advertising",
+ "Type" : "OVERHEADS",
+ "ReportingCode" : "EXP"
+ }, {
+ "Code" : "610",
+ "Name" : "Accounts Receivable",
+ "Type" : "CURRENT",
+ "SystemAccount" : "DEBTORS",
+ "ReportingCode" : "ASS.CUR.REC.TRA"
+ }, {
+ "Code" : "800",
+ "Name" : "Accounts Payable",
+ "Type" : "CURRLIAB",
+ "SystemAccount" : "CREDITORS",
+ "ReportingCode" : "LIA.CUR.PAY"
+ } ]
+ }
}
},
"required" : true
@@ -39757,7 +40257,22 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Accounts"
},
- "example" : "{ \"Accounts\":[ { \"Code\":\"123456\", \"Name\":\"BarFoo\", \"AccountID\":\"99ce6032-0678-4aa0-8148-240c75fee33a\", \"Type\":\"EXPENSE\", \"Description\":\"GoodBye World\", \"TaxType\":\"INPUT\", \"EnablePaymentsToAccount\":false, \"ShowInExpenseClaims\":false, \"Class\":\"EXPENSE\", \"ReportingCode\":\"EXP\", \"ReportingCodeName\":\"Expense\", \"UpdatedDateUTC\":\"2019-02-21T16:29:47.96-08:00\" } ] }"
+ "example" : {
+ "Accounts" : [ {
+ "Code" : "123456",
+ "Name" : "BarFoo",
+ "AccountID" : "99ce6032-0678-4aa0-8148-240c75fee33a",
+ "Type" : "EXPENSE",
+ "Description" : "GoodBye World",
+ "TaxType" : "INPUT",
+ "EnablePaymentsToAccount" : false,
+ "ShowInExpenseClaims" : false,
+ "Class" : "EXPENSE",
+ "ReportingCode" : "EXP",
+ "ReportingCodeName" : "Expense",
+ "UpdatedDateUTC" : "2019-02-21T16:29:47.96-08:00"
+ } ]
+ }
}
},
"required" : true
@@ -40169,7 +40684,77 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/BankTransactions"
},
- "example" : "{ \"BankTransactions\": [ { \"Type\": \"SPEND\", \"Contact\": { \"ContactID\": \"00000000-0000-0000-0000-000000000000\", \"ContactStatus\": \"ACTIVE\", \"Name\": \"Buzz Lightyear\", \"FirstName\": \"Buzz\", \"LastName\": \"Lightyear\", \"EmailAddress\": \"buzz.Lightyear@email.com\", \"ContactPersons\": [], \"BankAccountDetails\": \"\", \"Addresses\": [ { \"AddressType\": \"STREET\", \"City\": \"\", \"Region\": \"\", \"PostalCode\": \"\", \"Country\": \"\" }, { \"AddressType\": \"POBOX\", \"AddressLine1\": \"\", \"AddressLine2\": \"\", \"AddressLine3\": \"\", \"AddressLine4\": \"\", \"City\": \"Palo Alto\", \"Region\": \"CA\", \"PostalCode\": \"94020\", \"Country\": \"United States\" } ], \"Phones\": [ { \"PhoneType\": \"DEFAULT\", \"PhoneNumber\": \"847-1294\", \"PhoneAreaCode\": \"(626)\", \"PhoneCountryCode\": \"\" }, { \"PhoneType\": \"DDI\", \"PhoneNumber\": \"\", \"PhoneAreaCode\": \"\", \"PhoneCountryCode\": \"\" }, { \"PhoneType\": \"FAX\", \"PhoneNumber\": \"\", \"PhoneAreaCode\": \"\", \"PhoneCountryCode\": \"\" }, { \"PhoneType\": \"MOBILE\", \"PhoneNumber\": \"\", \"PhoneAreaCode\": \"\", \"PhoneCountryCode\": \"\" } ], \"UpdatedDateUTC\": \"2017-08-21T13:49:04.227-07:00\", \"ContactGroups\": [] }, \"Lineitems\": [], \"BankAccount\": { \"Code\": \"088\", \"Name\": \"Business Wells Fargo\", \"AccountID\": \"00000000-0000-0000-0000-000000000000\" }, \"IsReconciled\": false, \"Date\": \"2019-02-25\", \"Reference\": \"You just updated\", \"CurrencyCode\": \"USD\", \"CurrencyRate\": 1, \"Status\": \"AUTHORISED\", \"LineAmountTypes\": \"Inclusive\", \"TotalTax\": 1.74, \"BankTransactionID\": \"00000000-0000-0000-0000-000000000000\", \"UpdatedDateUTC\": \"2019-02-26T12:39:27.813-08:00\" } ] }"
+ "example" : {
+ "BankTransactions" : [ {
+ "Type" : "SPEND",
+ "Contact" : {
+ "ContactID" : "00000000-0000-0000-0000-000000000000",
+ "ContactStatus" : "ACTIVE",
+ "Name" : "Buzz Lightyear",
+ "FirstName" : "Buzz",
+ "LastName" : "Lightyear",
+ "EmailAddress" : "buzz.Lightyear@email.com",
+ "ContactPersons" : [ ],
+ "BankAccountDetails" : "",
+ "Addresses" : [ {
+ "AddressType" : "STREET",
+ "City" : "",
+ "Region" : "",
+ "PostalCode" : "",
+ "Country" : ""
+ }, {
+ "AddressType" : "POBOX",
+ "AddressLine1" : "",
+ "AddressLine2" : "",
+ "AddressLine3" : "",
+ "AddressLine4" : "",
+ "City" : "Palo Alto",
+ "Region" : "CA",
+ "PostalCode" : "94020",
+ "Country" : "United States"
+ } ],
+ "Phones" : [ {
+ "PhoneType" : "DEFAULT",
+ "PhoneNumber" : "847-1294",
+ "PhoneAreaCode" : "(626)",
+ "PhoneCountryCode" : ""
+ }, {
+ "PhoneType" : "DDI",
+ "PhoneNumber" : "",
+ "PhoneAreaCode" : "",
+ "PhoneCountryCode" : ""
+ }, {
+ "PhoneType" : "FAX",
+ "PhoneNumber" : "",
+ "PhoneAreaCode" : "",
+ "PhoneCountryCode" : ""
+ }, {
+ "PhoneType" : "MOBILE",
+ "PhoneNumber" : "",
+ "PhoneAreaCode" : "",
+ "PhoneCountryCode" : ""
+ } ],
+ "UpdatedDateUTC" : "2017-08-21T13:49:04.227-07:00",
+ "ContactGroups" : [ ]
+ },
+ "Lineitems" : [ ],
+ "BankAccount" : {
+ "Code" : "088",
+ "Name" : "Business Wells Fargo",
+ "AccountID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "IsReconciled" : false,
+ "Date" : "2019-02-25",
+ "Reference" : "You just updated",
+ "CurrencyCode" : "USD",
+ "CurrencyRate" : 1,
+ "Status" : "AUTHORISED",
+ "LineAmountTypes" : "Inclusive",
+ "TotalTax" : 1.74,
+ "BankTransactionID" : "00000000-0000-0000-0000-000000000000",
+ "UpdatedDateUTC" : "2019-02-26T12:39:27.813-08:00"
+ } ]
+ }
}
},
"required" : true
@@ -40798,7 +41383,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Contacts"
},
- "example" : "{ \"Contacts\": [{ \"ContactID\": \"00000000-0000-0000-0000-000000000000\", \"Name\": \"Thanos\" }]}"
+ "example" : {
+ "Contacts" : [ {
+ "ContactID" : "00000000-0000-0000-0000-000000000000",
+ "Name" : "Thanos"
+ } ]
+ }
}
},
"required" : true
@@ -41192,7 +41782,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/ContactGroups"
},
- "example" : "{ \"ContactGroups\":[ { \"Name\":\"Suppliers\" } ] }"
+ "example" : {
+ "ContactGroups" : [ {
+ "Name" : "Suppliers"
+ } ]
+ }
}
},
"required" : true
@@ -41397,7 +41991,24 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/CreditNotes"
},
- "example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"SentToContact\": true, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
+ "example" : {
+ "CreditNotes" : [ {
+ "Type" : "ACCPAYCREDIT",
+ "Contact" : {
+ "ContactID" : "430fa14a-f945-44d3-9f97-5df5e28441b8"
+ },
+ "Date" : "2019-01-05",
+ "Status" : "AUTHORISED",
+ "Reference" : "HelloWorld",
+ "SentToContact" : true,
+ "LineItems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 2,
+ "UnitAmount" : 20,
+ "AccountCode" : "400"
+ } ]
+ } ]
+ }
}
},
"required" : true
@@ -41829,7 +42440,18 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/ExpenseClaims"
},
- "example" : "{ \"ExpenseClaims\": [ { \"Status\": \"SUBMITTED\", \"User\": { \"UserID\": \"d1164823-0ac1-41ad-987b-b4e30fe0b273\" }, \"Receipts\": [ { \"Lineitems\": [], \"ReceiptID\": \"dc1c7f6d-0a4c-402f-acac-551d62ce5816\" } ] } ] }"
+ "example" : {
+ "ExpenseClaims" : [ {
+ "Status" : "SUBMITTED",
+ "User" : {
+ "UserID" : "d1164823-0ac1-41ad-987b-b4e30fe0b273"
+ },
+ "Receipts" : [ {
+ "Lineitems" : [ ],
+ "ReceiptID" : "dc1c7f6d-0a4c-402f-acac-551d62ce5816"
+ } ]
+ } ]
+ }
}
},
"required" : true
@@ -42016,7 +42638,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Invoices"
},
- "example" : "{ \"Invoices\": [{ Reference: \"May the force be with you\", \"InvoiceID\": \"00000000-0000-0000-0000-000000000000\", \"LineItems\": [], \"Contact\": {}, \"Type\": \"ACCPAY\" }]}"
+ "example" : {
+ "Invoices" : [ {
+ "Reference" : "May the force be with you",
+ "InvoiceID" : "00000000-0000-0000-0000-000000000000",
+ "LineItems" : [ ],
+ "Contact" : { },
+ "Type" : "ACCPAY"
+ } ]
+ }
}
},
"required" : true
@@ -42438,7 +43068,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Items"
},
- "example" : "{ \"Items\": [ { \"Code\": \"ItemCode123\", \"Description\": \"Description 123\" } ] }"
+ "example" : {
+ "Items" : [ {
+ "Code" : "ItemCode123",
+ "Description" : "Description 123"
+ } ]
+ }
}
},
"required" : true
@@ -42652,7 +43287,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/LinkedTransactions"
},
- "example" : "{ \"LinkedTransactions\": [ { \"SourceTransactionID\": \"00000000-0000-0000-0000-000000000000\", \"SourceLineItemID\": \"00000000-0000-0000-0000-000000000000\" } ] }"
+ "example" : {
+ "LinkedTransactions" : [ {
+ "SourceTransactionID" : "00000000-0000-0000-0000-000000000000",
+ "SourceLineItemID" : "00000000-0000-0000-0000-000000000000"
+ } ]
+ }
}
},
"required" : true
@@ -42854,7 +43494,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/ManualJournals"
},
- "example" : "{ \"ManualJournals\": [ { \"Narration\": \"Hello Xero\", \"ManualJournalID\": \"00000000-0000-0000-0000-000000000000\", \"JournalLines\": [] } ] }"
+ "example" : {
+ "ManualJournals" : [ {
+ "Narration" : "Hello Xero",
+ "ManualJournalID" : "00000000-0000-0000-0000-000000000000",
+ "JournalLines" : [ ]
+ } ]
+ }
}
},
"required" : true
@@ -43232,7 +43878,23 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/BankTransactions"
},
- "example" : "{ \"BankTransactions\": [ { \"Type\": \"SPEND\", \"Contact\": { \"ContactID\": \"00000000-0000-0000-0000-000000000000\" }, \"Lineitems\": [ { \"Description\": \"Foobar\", \"Quantity\": 1, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ], \"BankAccount\": { \"Code\": \"088\" } } ] }"
+ "example" : {
+ "BankTransactions" : [ {
+ "Type" : "SPEND",
+ "Contact" : {
+ "ContactID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "Lineitems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 1,
+ "UnitAmount" : 20,
+ "AccountCode" : "400"
+ } ],
+ "BankAccount" : {
+ "Code" : "088"
+ }
+ } ]
+ }
}
},
"required" : true
@@ -43440,7 +44102,27 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Contacts"
},
- "example" : "{ \"Contacts\": [ { \"Name\": \"Bruce Banner\", \"EmailAddress\": \"hulk@avengers.com\", \"Phones\": [ { \"PhoneType\": \"MOBILE\", \"PhoneNumber\": \"555-1212\", \"PhoneAreaCode\": \"415\" } ], \"PaymentTerms\": { \"Bills\": { \"Day\": 15, \"Type\": \"OFCURRENTMONTH\" }, \"Sales\": { \"Day\": 10, \"Type\": \"DAYSAFTERBILLMONTH\" } } } ] }"
+ "example" : {
+ "Contacts" : [ {
+ "Name" : "Bruce Banner",
+ "EmailAddress" : "hulk@avengers.com",
+ "Phones" : [ {
+ "PhoneType" : "MOBILE",
+ "PhoneNumber" : "555-1212",
+ "PhoneAreaCode" : "415"
+ } ],
+ "PaymentTerms" : {
+ "Bills" : {
+ "Day" : 15,
+ "Type" : "OFCURRENTMONTH"
+ },
+ "Sales" : {
+ "Day" : 10,
+ "Type" : "DAYSAFTERBILLMONTH"
+ }
+ }
+ } ]
+ }
}
},
"required" : true
@@ -43637,7 +44319,23 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/CreditNotes"
},
- "example" : "{ \"CreditNotes\":[ { \"Type\":\"ACCPAYCREDIT\", \"Contact\":{ \"ContactID\":\"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\":\"2019-01-05\", \"Status\":\"AUTHORISED\", \"Reference\": \"HelloWorld\", \"LineItems\":[ { \"Description\":\"Foobar\", \"Quantity\":2.0, \"UnitAmount\":20.0, \"AccountCode\":\"400\" } ] } ] }"
+ "example" : {
+ "CreditNotes" : [ {
+ "Type" : "ACCPAYCREDIT",
+ "Contact" : {
+ "ContactID" : "430fa14a-f945-44d3-9f97-5df5e28441b8"
+ },
+ "Date" : "2019-01-05",
+ "Status" : "AUTHORISED",
+ "Reference" : "HelloWorld",
+ "LineItems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 2.0,
+ "UnitAmount" : 20.0,
+ "AccountCode" : "400"
+ } ]
+ } ]
+ }
}
},
"required" : true
@@ -43839,7 +44537,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Employees"
},
- "example" : "{ \"Employees\": [ { \"FirstName\": \"Nick\", \"LastName\": \"Fury\", \"ExternalLink\": { \"Url\": \"http://twitter.com/#!/search/Nick+Fury\" } } ] }"
+ "example" : {
+ "Employees" : [ {
+ "FirstName" : "Nick",
+ "LastName" : "Fury",
+ "ExternalLink" : {
+ "Url" : "http://twitter.com/#!/search/Nick+Fury"
+ }
+ } ]
+ }
}
},
"required" : true
@@ -44039,7 +44745,26 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Invoices"
},
- "example" : "{ \"Invoices\": [ { \"Type\": \"ACCREC\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"LineItems\": [ { \"Description\": \"Acme Tires\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"200\", \"TaxType\": \"NONE\", \"LineAmount\": 40 } ], \"Date\": \"2019-03-11\", \"DueDate\": \"2018-12-10\", \"Reference\": \"Website Design\", \"Status\": \"AUTHORISED\" } ] }"
+ "example" : {
+ "Invoices" : [ {
+ "Type" : "ACCREC",
+ "Contact" : {
+ "ContactID" : "430fa14a-f945-44d3-9f97-5df5e28441b8"
+ },
+ "LineItems" : [ {
+ "Description" : "Acme Tires",
+ "Quantity" : 2,
+ "UnitAmount" : 20,
+ "AccountCode" : "200",
+ "TaxType" : "NONE",
+ "LineAmount" : 40
+ } ],
+ "Date" : "2019-03-11",
+ "DueDate" : "2018-12-10",
+ "Reference" : "Website Design",
+ "Status" : "AUTHORISED"
+ } ]
+ }
}
},
"required" : true
@@ -44242,7 +44967,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Items"
},
- "example" : "{ \"Items\": [ { \"Code\": \"ItemCode123\", \"Name\": \"ItemName XYZ\", \"Description\": \"Item Description ABC\" } ] }"
+ "example" : {
+ "Items" : [ {
+ "Code" : "ItemCode123",
+ "Name" : "ItemName XYZ",
+ "Description" : "Item Description ABC"
+ } ]
+ }
}
},
"required" : true
@@ -44459,7 +45190,25 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/ManualJournals"
},
- "example" : "{ \"ManualJournals\": [ { \"Narration\": \"Journal Desc\", \"JournalLines\": [ { \"LineAmount\": 100, \"AccountCode\": \"400\", \"Description\": \"Money Movement\" }, { \"LineAmount\": -100, \"AccountCode\": \"400\", \"Description\": \"Prepayment of things\", \"Tracking\": [ { \"Name\": \"North\", \"Option\": \"Region\" } ] } ], \"Date\": \"2019-03-14\" } ] }"
+ "example" : {
+ "ManualJournals" : [ {
+ "Narration" : "Journal Desc",
+ "JournalLines" : [ {
+ "LineAmount" : 100,
+ "AccountCode" : "400",
+ "Description" : "Money Movement"
+ }, {
+ "LineAmount" : -100,
+ "AccountCode" : "400",
+ "Description" : "Prepayment of things",
+ "Tracking" : [ {
+ "Name" : "North",
+ "Option" : "Region"
+ } ]
+ } ],
+ "Date" : "2019-03-14"
+ } ]
+ }
}
},
"required" : true
@@ -44653,7 +45402,20 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PurchaseOrders"
},
- "example" : "{ \"PurchaseOrders\": [ { \"Contact\": { \"ContactID\": \"00000000-0000-0000-0000-000000000000\" }, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 1, \"UnitAmount\": 20, \"AccountCode\": \"710\" } ], \"Date\": \"2019-03-13\" } ] }"
+ "example" : {
+ "PurchaseOrders" : [ {
+ "Contact" : {
+ "ContactID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "LineItems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 1,
+ "UnitAmount" : 20,
+ "AccountCode" : "710"
+ } ],
+ "Date" : "2019-03-13"
+ } ]
+ }
}
},
"required" : true
@@ -44847,7 +45609,20 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Quotes"
},
- "example" : "{ \"Quotes\": [ { \"Contact\": { \"ContactID\": \"00000000-0000-0000-0000-000000000000\" }, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 1, \"UnitAmount\": 20, \"AccountCode\": \"12775\" } ], \"Date\": \"2020-02-01\" } ] }"
+ "example" : {
+ "Quotes" : [ {
+ "Contact" : {
+ "ContactID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "LineItems" : [ {
+ "Description" : "Foobar",
+ "Quantity" : 1,
+ "UnitAmount" : 20,
+ "AccountCode" : "12775"
+ } ],
+ "Date" : "2020-02-01"
+ } ]
+ }
}
},
"required" : true
@@ -45020,7 +45795,42 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/RepeatingInvoices"
},
- "example" : "{ \"RepeatingInvoices\": [ { \"Schedule\": { \"Period\": 1, \"Unit\": \"MONTHLY\", \"DueDate\": 10, \"DueDateType\": \"OFFOLLOWINGMONTH\", \"StartDate\": \"\\/Date(1555286400000+0000)\\/\" }, \"Type\": \"ACCREC\", \"Reference\": \"[Week]\", \"ApprovedForSending\": false, \"SendCopy\": false, \"MarkAsSent\": false, \"IncludePDF\": false, \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\", \"Name\": \"Liam Gallagher\" }, \"Status\": \"AUTHORISED\", \"LineAmountTypes\": \"Exclusive\", \"LineItems\": [ { \"Description\": \"Guitars Fender Strat\", \"UnitAmount\": 5000.00, \"TaxType\": \"OUTPUT2\", \"TaxAmount\": 750.00, \"LineAmount\": 5000.00, \"AccountCode\": \"200\", \"Tracking\": [], \"Quantity\": 1.0000, \"LineItemID\": \"13a8353c-d2af-4d5b-920c-438449f08900\", \"DiscountEnteredAsPercent\": true } ], \"CurrencyCode\": \"NZD\" } ] }"
+ "example" : {
+ "RepeatingInvoices" : [ {
+ "Schedule" : {
+ "Period" : 1,
+ "Unit" : "MONTHLY",
+ "DueDate" : 10,
+ "DueDateType" : "OFFOLLOWINGMONTH",
+ "StartDate" : "/Date(1555286400000+0000)/"
+ },
+ "Type" : "ACCREC",
+ "Reference" : "[Week]",
+ "ApprovedForSending" : false,
+ "SendCopy" : false,
+ "MarkAsSent" : false,
+ "IncludePDF" : false,
+ "Contact" : {
+ "ContactID" : "430fa14a-f945-44d3-9f97-5df5e28441b8",
+ "Name" : "Liam Gallagher"
+ },
+ "Status" : "AUTHORISED",
+ "LineAmountTypes" : "Exclusive",
+ "LineItems" : [ {
+ "Description" : "Guitars Fender Strat",
+ "UnitAmount" : 5000.0,
+ "TaxType" : "OUTPUT2",
+ "TaxAmount" : 750.0,
+ "LineAmount" : 5000.0,
+ "AccountCode" : "200",
+ "Tracking" : [ ],
+ "Quantity" : 1.0,
+ "LineItemID" : "13a8353c-d2af-4d5b-920c-438449f08900",
+ "DiscountEnteredAsPercent" : true
+ } ],
+ "CurrencyCode" : "NZD"
+ } ]
+ }
}
},
"required" : true
@@ -45233,7 +46043,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PurchaseOrders"
},
- "example" : "{ \"PurchaseOrders\": [ { \"AttentionTo\": \"Peter Parker\", \"LineItems\": [], \"Contact\": {} } ] }"
+ "example" : {
+ "PurchaseOrders" : [ {
+ "AttentionTo" : "Peter Parker",
+ "LineItems" : [ ],
+ "Contact" : { }
+ } ]
+ }
}
},
"required" : true
@@ -45632,7 +46448,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Quotes"
},
- "example" : "{ \"Quotes\": [ { \"Reference\": \"I am an update\", \"Contact\": { \"ContactID\": \"00000000-0000-0000-0000-000000000000\" }, \"Date\": \"2020-02-01\" } ] }"
+ "example" : {
+ "Quotes" : [ {
+ "Reference" : "I am an update",
+ "Contact" : {
+ "ContactID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "Date" : "2020-02-01"
+ } ]
+ }
}
},
"required" : true
@@ -46032,7 +46856,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Receipts"
},
- "example" : "{ \"Receipts\": [ { \"Lineitems\": [], \"User\": { \"UserID\": \"00000000-0000-0000-0000-000000000000\" }, \"Reference\": \"Foobar\" } ] }"
+ "example" : {
+ "Receipts" : [ {
+ "Lineitems" : [ ],
+ "User" : {
+ "UserID" : "00000000-0000-0000-0000-000000000000"
+ },
+ "Reference" : "Foobar"
+ } ]
+ }
}
},
"required" : true
@@ -46444,7 +47276,53 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/RepeatingInvoices"
},
- "example" : "{ \"Schedule\": { \"Period\": 1, \"Unit\": \"MONTHLY\", \"DueDate\": 10, \"DueDateType\": \"OFFOLLOWINGMONTH\", \"StartDate\": \"\\/Date(1555286400000+0000)\\/\", \"EndDate\": \"\\/Date(1569801600000+0000)\\/\", \"NextScheduledDate\": \"\\/Date(1555286400000+0000)\\/\" }, \"RepeatingInvoiceID\": \"428c0d75-909f-4b04-8403-a48dc27283b0\", \"Type\": \"ACCREC\", \"Reference\": \"[Week]\", \"HasAttachments\": true, \"ApprovedForSending\": false, \"SendCopy\": false, \"MarkAsSent\": false, \"IncludePDF\": false, \"ID\": \"428c0d75-909f-4b04-8403-a48dc27283b0\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\", \"Name\": \"Liam Gallagher\", \"Addresses\": [], \"Phones\": [], \"ContactGroups\": [], \"ContactPersons\": [], \"HasValidationErrors\": false }, \"Status\": \"DELETED\", \"LineAmountTypes\": \"Exclusive\", \"LineItems\": [ { \"Description\": \"Guitars Fender Strat\", \"UnitAmount\": 5000.00, \"TaxType\": \"OUTPUT2\", \"TaxAmount\": 750.00, \"LineAmount\": 5000.00, \"AccountCode\": \"200\", \"Tracking\": [], \"Quantity\": 1.0000, \"LineItemID\": \"13a8353c-d2af-4d5b-920c-438449f08900\", \"DiscountEnteredAsPercent\": true } ], \"SubTotal\": 5000.00, \"TotalTax\": 750.00, \"Total\": 5750.00, \"CurrencyCode\": \"NZD\" }"
+ "example" : {
+ "Schedule" : {
+ "Period" : 1,
+ "Unit" : "MONTHLY",
+ "DueDate" : 10,
+ "DueDateType" : "OFFOLLOWINGMONTH",
+ "StartDate" : "/Date(1555286400000+0000)/",
+ "EndDate" : "/Date(1569801600000+0000)/",
+ "NextScheduledDate" : "/Date(1555286400000+0000)/"
+ },
+ "RepeatingInvoiceID" : "428c0d75-909f-4b04-8403-a48dc27283b0",
+ "Type" : "ACCREC",
+ "Reference" : "[Week]",
+ "HasAttachments" : true,
+ "ApprovedForSending" : false,
+ "SendCopy" : false,
+ "MarkAsSent" : false,
+ "IncludePDF" : false,
+ "ID" : "428c0d75-909f-4b04-8403-a48dc27283b0",
+ "Contact" : {
+ "ContactID" : "430fa14a-f945-44d3-9f97-5df5e28441b8",
+ "Name" : "Liam Gallagher",
+ "Addresses" : [ ],
+ "Phones" : [ ],
+ "ContactGroups" : [ ],
+ "ContactPersons" : [ ],
+ "HasValidationErrors" : false
+ },
+ "Status" : "DELETED",
+ "LineAmountTypes" : "Exclusive",
+ "LineItems" : [ {
+ "Description" : "Guitars Fender Strat",
+ "UnitAmount" : 5000.0,
+ "TaxType" : "OUTPUT2",
+ "TaxAmount" : 750.0,
+ "LineAmount" : 5000.0,
+ "AccountCode" : "200",
+ "Tracking" : [ ],
+ "Quantity" : 1.0,
+ "LineItemID" : "13a8353c-d2af-4d5b-920c-438449f08900",
+ "DiscountEnteredAsPercent" : true
+ } ],
+ "SubTotal" : 5000.0,
+ "TotalTax" : 750.0,
+ "Total" : 5750.0,
+ "CurrencyCode" : "NZD"
+ }
}
},
"required" : true
@@ -46810,7 +47688,17 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TaxRates"
},
- "example" : "{ \"TaxRates\": [ { \"Name\": \"State Tax NY\", \"TaxComponents\": [ { \"Name\": \"State Tax\", \"Rate\": 2.25 } ], \"Status\": \"DELETED\", \"ReportTaxType\": \"INPUT\" } ] }"
+ "example" : {
+ "TaxRates" : [ {
+ "Name" : "State Tax NY",
+ "TaxComponents" : [ {
+ "Name" : "State Tax",
+ "Rate" : 2.25
+ } ],
+ "Status" : "DELETED",
+ "ReportTaxType" : "INPUT"
+ } ]
+ }
}
},
"required" : true
@@ -46991,7 +47879,9 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TrackingCategory"
},
- "example" : "{ \"Name\": \"Avengers\" }"
+ "example" : {
+ "Name" : "Avengers"
+ }
}
},
"required" : true
@@ -47199,7 +48089,9 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TrackingOption"
},
- "example" : "{ name: \"Vision\" }"
+ "example" : {
+ "name" : "Vision"
+ }
}
},
"required" : true
diff --git a/docs/v2/appstore/index.html b/docs/v2/appstore/index.html
index 10ebd1b3..173aa8cf 100644
--- a/docs/v2/appstore/index.html
+++ b/docs/v2/appstore/index.html
@@ -1624,7 +1624,10 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/CreateUsageRecord"
},
- "example" : "{ \"timestamp\": \"2022-01-21T13:01:00\", \"quantity\": 10 }"
+ "example" : {
+ "timestamp" : "2022-01-21T13:01:00",
+ "quantity" : 10
+ }
}
},
"required" : true
@@ -1833,7 +1836,9 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/UpdateUsageRecord"
},
- "example" : "{ \"quantity\": 10 }"
+ "example" : {
+ "quantity" : 10
+ }
}
},
"required" : true
diff --git a/docs/v2/assets/index.html b/docs/v2/assets/index.html
index 857d1936..dbdb2269 100644
--- a/docs/v2/assets/index.html
+++ b/docs/v2/assets/index.html
@@ -1030,7 +1030,6 @@
};
defs["BookDepreciationDetail"] = {
"title" : "",
- "required" : [ "name" ],
"properties" : {
"currentCapitalGain" : {
"type" : "number",
@@ -1084,7 +1083,6 @@
};
defs["BookDepreciationSetting"] = {
"title" : "",
- "required" : [ "name" ],
"properties" : {
"depreciationMethod" : {
"type" : "string",
@@ -1569,7 +1567,28 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Asset"
},
- "example" : "{ \"assetName\":\"Computer74863\", \"assetNumber\":\"123477544\", \"purchaseDate\":\"2020-01-01\", \"purchasePrice\":100.0, \"disposalPrice\":23.23, \"assetStatus\":\"Draft\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"StraightLine\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.5, \"depreciationCalculationMethod\":\"None\" }, \"bookDepreciationDetail\":{ \"currentCapitalGain\":5.32, \"currentGainLoss\":3.88, \"depreciationStartDate\":\"2020-01-02\", \"costLimit\":100.0, \"currentAccumDepreciationAmount\":2.25 }, \"AccountingBookValue\":99.5 }"
+ "example" : {
+ "assetName" : "Computer74863",
+ "assetNumber" : "123477544",
+ "purchaseDate" : "2020-01-01",
+ "purchasePrice" : 100.0,
+ "disposalPrice" : 23.23,
+ "assetStatus" : "Draft",
+ "bookDepreciationSetting" : {
+ "depreciationMethod" : "StraightLine",
+ "averagingMethod" : "ActualDays",
+ "depreciationRate" : 0.5,
+ "depreciationCalculationMethod" : "None"
+ },
+ "bookDepreciationDetail" : {
+ "currentCapitalGain" : 5.32,
+ "currentGainLoss" : 3.88,
+ "depreciationStartDate" : "2020-01-02",
+ "costLimit" : 100.0,
+ "currentAccumDepreciationAmount" : 2.25
+ },
+ "AccountingBookValue" : 99.5
+ }
}
},
"required" : true
@@ -1727,7 +1746,18 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/AssetType"
},
- "example" : "{ \"assetTypeName\":\"Machinery11004\", \"fixedAssetAccountId\":\"3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82\", \"depreciationExpenseAccountId\":\"d1602f69-f900-4616-8d34-90af393fa368\", \"accumulatedDepreciationAccountId\":\"9195cadd-8645-41e6-9f67-7bcd421defe8\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"DiminishingValue100\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.05, \"depreciationCalculationMethod\":\"None\" } }"
+ "example" : {
+ "assetTypeName" : "Machinery11004",
+ "fixedAssetAccountId" : "3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82",
+ "depreciationExpenseAccountId" : "d1602f69-f900-4616-8d34-90af393fa368",
+ "accumulatedDepreciationAccountId" : "9195cadd-8645-41e6-9f67-7bcd421defe8",
+ "bookDepreciationSetting" : {
+ "depreciationMethod" : "DiminishingValue100",
+ "averagingMethod" : "ActualDays",
+ "depreciationRate" : 0.05,
+ "depreciationCalculationMethod" : "None"
+ }
+ }
}
},
"required" : true
diff --git a/docs/v2/payroll_au/index.html b/docs/v2/payroll_au/index.html
index 1f083b81..83da6b95 100644
--- a/docs/v2/payroll_au/index.html
+++ b/docs/v2/payroll_au/index.html
@@ -4156,7 +4156,25 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PayItem"
},
- "example" : "{ \"EarningsRates\": [ { \"Name\": \"MyRate\", \"AccountCode\": \"400\", \"TypeOfUnits\": \"4.00\", \"IsExemptFromTax\": true, \"IsExemptFromSuper\": true, \"IsReportableAsW1\": false, \"AllowanceContributesToAnnualLeaveRate\": false, \"AllowanceContributesToOvertimeRate\": false, \"EarningsType\": \"ORDINARYTIMEEARNINGS\", \"EarningsRateID\": \"1fa4e226-b711-46ba-a8a7-4344c9c5fb87\", \"RateType\": \"MULTIPLE\", \"RatePerUnit\": \"10.0\", \"Multiplier\": 1.5, \"Amount\": 5, \"EmploymentTerminationPaymentType\": \"O\" } ] }"
+ "example" : {
+ "EarningsRates" : [ {
+ "Name" : "MyRate",
+ "AccountCode" : "400",
+ "TypeOfUnits" : "4.00",
+ "IsExemptFromTax" : true,
+ "IsExemptFromSuper" : true,
+ "IsReportableAsW1" : false,
+ "AllowanceContributesToAnnualLeaveRate" : false,
+ "AllowanceContributesToOvertimeRate" : false,
+ "EarningsType" : "ORDINARYTIMEEARNINGS",
+ "EarningsRateID" : "1fa4e226-b711-46ba-a8a7-4344c9c5fb87",
+ "RateType" : "MULTIPLE",
+ "RatePerUnit" : "10.0",
+ "Multiplier" : 1.5,
+ "Amount" : 5,
+ "EmploymentTerminationPaymentType" : "O"
+ } ]
+ }
}
},
"required" : true
@@ -8275,7 +8293,16 @@ Parameters
"$ref" : "#/components/schemas/PayslipLines"
}
},
- "example" : "{ \"Payslip\": { \"EmployeeID\": \"cdfb8371-0b21-4b8a-8903-1024df6c391e\", \"DeductionLines\": [ { \"DeductionTypeID\": \"727af5e8-b347-4ae7-85fc-9b82266d0aec\", \"CalculationType\": \"FIXEDAMOUNT\", \"NumberOfUnits\": 10 } ] } }"
+ "example" : {
+ "Payslip" : {
+ "EmployeeID" : "cdfb8371-0b21-4b8a-8903-1024df6c391e",
+ "DeductionLines" : [ {
+ "DeductionTypeID" : "727af5e8-b347-4ae7-85fc-9b82266d0aec",
+ "CalculationType" : "FIXEDAMOUNT",
+ "NumberOfUnits" : 10
+ } ]
+ }
+ }
}
},
"required" : true
diff --git a/docs/v2/payroll_nz/index.html b/docs/v2/payroll_nz/index.html
index 2b903b87..cd76f194 100644
--- a/docs/v2/payroll_nz/index.html
+++ b/docs/v2/payroll_nz/index.html
@@ -1048,7 +1048,7 @@
};
defs["Deduction"] = {
"title" : "",
- "required" : [ "calculationType", "deductionCategory", "deductionName", "liabilityAccountId" ],
+ "required" : [ "deductionCategory", "deductionName", "liabilityAccountId" ],
"type" : "object",
"properties" : {
"deductionId" : {
@@ -1422,7 +1422,7 @@
};
defs["Employee"] = {
"title" : "",
- "required" : [ "Address", "DateOfBirth", "FirstName", "LastName" ],
+ "required" : [ "address", "dateOfBirth", "firstName", "lastName" ],
"type" : "object",
"properties" : {
"employeeID" : {
@@ -2428,7 +2428,7 @@
};
defs["Employment"] = {
"title" : "",
- "required" : [ "EngagementType", "PayrollCalendarID", "StartDate" ],
+ "required" : [ "engagementType", "payrollCalendarID", "startDate" ],
"type" : "object",
"properties" : {
"payrollCalendarID" : {
@@ -4547,7 +4547,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Deduction"
},
- "example" : "{ \"deductionName\": \"My new deduction\", \"deductionCategory\": \"NzOther\", \"liabilityAccountId\": \"568f2e9a-0870-46cc-8678-f83f132ed4e3\" }"
+ "example" : {
+ "deductionName" : "My new deduction",
+ "deductionCategory" : "NzOther",
+ "liabilityAccountId" : "568f2e9a-0870-46cc-8678-f83f132ed4e3"
+ }
}
},
"required" : true
@@ -4696,7 +4700,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EarningsRate"
},
- "example" : "{ \"name\": \"My Earnings Rate\", \"earningsType\": \"RegularEarnings\", \"rateType\": \"RatePerUnit\", \"typeOfUnits\": \"hours\", \"expenseAccountID\": \"e4eb36f6-97e3-4427-a394-dd4e1b355c2e\" }"
+ "example" : {
+ "name" : "My Earnings Rate",
+ "earningsType" : "RegularEarnings",
+ "rateType" : "RatePerUnit",
+ "typeOfUnits" : "hours",
+ "expenseAccountID" : "e4eb36f6-97e3-4427-a394-dd4e1b355c2e"
+ }
}
},
"required" : true
@@ -4853,7 +4863,20 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Employee"
},
- "example" : "{ \"title\": \"Mr\", \"firstName\": \"Mike\", \"lastName\": \"Johntzxzpxhmkgson\", \"dateOfBirth\": \"2000-01-01\", \"address\": { \"addressLine1\": \"101 Green St\", \"city\": \"San Francisco\", \"postCode\": \"4351\", \"countryName\": \"United Kingdom\" }, \"email\": \"83139@starkindustries.com\", \"gender\": \"M\" }"
+ "example" : {
+ "title" : "Mr",
+ "firstName" : "Mike",
+ "lastName" : "Johntzxzpxhmkgson",
+ "dateOfBirth" : "2000-01-01",
+ "address" : {
+ "addressLine1" : "101 Green St",
+ "city" : "San Francisco",
+ "postCode" : "4351",
+ "countryName" : "United Kingdom"
+ },
+ "email" : "83139@starkindustries.com",
+ "gender" : "M"
+ }
}
},
"required" : true
@@ -5041,7 +5064,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EarningsTemplate"
},
- "example" : "{ \"ratePerUnit\": 20, \"numberOfUnits\": 8, \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"name\": \"My New One\" }"
+ "example" : {
+ "ratePerUnit" : 20,
+ "numberOfUnits" : 8,
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "name" : "My New One"
+ }
}
},
"required" : true
@@ -5228,7 +5256,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeLeave"
},
- "example" : "{ \"leaveTypeID\": \"b0b1b79e-2a25-46c2-ad08-ca25ef48d7e4\", \"description\": \"Creating a Description\", \"startDate\": \"2020-04-24\", \"endDate\": \"2020-04-26\" }"
+ "example" : {
+ "leaveTypeID" : "b0b1b79e-2a25-46c2-ad08-ca25ef48d7e4",
+ "description" : "Creating a Description",
+ "startDate" : "2020-04-24",
+ "endDate" : "2020-04-26"
+ }
}
},
"required" : true
@@ -5419,7 +5452,16 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeLeaveSetup"
},
- "example" : "{ \"holidayPayOpeningBalance\": 10, \"annualLeaveOpeningBalance\": 100, \"sickLeaveHoursToAccrueAnnually\": 20, \"sickLeaveToAccrueAnnually\": 20, \"sickLeaveOpeningBalance\": 10, \"sickLeaveScheduleOfAccrual\": \"OnAnniversaryDate\", \"sickLeaveAnniversaryDate\": \"2023-12-31\", \"annualLeaveAnniversaryDate\": \"2023-12-31\" }"
+ "example" : {
+ "holidayPayOpeningBalance" : 10,
+ "annualLeaveOpeningBalance" : 100,
+ "sickLeaveHoursToAccrueAnnually" : 20,
+ "sickLeaveToAccrueAnnually" : 20,
+ "sickLeaveOpeningBalance" : 10,
+ "sickLeaveScheduleOfAccrual" : "OnAnniversaryDate",
+ "sickLeaveAnniversaryDate" : "2023-12-31",
+ "annualLeaveAnniversaryDate" : "2023-12-31"
+ }
}
},
"required" : true
@@ -5603,7 +5645,17 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeLeaveType"
},
- "example" : "{ \"leaveTypeID\": \"35da97ae-05b9-427f-9a98-69157ba42cec\", \"scheduleOfAccrual\": \"AnnuallyAfter6Months\", \"hoursAccruedAnnually\": 10, \"unitsAccruedAnnually\": 10, \"typeOfUnitsToAccrue\": \"Hours\", \"openingBalanceTypeOfUnits\": \"Hours\" \"maximumToAccrue\": 80, \"openingBalance\": 100, \"rateAccruedHourly\": 3.5 }"
+ "example" : {
+ "leaveTypeID" : "35da97ae-05b9-427f-9a98-69157ba42cec",
+ "scheduleOfAccrual" : "AnnuallyAfter6Months",
+ "hoursAccruedAnnually" : 10,
+ "unitsAccruedAnnually" : 10,
+ "typeOfUnitsToAccrue" : "Hours",
+ "openingBalanceTypeOfUnits" : "Hours",
+ "maximumToAccrue" : 80,
+ "openingBalance" : 100,
+ "rateAccruedHourly" : 3.5
+ }
}
},
"required" : true
@@ -5977,6 +6029,18 @@ Parameters
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/PaymentMethod"
+ },
+ "example" : {
+ "bankAccounts" : [ {
+ "accountName" : "Casual Worker",
+ "accountNumber" : "0607050201419000",
+ "sortCode" : null,
+ "particulars" : null,
+ "code" : null,
+ "dollarAmount" : null,
+ "reference" : "",
+ "calculationType" : "Balance"
+ } ]
}
}
},
@@ -6161,7 +6225,17 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/SalaryAndWage"
},
- "example" : "{ \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"numberOfUnitsPerWeek\": 2, \"ratePerUnit\": 10, \"numberOfUnitsPerDay\": 2, \"daysPerWeek\": 1, \"effectiveFrom\": \"2020-05-01\", \"annualSalary\": 100, \"status\": \"Active\", \"paymentType\": \"Salary\" }"
+ "example" : {
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "numberOfUnitsPerWeek" : 2,
+ "ratePerUnit" : 10,
+ "numberOfUnitsPerDay" : 2,
+ "daysPerWeek" : 1,
+ "effectiveFrom" : "2020-05-01",
+ "annualSalary" : 100,
+ "status" : "Active",
+ "paymentType" : "Salary"
+ }
}
},
"required" : true
@@ -6349,7 +6423,18 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeWorkingPatternWithWorkingWeeksRequest"
},
- "example" : "{ \"effectiveFrom\": \"2020-01-01T00:00:00\", \"workingWeeks\": [ { \"monday\": 0.0, \"tuesday\": 3.0000, \"wednesday\": 0.0, \"thursday\": 0.0, \"friday\": 0.0, \"saturday\": 0.0, \"sunday\": 0.0 } ] }"
+ "example" : {
+ "effectiveFrom" : "2020-01-01T00:00:00",
+ "workingWeeks" : [ {
+ "monday" : 0.0,
+ "tuesday" : 3.0,
+ "wednesday" : 0.0,
+ "thursday" : 0.0,
+ "friday" : 0.0,
+ "saturday" : 0.0,
+ "sunday" : 0.0
+ } ]
+ }
}
},
"required" : true
@@ -6534,7 +6619,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Employment"
},
- "example" : "{ \"payrollCalendarID\": \"9aa56064-990f-4ad3-a189-d966d8f6a030\", \"startDate\": \"2020-09-02\", \"engagementType\": \"FixedTerm\", \"fixedTermEndDate\": \"2026-01-01\" }"
+ "example" : {
+ "payrollCalendarID" : "9aa56064-990f-4ad3-a189-d966d8f6a030",
+ "startDate" : "2020-09-02",
+ "engagementType" : "FixedTerm",
+ "fixedTermEndDate" : "2026-01-01"
+ }
}
},
"required" : true
@@ -6683,7 +6773,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/LeaveType"
},
- "example" : "{ \"name\": \"My wqwhhiktun Leave\", \"isPaidLeave\": false, \"showOnPayslip\": true }"
+ "example" : {
+ "name" : "My wqwhhiktun Leave",
+ "isPaidLeave" : false,
+ "showOnPayslip" : true
+ }
}
},
"required" : true
@@ -7019,7 +7113,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PayRun"
},
- "example" : "{ \"payrollCalendarID\": \"9aa56064-990f-4ad3-a189-d966d8f6a030\", \"periodStartDate\": \"2020-09-08\", \"periodEndDate\": \"2020-09-15\", \"paymentDate\": \"2020-09-20\", \"payRunStatus\": \"Draft\", \"payRunType\": \"Scheduled\", \"calendarType\": \"Weekly\" }"
+ "example" : {
+ "payrollCalendarID" : "9aa56064-990f-4ad3-a189-d966d8f6a030",
+ "periodStartDate" : "2020-09-08",
+ "periodEndDate" : "2020-09-15",
+ "paymentDate" : "2020-09-20",
+ "payRunStatus" : "Draft",
+ "payRunType" : "Scheduled",
+ "calendarType" : "Weekly"
+ }
}
},
"required" : true
@@ -7170,7 +7272,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PayRunCalendar"
},
- "example" : "{ \"name\": \"My Weekly Cal\", \"calendarType\": \"Weekly\", \"periodStartDate\": \"2020-05-01\", \"paymentDate\": \"2020-05-15\" }"
+ "example" : {
+ "name" : "My Weekly Cal",
+ "calendarType" : "Weekly",
+ "periodStartDate" : "2020-05-01",
+ "paymentDate" : "2020-05-15"
+ }
}
},
"required" : true
@@ -7320,7 +7427,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Reimbursement"
},
- "example" : "{ \"name\": \"My new Reimburse\", \"accountID\": \"fa5cdc43-643b-4ad8-b4ac-3ffe0d0f4488\", \"reimbursementCategory\": \"GSTInclusive\", \"calculationType\": \"FixedAmount\" }"
+ "example" : {
+ "name" : "My new Reimburse",
+ "accountID" : "fa5cdc43-643b-4ad8-b4ac-3ffe0d0f4488",
+ "reimbursementCategory" : "GSTInclusive",
+ "calculationType" : "FixedAmount"
+ }
}
},
"required" : true
@@ -7472,7 +7584,14 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Benefit"
},
- "example" : "{ \"name\": \"SidSaver\", \"category\": \"Other\", \"liabilityAccountId\": \"568f2e9a-0870-46cc-8678-f83f132ed4e3\", \"expenseAccountId\": \"e4eb36f6-97e3-4427-a394-dd4e1b355c2e\", \"CalculationTypeNZ\": \"FixedAmount\", \"standardAmount\": 10 }"
+ "example" : {
+ "name" : "SidSaver",
+ "category" : "Other",
+ "liabilityAccountId" : "568f2e9a-0870-46cc-8678-f83f132ed4e3",
+ "expenseAccountId" : "e4eb36f6-97e3-4427-a394-dd4e1b355c2e",
+ "CalculationTypeNZ" : "FixedAmount",
+ "standardAmount" : 10
+ }
}
},
"required" : true
@@ -7624,7 +7743,21 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Timesheet"
},
- "example" : "{ \"payrollCalendarID\": \"9aa56064-990f-4ad3-a189-d966d8f6a030\", \"employeeID\": \"68342973-c405-4b86-b5d3-d7b877c27995\", \"startDate\": \"2020-04-13\", \"endDate\": \"2020-04-19\", \"timesheetLines\": [ { \"date\": \"2020-04-13\", \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"numberOfUnits\": 8 }, { \"date\": \"2020-04-15\", \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"numberOfUnits\": 6 } ] }"
+ "example" : {
+ "payrollCalendarID" : "9aa56064-990f-4ad3-a189-d966d8f6a030",
+ "employeeID" : "68342973-c405-4b86-b5d3-d7b877c27995",
+ "startDate" : "2020-04-13",
+ "endDate" : "2020-04-19",
+ "timesheetLines" : [ {
+ "date" : "2020-04-13",
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "numberOfUnits" : 8
+ }, {
+ "date" : "2020-04-15",
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "numberOfUnits" : 6
+ } ]
+ }
}
},
"required" : true
@@ -7810,7 +7943,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TimesheetLine"
},
- "example" : "{ \"date\": \"2020-08-03\", \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"numberOfUnits\": 1 }"
+ "example" : {
+ "date" : "2020-08-03",
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "numberOfUnits" : 1
+ }
}
},
"required" : true
@@ -13738,7 +13875,20 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Employee"
},
- "example" : "{ \"title\": \"Mr\", \"firstName\": \"Tony\", \"lastName\": \"Starkgtrzgquusrson\", \"dateOfBirth\": \"1999-01-01\", \"address\": { \"addressLine1\": \"101 Green St\", \"city\": \"San Francisco\", \"postCode\": \"4432\", \"countryName\": \"United Kingdom\" }, \"email\": \"58315@starkindustries.com\", \"gender\": \"M\" }"
+ "example" : {
+ "title" : "Mr",
+ "firstName" : "Tony",
+ "lastName" : "Starkgtrzgquusrson",
+ "dateOfBirth" : "1999-01-01",
+ "address" : {
+ "addressLine1" : "101 Green St",
+ "city" : "San Francisco",
+ "postCode" : "4432",
+ "countryName" : "United Kingdom"
+ },
+ "email" : "58315@starkindustries.com",
+ "gender" : "M"
+ }
}
},
"required" : true
@@ -13953,7 +14103,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EarningsTemplate"
},
- "example" : "{ \"ratePerUnit\": 25, \"numberOfUnits\": 4, \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\" }"
+ "example" : {
+ "ratePerUnit" : 25,
+ "numberOfUnits" : 4,
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5"
+ }
}
},
"required" : true
@@ -14165,7 +14319,18 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeLeave"
},
- "example" : "{ \"leaveTypeID\": \"b0b1b79e-2a25-46c2-ad08-ca25ef48d7e4\", \"description\": \"Creating a Description\", \"startDate\": \"2020-04-24\", \"endDate\": \"2020-04-26\", \"periods\": [ { \"periodStartDate\": \"2020-04-20\", \"periodEndDate\": \"2020-04-26\", \"numberOfUnits\": 1, \"periodStatus\": \"Approved\" } ] }"
+ "example" : {
+ "leaveTypeID" : "b0b1b79e-2a25-46c2-ad08-ca25ef48d7e4",
+ "description" : "Creating a Description",
+ "startDate" : "2020-04-24",
+ "endDate" : "2020-04-26",
+ "periods" : [ {
+ "periodStartDate" : "2020-04-20",
+ "periodEndDate" : "2020-04-26",
+ "numberOfUnits" : 1,
+ "periodStatus" : "Approved"
+ } ]
+ }
}
},
"required" : true
@@ -14376,7 +14541,17 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/SalaryAndWage"
},
- "example" : "{ \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"numberOfUnitsPerWeek\": 3, \"ratePerUnit\": 11, \"numberOfUnitsPerDay\": 3, \"daysPerWeek\": 1, \"effectiveFrom\": \"2020-05-15\", \"annualSalary\": 101, \"status\": \"Active\", \"paymentType\": \"Salary\" }"
+ "example" : {
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "numberOfUnitsPerWeek" : 3,
+ "ratePerUnit" : 11,
+ "numberOfUnitsPerDay" : 3,
+ "daysPerWeek" : 1,
+ "effectiveFrom" : "2020-05-15",
+ "annualSalary" : 101,
+ "status" : "Active",
+ "paymentType" : "Salary"
+ }
}
},
"required" : true
@@ -14568,6 +14743,24 @@ Parameters
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/EmployeeTax"
+ },
+ "example" : {
+ "irdNumber" : "111111111",
+ "taxCode" : "M",
+ "esctRatePercentage" : 17.5,
+ "isEligibleForKiwiSaver" : true,
+ "hasSpecialStudentLoanRate" : false,
+ "specialStudentLoanRatePercentage" : null,
+ "specialTaxRatePercentage" : null,
+ "kiwiSaverContributions" : "MakeContributions",
+ "kiwiSaverOptOutDate" : null,
+ "kiwiSaverContributionHolidayEndDate" : null,
+ "kiwiSaverEmployeeContributionRatePercentage" : 3,
+ "kiwiSaverEmployerContributionRatePercentage" : 3,
+ "kiwiSaverEmployerSalarySacrificeContributionRatePercentage" : 0,
+ "hasStudentLoanBalance" : false,
+ "studentLoanBalance" : null,
+ "studentLoanAsAt" : null
}
}
},
@@ -14753,7 +14946,9 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PayRun"
},
- "example" : "{ \"paymentDate\": \"2019-07-01\" }"
+ "example" : {
+ "paymentDate" : "2019-07-01"
+ }
}
},
"required" : true
@@ -14944,7 +15139,81 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PaySlip"
},
- "example" : "{ \"earningsLines\": [ { \"earningsLineID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"displayName\": \"Ordinary Time\", \"ratePerUnit\": 25, \"numberOfUnits\": 0, \"amount\": 0, \"isLinkedToTimesheet\": false, \"isSystemGenerated\": true }, { \"earningsLineID\": \"65b83d94-f20f-45e1-85ae-387fcf460c26\", \"earningsRateID\": \"65b83d94-f20f-45e1-85ae-387fcf460c26\", \"displayName\": \"Salary\", \"ratePerUnit\": 0, \"numberOfUnits\": 8, \"amount\": 0, \"isLinkedToTimesheet\": false, \"isSystemGenerated\": false } ], \"leaveEarningsLines\": [ { \"earningsLineID\": \"0441497f-5dc7-4cd3-a90d-f2e07e21b2a6\", \"earningsRateID\": \"39b3560a-5d2f-4538-924a-4349dc86396e\", \"displayName\": \"Holiday Pay\", \"fixedAmount\": 268.8, \"amount\": 268.8, \"isLinkedToTimesheet\": false, \"isSystemGenerated\": true } ], \"deductionLines\": [ { \"deductionTypeID\": \"a3760fe4-68a4-4e38-8326-fe616af7dc74\", \"amount\": 100 } ], \"leaveAccrualLines\": [ { \"leaveTypeID\": \"0441497f-5dc7-4cd3-a90d-f2e07e21b2a6\", \"numberOfUnits\": 268.8 }, { \"leaveTypeID\": \"b0b1b79e-2a25-46c2-ad08-ca25ef48d7e4\", \"numberOfUnits\": 0 }, { \"leaveTypeID\": \"f2f994cf-1899-46f3-ad4f-5d92d78c3719\", \"numberOfUnits\": 0 }, { \"leaveTypeID\": \"34129765-11cb-4d8c-b568-84a2219beda3\", \"numberOfUnits\": 0 } ], \"superannuationLines\": [ { \"superannuationTypeID\": \"563273ea-0dae-4f82-86a4-e0db77c008ea\", \"displayName\": \"KiwiSaver\", \"amount\": 108.86, \"fixedAmount\": 3, \"percentage\": 3, \"manualAdjustment\": false } ], \"employeeTaxLines\": [ { \"taxLineID\": \"1084146b-e890-489c-aed3-06de80f63d84\", \"amount\": 1057.22, \"globalTaxTypeID\": \"11\", \"manualAdjustment\": false } ], \"employerTaxLines\": [ { \"taxLineID\": \"6f9eb8cd-0f4a-440b-939c-bdb0f6ad694c\", \"amount\": 18.9, \"globalTaxTypeID\": \"10\", \"manualAdjustment\": false } ], \"statutoryDeductionLines\": [ { \"statutoryDeductionTypeID\": \"b5efd8d1-0c93-4a14-a314-b5cba4a4e6b3\", \"amount\": 108.86 } ], \"grossEarningsHistory\": { \"daysPaid\": 3, \"unpaidWeeks\": 0 } }"
+ "example" : {
+ "earningsLines" : [ {
+ "earningsLineID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "displayName" : "Ordinary Time",
+ "ratePerUnit" : 25,
+ "numberOfUnits" : 0,
+ "amount" : 0,
+ "isLinkedToTimesheet" : false,
+ "isSystemGenerated" : true
+ }, {
+ "earningsLineID" : "65b83d94-f20f-45e1-85ae-387fcf460c26",
+ "earningsRateID" : "65b83d94-f20f-45e1-85ae-387fcf460c26",
+ "displayName" : "Salary",
+ "ratePerUnit" : 0,
+ "numberOfUnits" : 8,
+ "amount" : 0,
+ "isLinkedToTimesheet" : false,
+ "isSystemGenerated" : false
+ } ],
+ "leaveEarningsLines" : [ {
+ "earningsLineID" : "0441497f-5dc7-4cd3-a90d-f2e07e21b2a6",
+ "earningsRateID" : "39b3560a-5d2f-4538-924a-4349dc86396e",
+ "displayName" : "Holiday Pay",
+ "fixedAmount" : 268.8,
+ "amount" : 268.8,
+ "isLinkedToTimesheet" : false,
+ "isSystemGenerated" : true
+ } ],
+ "deductionLines" : [ {
+ "deductionTypeID" : "a3760fe4-68a4-4e38-8326-fe616af7dc74",
+ "amount" : 100
+ } ],
+ "leaveAccrualLines" : [ {
+ "leaveTypeID" : "0441497f-5dc7-4cd3-a90d-f2e07e21b2a6",
+ "numberOfUnits" : 268.8
+ }, {
+ "leaveTypeID" : "b0b1b79e-2a25-46c2-ad08-ca25ef48d7e4",
+ "numberOfUnits" : 0
+ }, {
+ "leaveTypeID" : "f2f994cf-1899-46f3-ad4f-5d92d78c3719",
+ "numberOfUnits" : 0
+ }, {
+ "leaveTypeID" : "34129765-11cb-4d8c-b568-84a2219beda3",
+ "numberOfUnits" : 0
+ } ],
+ "superannuationLines" : [ {
+ "superannuationTypeID" : "563273ea-0dae-4f82-86a4-e0db77c008ea",
+ "displayName" : "KiwiSaver",
+ "amount" : 108.86,
+ "fixedAmount" : 3,
+ "percentage" : 3,
+ "manualAdjustment" : false
+ } ],
+ "employeeTaxLines" : [ {
+ "taxLineID" : "1084146b-e890-489c-aed3-06de80f63d84",
+ "amount" : 1057.22,
+ "globalTaxTypeID" : "11",
+ "manualAdjustment" : false
+ } ],
+ "employerTaxLines" : [ {
+ "taxLineID" : "6f9eb8cd-0f4a-440b-939c-bdb0f6ad694c",
+ "amount" : 18.9,
+ "globalTaxTypeID" : "10",
+ "manualAdjustment" : false
+ } ],
+ "statutoryDeductionLines" : [ {
+ "statutoryDeductionTypeID" : "b5efd8d1-0c93-4a14-a314-b5cba4a4e6b3",
+ "amount" : 108.86
+ } ],
+ "grossEarningsHistory" : {
+ "daysPaid" : 3,
+ "unpaidWeeks" : 0
+ }
+ }
}
},
"required" : true
@@ -15157,7 +15426,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TimesheetLine"
},
- "example" : "{ \"date\": \"2020-08-04\", \"earningsRateID\": \"f9d8f5b5-9049-47f4-8541-35e200f750a5\", \"numberOfUnits\": 2 }"
+ "example" : {
+ "date" : "2020-08-04",
+ "earningsRateID" : "f9d8f5b5-9049-47f4-8541-35e200f750a5",
+ "numberOfUnits" : 2
+ }
}
},
"required" : true
diff --git a/docs/v2/payroll_uk/index.html b/docs/v2/payroll_uk/index.html
index c43b24b9..12c4fdea 100644
--- a/docs/v2/payroll_uk/index.html
+++ b/docs/v2/payroll_uk/index.html
@@ -1514,7 +1514,7 @@
};
defs["Employee"] = {
"title" : "",
- "required" : [ "Address", "DateOfBirth", "FirstName", "Gender", "LastName", "Title" ],
+ "required" : [ "address", "dateOfBirth", "firstName", "gender", "lastName", "title" ],
"type" : "object",
"properties" : {
"employeeID" : {
@@ -2262,7 +2262,7 @@
};
defs["Employment"] = {
"title" : "",
- "required" : [ "EmployeeNumber", "NICategory", "PayrollCalendarID", "StartDate" ],
+ "required" : [ "employeeNumber", "niCategory", "payrollCalendarID", "startDate" ],
"type" : "object",
"properties" : {
"payrollCalendarID" : {
@@ -4028,7 +4028,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Benefit"
},
- "example" : "{ \"name\": \"My Big Bennie\", \"category\": \"StakeholderPension\", \"liabilityAccountId\": \"e0faa299-ca0d-4b0a-9e32-0dfabdf9179a\", \"expenseAccountId\": \"4b03500d-32fd-4616-8d70-e1e56e0519c6\", \"standardAmount\": 50, \"percentage\": 25, \"calculationType\": \"PercentageOfGross\" }"
+ "example" : {
+ "name" : "My Big Bennie",
+ "category" : "StakeholderPension",
+ "liabilityAccountId" : "e0faa299-ca0d-4b0a-9e32-0dfabdf9179a",
+ "expenseAccountId" : "4b03500d-32fd-4616-8d70-e1e56e0519c6",
+ "standardAmount" : 50,
+ "percentage" : 25,
+ "calculationType" : "PercentageOfGross"
+ }
}
},
"required" : true
@@ -4178,7 +4186,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Deduction"
},
- "example" : "{ \"deductionName\": \"My new deduction\", \"deductionCategory\": \"SalarySacrifice\", \"liabilityAccountId\": \"e0faa299-ca0d-4b0a-9e32-0dfabdf9179a\", \"calculationType\": \"FixedAmount\" }"
+ "example" : {
+ "deductionName" : "My new deduction",
+ "deductionCategory" : "SalarySacrifice",
+ "liabilityAccountId" : "e0faa299-ca0d-4b0a-9e32-0dfabdf9179a",
+ "calculationType" : "FixedAmount"
+ }
}
},
"required" : true
@@ -4328,7 +4341,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EarningsRate"
},
- "example" : "{ \"name\": \"My Earnings Rate\", \"earningsType\": \"RegularEarnings\", \"rateType\": \"RatePerUnit\", \"typeOfUnits\": \"hours\", \"expenseAccountID\": \"4b03500d-32fd-4616-8d70-e1e56e0519c6\" }"
+ "example" : {
+ "name" : "My Earnings Rate",
+ "earningsType" : "RegularEarnings",
+ "rateType" : "RatePerUnit",
+ "typeOfUnits" : "hours",
+ "expenseAccountID" : "4b03500d-32fd-4616-8d70-e1e56e0519c6"
+ }
}
},
"required" : true
@@ -4485,7 +4504,20 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Employee"
},
- "example" : "{ \"title\":\"Mr\", \"firstName\":\"Mike\", \"lastName\":\"Fancy\", \"dateOfBirth\":\"1999-01-01T00:00:00\", \"gender\":\"M\", \"email\":\"mike@starkindustries.com\", \"isOffPayrollWorker\": false, \"address\": { \"addressLine1\": \"171 Midsummer\", \"city\": \"Milton Keyness\", \"postCode\": \"MK9 1EB\" } }"
+ "example" : {
+ "title" : "Mr",
+ "firstName" : "Mike",
+ "lastName" : "Fancy",
+ "dateOfBirth" : "1999-01-01T00:00:00",
+ "gender" : "M",
+ "email" : "mike@starkindustries.com",
+ "isOffPayrollWorker" : false,
+ "address" : {
+ "addressLine1" : "171 Midsummer",
+ "city" : "Milton Keyness",
+ "postCode" : "MK9 1EB"
+ }
+ }
}
},
"required" : true
@@ -4857,7 +4889,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeLeave"
},
- "example" : "{ \"leaveTypeID\": \"1d2778ee-86ea-45c0-bbf8-1045485f6b3f\", \"description\": \"Creating a Description\", \"startDate\": \"2020-03-24\", \"endDate\": \"2020-03-26\" }"
+ "example" : {
+ "leaveTypeID" : "1d2778ee-86ea-45c0-bbf8-1045485f6b3f",
+ "description" : "Creating a Description",
+ "startDate" : "2020-03-24",
+ "endDate" : "2020-03-26"
+ }
}
},
"required" : true
@@ -5041,7 +5078,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeLeaveType"
},
- "example" : "{ \"leaveTypeID\": \"4918f233-bd31-43f9-9633-bcc6de1178f2\", \"scheduleOfAccrual\": \"BeginningOfCalendarYear\", \"hoursAccruedAnnually\": 10 }"
+ "example" : {
+ "leaveTypeID" : "4918f233-bd31-43f9-9633-bcc6de1178f2",
+ "scheduleOfAccrual" : "BeginningOfCalendarYear",
+ "hoursAccruedAnnually" : 10
+ }
}
},
"required" : true
@@ -5226,7 +5267,14 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeOpeningBalances"
},
- "example" : "{ \"statutoryAdoptionPay\": 10, \"statutoryMaternityPay\": 10, \"statutoryPaternityPay\": 10, \"statutorySharedParentalPay\": 10, \"statutorySickPay\": 10, \"priorEmployeeNumber\": 10 }"
+ "example" : {
+ "statutoryAdoptionPay" : 10,
+ "statutoryMaternityPay" : 10,
+ "statutoryPaternityPay" : 10,
+ "statutorySharedParentalPay" : 10,
+ "statutorySickPay" : 10,
+ "priorEmployeeNumber" : 10
+ }
}
},
"required" : true
@@ -5414,7 +5462,14 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PaymentMethod"
},
- "example" : "{ \"paymentMethod\": \"Electronically\", \"bankAccounts\": [ { \"accountName\": \"Sid BofA\", \"accountNumber\": \"24987654\", \"sortCode\": \"287654\" } ] }"
+ "example" : {
+ "paymentMethod" : "Electronically",
+ "bankAccounts" : [ {
+ "accountName" : "Sid BofA",
+ "accountNumber" : "24987654",
+ "sortCode" : "287654"
+ } ]
+ }
}
},
"required" : true
@@ -5599,7 +5654,16 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/SalaryAndWage"
},
- "example" : "{ \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnitsPerWeek\": 2, \"ratePerUnit\": 10, \"numberOfUnitsPerDay\": 2, \"effectiveFrom\": \"2020-05-01\", \"annualSalary\": 100, \"status\": \"ACTIVE\", \"paymentType\": \"Salary\" }"
+ "example" : {
+ "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+ "numberOfUnitsPerWeek" : 2,
+ "ratePerUnit" : 10,
+ "numberOfUnitsPerDay" : 2,
+ "effectiveFrom" : "2020-05-01",
+ "annualSalary" : 100,
+ "status" : "ACTIVE",
+ "paymentType" : "Salary"
+ }
}
},
"required" : true
@@ -5751,7 +5815,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeStatutorySickLeave"
},
- "example" : "{ \"employeeID\": \"aad6b292-7b94-408b-93f6-e489867e3fb0\", \"leaveTypeID\": \"aab78802-e9d3-4bbd-bc87-df858054988f\", \"startDate\": \"2020-04-21\", \"endDate\": \"2020-04-24\", \"workPattern\": [ \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\" ], \"isPregnancyRelated\": false, \"sufficientNotice\": true }"
+ "example" : {
+ "employeeID" : "aad6b292-7b94-408b-93f6-e489867e3fb0",
+ "leaveTypeID" : "aab78802-e9d3-4bbd-bc87-df858054988f",
+ "startDate" : "2020-04-21",
+ "endDate" : "2020-04-24",
+ "workPattern" : [ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" ],
+ "isPregnancyRelated" : false,
+ "sufficientNotice" : true
+ }
}
},
"required" : true
@@ -5934,7 +6006,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Employment"
},
- "example" : "{ \"PayrollCalendarID\": \"216d80e6-af55-47b1-b718-9457c3f5d2fe\", \"StartDate\": \"2020-04-01\", \"EmployeeNumber\": \"123ABC\", \"NICategory\": \"A\" }"
+ "example" : {
+ "PayrollCalendarID" : "216d80e6-af55-47b1-b718-9457c3f5d2fe",
+ "StartDate" : "2020-04-01",
+ "EmployeeNumber" : "123ABC",
+ "NICategory" : "A"
+ }
}
},
"required" : true
@@ -6083,7 +6160,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/LeaveType"
},
- "example" : "{ \"name\": \"My opebvwbfxf Leave\", \"isPaidLeave\": false, \"showOnPayslip\": true }"
+ "example" : {
+ "name" : "My opebvwbfxf Leave",
+ "isPaidLeave" : false,
+ "showOnPayslip" : true
+ }
}
},
"required" : true
@@ -6422,7 +6503,12 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PayRunCalendar"
},
- "example" : "{ \"name\": \"My Weekly Cal\", \"calendarType\": \"Weekly\", \"periodStartDate\": \"2020-05-01\", \"paymentDate\": \"2020-05-15\" }"
+ "example" : {
+ "name" : "My Weekly Cal",
+ "calendarType" : "Weekly",
+ "periodStartDate" : "2020-05-01",
+ "paymentDate" : "2020-05-15"
+ }
}
},
"required" : true
@@ -6570,7 +6656,10 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Reimbursement"
},
- "example" : "{ \"name\": \"My new Reimburse\", \"accountID\": \"9ee28149-32a9-4661-8eab-a28738696983\" }"
+ "example" : {
+ "name" : "My new Reimburse",
+ "accountID" : "9ee28149-32a9-4661-8eab-a28738696983"
+ }
}
},
"required" : true
@@ -6722,7 +6811,21 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Timesheet"
},
- "example" : "{ \"payrollCalendarID\": \"216d80e6-af55-47b1-b718-9457c3f5d2fe\", \"employeeID\": \"aad6b292-7b94-408b-93f6-e489867e3fb0\", \"startDate\": \"2020-04-13\", \"endDate\": \"2020-04-19\", \"timesheetLines\": [ { \"date\": \"2020-04-13\", \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnits\": 8 }, { \"date\": \"2020-04-15\", \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnits\": 6 } ] }"
+ "example" : {
+ "payrollCalendarID" : "216d80e6-af55-47b1-b718-9457c3f5d2fe",
+ "employeeID" : "aad6b292-7b94-408b-93f6-e489867e3fb0",
+ "startDate" : "2020-04-13",
+ "endDate" : "2020-04-19",
+ "timesheetLines" : [ {
+ "date" : "2020-04-13",
+ "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+ "numberOfUnits" : 8
+ }, {
+ "date" : "2020-04-15",
+ "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+ "numberOfUnits" : 6
+ } ]
+ }
}
},
"required" : true
@@ -6908,7 +7011,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TimesheetLine"
},
- "example" : "{ \"date\": \"2020-04-14\", \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnits\": 1 }"
+ "example" : {
+ "date" : "2020-04-14",
+ "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+ "numberOfUnits" : 1
+ }
}
},
"required" : true
@@ -13020,7 +13127,21 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/Employee"
},
- "example" : "{ \"title\": \"Mr.\", \"firstName\": \"TestDataUK\", \"lastName\": \"Tester\", \"dateOfBirth\": \"1992-11-22T00:00:00\", \"gender\": \"M\", \"email\": \"tester@gmail.com\", \"phoneNumber\": \"0400123456\", \"isOffPayrollWorker\": false, \"address\": { \"addressLine1\": \"171 Midsummer\", \"city\": \"Milton Keyness\", \"postCode\": \"MK9 1EB\" } }"
+ "example" : {
+ "title" : "Mr.",
+ "firstName" : "TestDataUK",
+ "lastName" : "Tester",
+ "dateOfBirth" : "1992-11-22T00:00:00",
+ "gender" : "M",
+ "email" : "tester@gmail.com",
+ "phoneNumber" : "0400123456",
+ "isOffPayrollWorker" : false,
+ "address" : {
+ "addressLine1" : "171 Midsummer",
+ "city" : "Milton Keyness",
+ "postCode" : "MK9 1EB"
+ }
+ }
}
},
"required" : true
@@ -13235,7 +13356,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EarningsTemplate"
},
- "example" : "{ \"ratePerUnit\": 30, \"numberOfUnits\": 4, \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\" }"
+ "example" : {
+ "ratePerUnit" : 30,
+ "numberOfUnits" : 4,
+ "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27"
+ }
}
},
"required" : true
@@ -13447,7 +13572,18 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeLeave"
},
- "example" : "{ \"leaveTypeID\": \"ed08dffe-788e-4b24-9630-f0fa2f4d164c\", \"description\": \"Creating a Description\", \"startDate\": \"2020-04-24\", \"endDate\": \"2020-04-26\", \"periods\": [ { \"periodStartDate\": \"2020-04-20\", \"periodEndDate\": \"2020-04-26\", \"numberOfUnits\": 1, \"periodStatus\": \"Approved\" } ] }"
+ "example" : {
+ "leaveTypeID" : "ed08dffe-788e-4b24-9630-f0fa2f4d164c",
+ "description" : "Creating a Description",
+ "startDate" : "2020-04-24",
+ "endDate" : "2020-04-26",
+ "periods" : [ {
+ "periodStartDate" : "2020-04-20",
+ "periodEndDate" : "2020-04-26",
+ "numberOfUnits" : 1,
+ "periodStatus" : "Approved"
+ } ]
+ }
}
},
"required" : true
@@ -13632,7 +13768,14 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/EmployeeOpeningBalances"
},
- "example" : "{ \"statutoryAdoptionPay\": 20, \"statutoryMaternityPay\": 20, \"statutoryPaternityPay\": 20, \"statutorySharedParentalPay\": 20, \"statutorySickPay\": 20, \"priorEmployeeNumber\": 20 }"
+ "example" : {
+ "statutoryAdoptionPay" : 20,
+ "statutoryMaternityPay" : 20,
+ "statutoryPaternityPay" : 20,
+ "statutorySharedParentalPay" : 20,
+ "statutorySickPay" : 20,
+ "priorEmployeeNumber" : 20
+ }
}
},
"required" : true
@@ -13844,7 +13987,15 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/SalaryAndWage"
},
- "example" : "{ \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnitsPerWeek\": 3, \"ratePerUnit\": 11, \"effectiveFrom\": \"2020-05-15\", \"annualSalary\": 101, \"status\": \"ACTIVE\", \"paymentType\": \"Salary\" }"
+ "example" : {
+ "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+ "numberOfUnitsPerWeek" : 3,
+ "ratePerUnit" : 11,
+ "effectiveFrom" : "2020-05-15",
+ "annualSalary" : 101,
+ "status" : "ACTIVE",
+ "paymentType" : "Salary"
+ }
}
},
"required" : true
@@ -14029,7 +14180,9 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/PayRun"
},
- "example" : "{ \"paymentDate\": \"2020-05-01\" }"
+ "example" : {
+ "paymentDate" : "2020-05-01"
+ }
}
},
"required" : true
@@ -14242,7 +14395,11 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TimesheetLine"
},
- "example" : "{ \"date\": \"2020-04-14\", \"earningsRateID\": \"87f5b43a-cf51-4b74-92de-94c819e82d27\", \"numberOfUnits\": 2 }"
+ "example" : {
+ "date" : "2020-04-14",
+ "earningsRateID" : "87f5b43a-cf51-4b74-92de-94c819e82d27",
+ "numberOfUnits" : 2
+ }
}
},
"required" : true
diff --git a/docs/v2/projects/index.html b/docs/v2/projects/index.html
index a12e06fd..fdcaad20 100644
--- a/docs/v2/projects/index.html
+++ b/docs/v2/projects/index.html
@@ -2022,7 +2022,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TimeEntryCreateOrUpdate"
},
- "example" : "{ \"userId\": \"00000000-0000-0000-0000-000000000000\", \"taskId\": \"00000000-0000-0000-0000-000000000000\", \"dateUtc\": \"2020-02-26T15:00:00Z\", \"duration\":30, \"description\": \"My description\" }"
+ "example" : {
+ "userId" : "00000000-0000-0000-0000-000000000000",
+ "taskId" : "00000000-0000-0000-0000-000000000000",
+ "dateUtc" : "2020-02-26T15:00:00Z",
+ "duration" : 30,
+ "description" : "My description"
+ }
}
},
"required" : true
@@ -4448,7 +4454,13 @@ Parameters
"schema" : {
"$ref" : "#/components/schemas/TimeEntryCreateOrUpdate"
},
- "example" : "{ \"userId\": \"00000000-0000-0000-0000-000000000000\", \"taskId\": \"00000000-0000-0000-0000-000000000000\", \"dateUtc\": \"2020-02-27T15:00:00Z\", \"duration\":45, \"description\": \"My UPDATED description\" }"
+ "example" : {
+ "userId" : "00000000-0000-0000-0000-000000000000",
+ "taskId" : "00000000-0000-0000-0000-000000000000",
+ "dateUtc" : "2020-02-27T15:00:00Z",
+ "duration" : 45,
+ "description" : "My UPDATED description"
+ }
}
},
"required" : true
diff --git a/lib/Models/Accounting/Account.php b/lib/Models/Accounting/Account.php
index d23f8da4..9979e089 100644
--- a/lib/Models/Accounting/Account.php
+++ b/lib/Models/Accounting/Account.php
@@ -257,16 +257,19 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_ARCHIVED = 'ARCHIVED';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const BANK_ACCOUNT_TYPE_BANK = 'BANK';
const BANK_ACCOUNT_TYPE_CREDITCARD = 'CREDITCARD';
const BANK_ACCOUNT_TYPE_PAYPAL = 'PAYPAL';
const BANK_ACCOUNT_TYPE_NONE = 'NONE';
const BANK_ACCOUNT_TYPE_EMPTY = '';
+ const BANK_ACCOUNT_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const MODEL_CLASS_ASSET = 'ASSET';
const MODEL_CLASS_EQUITY = 'EQUITY';
const MODEL_CLASS_EXPENSE = 'EXPENSE';
const MODEL_CLASS_LIABILITY = 'LIABILITY';
const MODEL_CLASS_REVENUE = 'REVENUE';
+ const MODEL_CLASS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const SYSTEM_ACCOUNT_DEBTORS = 'DEBTORS';
const SYSTEM_ACCOUNT_CREDITORS = 'CREDITORS';
const SYSTEM_ACCOUNT_BANKCURRENCYGAIN = 'BANKCURRENCYGAIN';
@@ -288,6 +291,7 @@ public function getModelName()
const SYSTEM_ACCOUNT_CISLIABILITY = 'CISLIABILITY';
const SYSTEM_ACCOUNT_CISMATERIALS = 'CISMATERIALS';
const SYSTEM_ACCOUNT_EMPTY = '';
+ const SYSTEM_ACCOUNT_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -302,6 +306,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_ARCHIVED,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -318,6 +323,7 @@ public function getBankAccountTypeAllowableValues()
self::BANK_ACCOUNT_TYPE_PAYPAL,
self::BANK_ACCOUNT_TYPE_NONE,
self::BANK_ACCOUNT_TYPE_EMPTY,
+ self::BANK_ACCOUNT_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -334,6 +340,7 @@ public function getClassAllowableValues()
self::MODEL_CLASS_EXPENSE,
self::MODEL_CLASS_LIABILITY,
self::MODEL_CLASS_REVENUE,
+ self::MODEL_CLASS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -366,6 +373,7 @@ public function getSystemAccountAllowableValues()
self::SYSTEM_ACCOUNT_CISLIABILITY,
self::SYSTEM_ACCOUNT_CISMATERIALS,
self::SYSTEM_ACCOUNT_EMPTY,
+ self::SYSTEM_ACCOUNT_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/AccountType.php b/lib/Models/Accounting/AccountType.php
index 6bfd1530..12377c86 100644
--- a/lib/Models/Accounting/AccountType.php
+++ b/lib/Models/Accounting/AccountType.php
@@ -63,6 +63,7 @@ class AccountType
const SALES = 'SALES';
const TERMLIAB = 'TERMLIAB';
const PAYG = 'PAYG';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -89,6 +90,7 @@ public static function getAllowableEnumValues()
self::SALES,
self::TERMLIAB,
self::PAYG,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/Action.php b/lib/Models/Accounting/Action.php
index 16e15ce0..6e529428 100644
--- a/lib/Models/Accounting/Action.php
+++ b/lib/Models/Accounting/Action.php
@@ -166,6 +166,7 @@ public function getModelName()
const STATUS_ALLOWED = 'ALLOWED';
const STATUS_NOT_ALLOWED = 'NOT-ALLOWED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -179,6 +180,7 @@ public function getStatusAllowableValues()
return [
self::STATUS_ALLOWED,
self::STATUS_NOT_ALLOWED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Address.php b/lib/Models/Accounting/Address.php
index d060c3ca..89a0e521 100644
--- a/lib/Models/Accounting/Address.php
+++ b/lib/Models/Accounting/Address.php
@@ -206,6 +206,7 @@ public function getModelName()
const ADDRESS_TYPE_POBOX = 'POBOX';
const ADDRESS_TYPE_STREET = 'STREET';
+ const ADDRESS_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -219,6 +220,7 @@ public function getAddressTypeAllowableValues()
return [
self::ADDRESS_TYPE_POBOX,
self::ADDRESS_TYPE_STREET,
+ self::ADDRESS_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/AddressForOrganisation.php b/lib/Models/Accounting/AddressForOrganisation.php
index d30f804a..3b633738 100644
--- a/lib/Models/Accounting/AddressForOrganisation.php
+++ b/lib/Models/Accounting/AddressForOrganisation.php
@@ -207,6 +207,7 @@ public function getModelName()
const ADDRESS_TYPE_POBOX = 'POBOX';
const ADDRESS_TYPE_STREET = 'STREET';
const ADDRESS_TYPE_DELIVERY = 'DELIVERY';
+ const ADDRESS_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -221,6 +222,7 @@ public function getAddressTypeAllowableValues()
self::ADDRESS_TYPE_POBOX,
self::ADDRESS_TYPE_STREET,
self::ADDRESS_TYPE_DELIVERY,
+ self::ADDRESS_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/BankTransaction.php b/lib/Models/Accounting/BankTransaction.php
index 65219cd9..287f75d6 100644
--- a/lib/Models/Accounting/BankTransaction.php
+++ b/lib/Models/Accounting/BankTransaction.php
@@ -272,9 +272,11 @@ public function getModelName()
const TYPE_SPEND_PREPAYMENT = 'SPEND-PREPAYMENT';
const TYPE_RECEIVE_TRANSFER = 'RECEIVE-TRANSFER';
const TYPE_SPEND_TRANSFER = 'SPEND-TRANSFER';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_DELETED = 'DELETED';
const STATUS_VOIDED = 'VOIDED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -294,6 +296,7 @@ public function getTypeAllowableValues()
self::TYPE_SPEND_PREPAYMENT,
self::TYPE_RECEIVE_TRANSFER,
self::TYPE_SPEND_TRANSFER,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -308,6 +311,7 @@ public function getStatusAllowableValues()
self::STATUS_AUTHORISED,
self::STATUS_DELETED,
self::STATUS_VOIDED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/BatchPayment.php b/lib/Models/Accounting/BatchPayment.php
index 6c59bf43..0aa9ab85 100644
--- a/lib/Models/Accounting/BatchPayment.php
+++ b/lib/Models/Accounting/BatchPayment.php
@@ -241,8 +241,10 @@ public function getModelName()
const TYPE_PAYBATCH = 'PAYBATCH';
const TYPE_RECBATCH = 'RECBATCH';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -256,6 +258,7 @@ public function getTypeAllowableValues()
return [
self::TYPE_PAYBATCH,
self::TYPE_RECBATCH,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -269,6 +272,7 @@ public function getStatusAllowableValues()
return [
self::STATUS_AUTHORISED,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/BrandingTheme.php b/lib/Models/Accounting/BrandingTheme.php
index 609b6860..cfb03525 100644
--- a/lib/Models/Accounting/BrandingTheme.php
+++ b/lib/Models/Accounting/BrandingTheme.php
@@ -185,6 +185,7 @@ public function getModelName()
}
const TYPE_INVOICE = 'INVOICE';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -197,6 +198,7 @@ public function getTypeAllowableValues()
{
return [
self::TYPE_INVOICE,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Budget.php b/lib/Models/Accounting/Budget.php
index 125ba438..631fcf0e 100644
--- a/lib/Models/Accounting/Budget.php
+++ b/lib/Models/Accounting/Budget.php
@@ -186,6 +186,7 @@ public function getModelName()
const TYPE_OVERALL = 'OVERALL';
const TYPE_TRACKING = 'TRACKING';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -199,6 +200,7 @@ public function getTypeAllowableValues()
return [
self::TYPE_OVERALL,
self::TYPE_TRACKING,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Contact.php b/lib/Models/Accounting/Contact.php
index 90f40974..47ddfad3 100644
--- a/lib/Models/Accounting/Contact.php
+++ b/lib/Models/Accounting/Contact.php
@@ -367,12 +367,15 @@ public function getModelName()
const CONTACT_STATUS_ACTIVE = 'ACTIVE';
const CONTACT_STATUS_ARCHIVED = 'ARCHIVED';
const CONTACT_STATUS_GDPRREQUEST = 'GDPRREQUEST';
+ const CONTACT_STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const SALES_DEFAULT_LINE_AMOUNT_TYPE_INCLUSIVE = 'INCLUSIVE';
const SALES_DEFAULT_LINE_AMOUNT_TYPE_EXCLUSIVE = 'EXCLUSIVE';
const SALES_DEFAULT_LINE_AMOUNT_TYPE_NONE = 'NONE';
+ const SALES_DEFAULT_LINE_AMOUNT_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const PURCHASES_DEFAULT_LINE_AMOUNT_TYPE_INCLUSIVE = 'INCLUSIVE';
const PURCHASES_DEFAULT_LINE_AMOUNT_TYPE_EXCLUSIVE = 'EXCLUSIVE';
const PURCHASES_DEFAULT_LINE_AMOUNT_TYPE_NONE = 'NONE';
+ const PURCHASES_DEFAULT_LINE_AMOUNT_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -387,6 +390,7 @@ public function getContactStatusAllowableValues()
self::CONTACT_STATUS_ACTIVE,
self::CONTACT_STATUS_ARCHIVED,
self::CONTACT_STATUS_GDPRREQUEST,
+ self::CONTACT_STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -401,6 +405,7 @@ public function getSalesDefaultLineAmountTypeAllowableValues()
self::SALES_DEFAULT_LINE_AMOUNT_TYPE_INCLUSIVE,
self::SALES_DEFAULT_LINE_AMOUNT_TYPE_EXCLUSIVE,
self::SALES_DEFAULT_LINE_AMOUNT_TYPE_NONE,
+ self::SALES_DEFAULT_LINE_AMOUNT_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -415,6 +420,7 @@ public function getPurchasesDefaultLineAmountTypeAllowableValues()
self::PURCHASES_DEFAULT_LINE_AMOUNT_TYPE_INCLUSIVE,
self::PURCHASES_DEFAULT_LINE_AMOUNT_TYPE_EXCLUSIVE,
self::PURCHASES_DEFAULT_LINE_AMOUNT_TYPE_NONE,
+ self::PURCHASES_DEFAULT_LINE_AMOUNT_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/ContactGroup.php b/lib/Models/Accounting/ContactGroup.php
index 84f5fd32..82864ea0 100644
--- a/lib/Models/Accounting/ContactGroup.php
+++ b/lib/Models/Accounting/ContactGroup.php
@@ -176,6 +176,7 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -189,6 +190,7 @@ public function getStatusAllowableValues()
return [
self::STATUS_ACTIVE,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/CountryCode.php b/lib/Models/Accounting/CountryCode.php
index 89446d2e..394c49d8 100644
--- a/lib/Models/Accounting/CountryCode.php
+++ b/lib/Models/Accounting/CountryCode.php
@@ -284,6 +284,7 @@ class CountryCode
const ZA = 'ZA';
const ZM = 'ZM';
const ZW = 'ZW';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -532,6 +533,7 @@ public static function getAllowableEnumValues()
self::ZA,
self::ZM,
self::ZW,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/CreditNote.php b/lib/Models/Accounting/CreditNote.php
index a0c77244..de7051b7 100644
--- a/lib/Models/Accounting/CreditNote.php
+++ b/lib/Models/Accounting/CreditNote.php
@@ -311,12 +311,14 @@ public function getModelName()
const TYPE_ACCPAYCREDIT = 'ACCPAYCREDIT';
const TYPE_ACCRECCREDIT = 'ACCRECCREDIT';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_DRAFT = 'DRAFT';
const STATUS_SUBMITTED = 'SUBMITTED';
const STATUS_DELETED = 'DELETED';
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_PAID = 'PAID';
const STATUS_VOIDED = 'VOIDED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -330,6 +332,7 @@ public function getTypeAllowableValues()
return [
self::TYPE_ACCPAYCREDIT,
self::TYPE_ACCRECCREDIT,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -347,6 +350,7 @@ public function getStatusAllowableValues()
self::STATUS_AUTHORISED,
self::STATUS_PAID,
self::STATUS_VOIDED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/CurrencyCode.php b/lib/Models/Accounting/CurrencyCode.php
index 488b11e9..16b73c10 100644
--- a/lib/Models/Accounting/CurrencyCode.php
+++ b/lib/Models/Accounting/CurrencyCode.php
@@ -213,6 +213,7 @@ class CurrencyCode
const ZMW = 'ZMW';
const ZMK = 'ZMK';
const ZWD = 'ZWD';
+ const EMPTY_CURRENCY = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -389,6 +390,7 @@ public static function getAllowableEnumValues()
self::ZMW,
self::ZMK,
self::ZWD,
+ self::EMPTY_CURRENCY,
];
}
}
diff --git a/lib/Models/Accounting/Employee.php b/lib/Models/Accounting/Employee.php
index ae2c3045..c4362f67 100644
--- a/lib/Models/Accounting/Employee.php
+++ b/lib/Models/Accounting/Employee.php
@@ -198,6 +198,7 @@ public function getModelName()
const STATUS_ARCHIVED = 'ARCHIVED';
const STATUS_GDPRREQUEST = 'GDPRREQUEST';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -213,6 +214,7 @@ public function getStatusAllowableValues()
self::STATUS_ARCHIVED,
self::STATUS_GDPRREQUEST,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/ExpenseClaim.php b/lib/Models/Accounting/ExpenseClaim.php
index 3482d852..6fed3cc1 100644
--- a/lib/Models/Accounting/ExpenseClaim.php
+++ b/lib/Models/Accounting/ExpenseClaim.php
@@ -219,6 +219,7 @@ public function getModelName()
const STATUS_PAID = 'PAID';
const STATUS_VOIDED = 'VOIDED';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -235,6 +236,7 @@ public function getStatusAllowableValues()
self::STATUS_PAID,
self::STATUS_VOIDED,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/ExternalLink.php b/lib/Models/Accounting/ExternalLink.php
index 02dd7578..e41ce882 100644
--- a/lib/Models/Accounting/ExternalLink.php
+++ b/lib/Models/Accounting/ExternalLink.php
@@ -174,6 +174,7 @@ public function getModelName()
const LINK_TYPE_LINKED_IN = 'LinkedIn';
const LINK_TYPE_TWITTER = 'Twitter';
const LINK_TYPE_WEBSITE = 'Website';
+ const LINK_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -190,6 +191,7 @@ public function getLinkTypeAllowableValues()
self::LINK_TYPE_LINKED_IN,
self::LINK_TYPE_TWITTER,
self::LINK_TYPE_WEBSITE,
+ self::LINK_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Invoice.php b/lib/Models/Accounting/Invoice.php
index 33f0a64b..40c4d3ea 100644
--- a/lib/Models/Accounting/Invoice.php
+++ b/lib/Models/Accounting/Invoice.php
@@ -367,12 +367,14 @@ public function getModelName()
const TYPE_ACCRECCREDIT = 'ACCRECCREDIT';
const TYPE_AROVERPAYMENT = 'AROVERPAYMENT';
const TYPE_ARPREPAYMENT = 'ARPREPAYMENT';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_DRAFT = 'DRAFT';
const STATUS_SUBMITTED = 'SUBMITTED';
const STATUS_DELETED = 'DELETED';
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_PAID = 'PAID';
const STATUS_VOIDED = 'VOIDED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -392,6 +394,7 @@ public function getTypeAllowableValues()
self::TYPE_ACCRECCREDIT,
self::TYPE_AROVERPAYMENT,
self::TYPE_ARPREPAYMENT,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -409,6 +412,7 @@ public function getStatusAllowableValues()
self::STATUS_AUTHORISED,
self::STATUS_PAID,
self::STATUS_VOIDED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/InvoiceAddress.php b/lib/Models/Accounting/InvoiceAddress.php
index c9bf7860..592f2904 100644
--- a/lib/Models/Accounting/InvoiceAddress.php
+++ b/lib/Models/Accounting/InvoiceAddress.php
@@ -201,6 +201,7 @@ public function getModelName()
const INVOICE_ADDRESS_TYPE_FROM = 'FROM';
const INVOICE_ADDRESS_TYPE_TO = 'TO';
+ const INVOICE_ADDRESS_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -214,6 +215,7 @@ public function getInvoiceAddressTypeAllowableValues()
return [
self::INVOICE_ADDRESS_TYPE_FROM,
self::INVOICE_ADDRESS_TYPE_TO,
+ self::INVOICE_ADDRESS_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Journal.php b/lib/Models/Accounting/Journal.php
index 5fffab6c..68a75529 100644
--- a/lib/Models/Accounting/Journal.php
+++ b/lib/Models/Accounting/Journal.php
@@ -219,6 +219,7 @@ public function getModelName()
const SOURCE_TYPE_EXTERNALSPENDMONEY = 'EXTERNALSPENDMONEY';
const SOURCE_TYPE_INTEGRATEDPAYROLLPTPAYMENT = 'INTEGRATEDPAYROLLPTPAYMENT';
const SOURCE_TYPE_INTEGRATEDPAYROLLCN = 'INTEGRATEDPAYROLLCN';
+ const SOURCE_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -255,6 +256,7 @@ public function getSourceTypeAllowableValues()
self::SOURCE_TYPE_EXTERNALSPENDMONEY,
self::SOURCE_TYPE_INTEGRATEDPAYROLLPTPAYMENT,
self::SOURCE_TYPE_INTEGRATEDPAYROLLCN,
+ self::SOURCE_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/LineAmountTypes.php b/lib/Models/Accounting/LineAmountTypes.php
index 6cabc67c..b060cc9c 100644
--- a/lib/Models/Accounting/LineAmountTypes.php
+++ b/lib/Models/Accounting/LineAmountTypes.php
@@ -48,6 +48,7 @@ class LineAmountTypes
const EXCLUSIVE = 'Exclusive';
const INCLUSIVE = 'Inclusive';
const NO_TAX = 'NoTax';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -59,6 +60,7 @@ public static function getAllowableEnumValues()
self::EXCLUSIVE,
self::INCLUSIVE,
self::NO_TAX,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/LineItem.php b/lib/Models/Accounting/LineItem.php
index 47495410..b64ca4c8 100644
--- a/lib/Models/Accounting/LineItem.php
+++ b/lib/Models/Accounting/LineItem.php
@@ -249,6 +249,7 @@ public function getModelName()
const TAXABILITY_EXEMPT = 'EXEMPT';
const TAXABILITY_PART_TAXABLE = 'PART_TAXABLE';
const TAXABILITY_NOT_APPLICABLE = 'NOT_APPLICABLE';
+ const TAXABILITY_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -265,6 +266,7 @@ public function getTaxabilityAllowableValues()
self::TAXABILITY_EXEMPT,
self::TAXABILITY_PART_TAXABLE,
self::TAXABILITY_NOT_APPLICABLE,
+ self::TAXABILITY_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/LinkedTransaction.php b/lib/Models/Accounting/LinkedTransaction.php
index 30c499fc..8959f5b5 100644
--- a/lib/Models/Accounting/LinkedTransaction.php
+++ b/lib/Models/Accounting/LinkedTransaction.php
@@ -214,9 +214,12 @@ public function getModelName()
const STATUS_ONDRAFT = 'ONDRAFT';
const STATUS_BILLED = 'BILLED';
const STATUS_VOIDED = 'VOIDED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const TYPE_BILLABLEEXPENSE = 'BILLABLEEXPENSE';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const SOURCE_TRANSACTION_TYPE_CODE_ACCPAY = 'ACCPAY';
const SOURCE_TRANSACTION_TYPE_CODE_SPEND = 'SPEND';
+ const SOURCE_TRANSACTION_TYPE_CODE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -233,6 +236,7 @@ public function getStatusAllowableValues()
self::STATUS_ONDRAFT,
self::STATUS_BILLED,
self::STATUS_VOIDED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -245,6 +249,7 @@ public function getTypeAllowableValues()
{
return [
self::TYPE_BILLABLEEXPENSE,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -258,6 +263,7 @@ public function getSourceTransactionTypeCodeAllowableValues()
return [
self::SOURCE_TRANSACTION_TYPE_CODE_ACCPAY,
self::SOURCE_TRANSACTION_TYPE_CODE_SPEND,
+ self::SOURCE_TRANSACTION_TYPE_CODE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/ManualJournal.php b/lib/Models/Accounting/ManualJournal.php
index 145130c6..6d096757 100644
--- a/lib/Models/Accounting/ManualJournal.php
+++ b/lib/Models/Accounting/ManualJournal.php
@@ -229,6 +229,7 @@ public function getModelName()
const STATUS_DELETED = 'DELETED';
const STATUS_VOIDED = 'VOIDED';
const STATUS_ARCHIVED = 'ARCHIVED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -245,6 +246,7 @@ public function getStatusAllowableValues()
self::STATUS_DELETED,
self::STATUS_VOIDED,
self::STATUS_ARCHIVED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Organisation.php b/lib/Models/Accounting/Organisation.php
index 6f822073..00ea82ed 100644
--- a/lib/Models/Accounting/Organisation.php
+++ b/lib/Models/Accounting/Organisation.php
@@ -329,6 +329,7 @@ public function getModelName()
const VERSION_GLOBALONRAMP = 'GLOBALONRAMP';
const VERSION_UKONRAMP = 'UKONRAMP';
const VERSION_USONRAMP = 'USONRAMP';
+ const VERSION_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const ORGANISATION_TYPE_ACCOUNTING_PRACTICE = 'ACCOUNTING_PRACTICE';
const ORGANISATION_TYPE_COMPANY = 'COMPANY';
const ORGANISATION_TYPE_CHARITY = 'CHARITY';
@@ -342,6 +343,7 @@ public function getModelName()
const ORGANISATION_TYPE_SOLE_TRADER = 'SOLE_TRADER';
const ORGANISATION_TYPE_SUPERANNUATION_FUND = 'SUPERANNUATION_FUND';
const ORGANISATION_TYPE_TRUST = 'TRUST';
+ const ORGANISATION_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const SALES_TAX_BASIS_PAYMENTS = 'PAYMENTS';
const SALES_TAX_BASIS_INVOICE = 'INVOICE';
const SALES_TAX_BASIS_NONE = 'NONE';
@@ -350,6 +352,7 @@ public function getModelName()
const SALES_TAX_BASIS_FLATRATECASH = 'FLATRATECASH';
const SALES_TAX_BASIS_FLATRATEACCRUAL = 'FLATRATEACCRUAL';
const SALES_TAX_BASIS_ACCRUALS = 'ACCRUALS';
+ const SALES_TAX_BASIS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const SALES_TAX_PERIOD_MONTHLY = 'MONTHLY';
const SALES_TAX_PERIOD_QUARTERLY1 = 'QUARTERLY1';
const SALES_TAX_PERIOD_QUARTERLY2 = 'QUARTERLY2';
@@ -365,6 +368,7 @@ public function getModelName()
const SALES_TAX_PERIOD_QUARTERLY = 'QUARTERLY';
const SALES_TAX_PERIOD_YEARLY = 'YEARLY';
const SALES_TAX_PERIOD_NONE = 'NONE';
+ const SALES_TAX_PERIOD_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const ORGANISATION_ENTITY_TYPE_ACCOUNTING_PRACTICE = 'ACCOUNTING_PRACTICE';
const ORGANISATION_ENTITY_TYPE_COMPANY = 'COMPANY';
const ORGANISATION_ENTITY_TYPE_CHARITY = 'CHARITY';
@@ -378,6 +382,7 @@ public function getModelName()
const ORGANISATION_ENTITY_TYPE_SOLE_TRADER = 'SOLE_TRADER';
const ORGANISATION_ENTITY_TYPE_SUPERANNUATION_FUND = 'SUPERANNUATION_FUND';
const ORGANISATION_ENTITY_TYPE_TRUST = 'TRUST';
+ const ORGANISATION_ENTITY_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const MODEL_CLASS_DEMO = 'DEMO';
const MODEL_CLASS_TRIAL = 'TRIAL';
const MODEL_CLASS_STARTER = 'STARTER';
@@ -398,8 +403,10 @@ public function getModelName()
const MODEL_CLASS_IGNITE = 'IGNITE';
const MODEL_CLASS_GROW = 'GROW';
const MODEL_CLASS_COMPREHENSIVE = 'COMPREHENSIVE';
+ const MODEL_CLASS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const EDITION_BUSINESS = 'BUSINESS';
const EDITION_PARTNER = 'PARTNER';
+ const EDITION_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -421,6 +428,7 @@ public function getVersionAllowableValues()
self::VERSION_GLOBALONRAMP,
self::VERSION_UKONRAMP,
self::VERSION_USONRAMP,
+ self::VERSION_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -445,6 +453,7 @@ public function getOrganisationTypeAllowableValues()
self::ORGANISATION_TYPE_SOLE_TRADER,
self::ORGANISATION_TYPE_SUPERANNUATION_FUND,
self::ORGANISATION_TYPE_TRUST,
+ self::ORGANISATION_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -464,6 +473,7 @@ public function getSalesTaxBasisAllowableValues()
self::SALES_TAX_BASIS_FLATRATECASH,
self::SALES_TAX_BASIS_FLATRATEACCRUAL,
self::SALES_TAX_BASIS_ACCRUALS,
+ self::SALES_TAX_BASIS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -490,6 +500,7 @@ public function getSalesTaxPeriodAllowableValues()
self::SALES_TAX_PERIOD_QUARTERLY,
self::SALES_TAX_PERIOD_YEARLY,
self::SALES_TAX_PERIOD_NONE,
+ self::SALES_TAX_PERIOD_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -514,6 +525,7 @@ public function getOrganisationEntityTypeAllowableValues()
self::ORGANISATION_ENTITY_TYPE_SOLE_TRADER,
self::ORGANISATION_ENTITY_TYPE_SUPERANNUATION_FUND,
self::ORGANISATION_ENTITY_TYPE_TRUST,
+ self::ORGANISATION_ENTITY_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -545,6 +557,7 @@ public function getClassAllowableValues()
self::MODEL_CLASS_IGNITE,
self::MODEL_CLASS_GROW,
self::MODEL_CLASS_COMPREHENSIVE,
+ self::MODEL_CLASS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -558,6 +571,7 @@ public function getEditionAllowableValues()
return [
self::EDITION_BUSINESS,
self::EDITION_PARTNER,
+ self::EDITION_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Overpayment.php b/lib/Models/Accounting/Overpayment.php
index b50a9deb..5b4f6cc6 100644
--- a/lib/Models/Accounting/Overpayment.php
+++ b/lib/Models/Accounting/Overpayment.php
@@ -252,9 +252,11 @@ public function getModelName()
const TYPE_RECEIVE_OVERPAYMENT = 'RECEIVE-OVERPAYMENT';
const TYPE_SPEND_OVERPAYMENT = 'SPEND-OVERPAYMENT';
const TYPE_AROVERPAYMENT = 'AROVERPAYMENT';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_PAID = 'PAID';
const STATUS_VOIDED = 'VOIDED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -269,6 +271,7 @@ public function getTypeAllowableValues()
self::TYPE_RECEIVE_OVERPAYMENT,
self::TYPE_SPEND_OVERPAYMENT,
self::TYPE_AROVERPAYMENT,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -283,6 +286,7 @@ public function getStatusAllowableValues()
self::STATUS_AUTHORISED,
self::STATUS_PAID,
self::STATUS_VOIDED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Payment.php b/lib/Models/Accounting/Payment.php
index 59e8815a..2b2d6963 100644
--- a/lib/Models/Accounting/Payment.php
+++ b/lib/Models/Accounting/Payment.php
@@ -296,6 +296,7 @@ public function getModelName()
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const PAYMENT_TYPE_ACCRECPAYMENT = 'ACCRECPAYMENT';
const PAYMENT_TYPE_ACCPAYPAYMENT = 'ACCPAYPAYMENT';
const PAYMENT_TYPE_ARCREDITPAYMENT = 'ARCREDITPAYMENT';
@@ -304,6 +305,7 @@ public function getModelName()
const PAYMENT_TYPE_ARPREPAYMENTPAYMENT = 'ARPREPAYMENTPAYMENT';
const PAYMENT_TYPE_APPREPAYMENTPAYMENT = 'APPREPAYMENTPAYMENT';
const PAYMENT_TYPE_APOVERPAYMENTPAYMENT = 'APOVERPAYMENTPAYMENT';
+ const PAYMENT_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -317,6 +319,7 @@ public function getStatusAllowableValues()
return [
self::STATUS_AUTHORISED,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -336,6 +339,7 @@ public function getPaymentTypeAllowableValues()
self::PAYMENT_TYPE_ARPREPAYMENTPAYMENT,
self::PAYMENT_TYPE_APPREPAYMENTPAYMENT,
self::PAYMENT_TYPE_APOVERPAYMENTPAYMENT,
+ self::PAYMENT_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/PaymentTermType.php b/lib/Models/Accounting/PaymentTermType.php
index 70f8e122..c69e22fd 100644
--- a/lib/Models/Accounting/PaymentTermType.php
+++ b/lib/Models/Accounting/PaymentTermType.php
@@ -48,6 +48,7 @@ class PaymentTermType
const DAYSAFTERBILLMONTH = 'DAYSAFTERBILLMONTH';
const OFCURRENTMONTH = 'OFCURRENTMONTH';
const OFFOLLOWINGMONTH = 'OFFOLLOWINGMONTH';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -60,6 +61,7 @@ public static function getAllowableEnumValues()
self::DAYSAFTERBILLMONTH,
self::OFCURRENTMONTH,
self::OFFOLLOWINGMONTH,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/Phone.php b/lib/Models/Accounting/Phone.php
index 5c3789ff..e7ab3628 100644
--- a/lib/Models/Accounting/Phone.php
+++ b/lib/Models/Accounting/Phone.php
@@ -179,6 +179,7 @@ public function getModelName()
const PHONE_TYPE_MOBILE = 'MOBILE';
const PHONE_TYPE_FAX = 'FAX';
const PHONE_TYPE_OFFICE = 'OFFICE';
+ const PHONE_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -195,6 +196,7 @@ public function getPhoneTypeAllowableValues()
self::PHONE_TYPE_MOBILE,
self::PHONE_TYPE_FAX,
self::PHONE_TYPE_OFFICE,
+ self::PHONE_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Prepayment.php b/lib/Models/Accounting/Prepayment.php
index 5be661b5..34b49c71 100644
--- a/lib/Models/Accounting/Prepayment.php
+++ b/lib/Models/Accounting/Prepayment.php
@@ -258,9 +258,11 @@ public function getModelName()
const TYPE_SPEND_PREPAYMENT = 'SPEND-PREPAYMENT';
const TYPE_ARPREPAYMENT = 'ARPREPAYMENT';
const TYPE_APPREPAYMENT = 'APPREPAYMENT';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_PAID = 'PAID';
const STATUS_VOIDED = 'VOIDED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -276,6 +278,7 @@ public function getTypeAllowableValues()
self::TYPE_SPEND_PREPAYMENT,
self::TYPE_ARPREPAYMENT,
self::TYPE_APPREPAYMENT,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -290,6 +293,7 @@ public function getStatusAllowableValues()
self::STATUS_AUTHORISED,
self::STATUS_PAID,
self::STATUS_VOIDED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/PurchaseOrder.php b/lib/Models/Accounting/PurchaseOrder.php
index 698d1546..898f503e 100644
--- a/lib/Models/Accounting/PurchaseOrder.php
+++ b/lib/Models/Accounting/PurchaseOrder.php
@@ -299,6 +299,7 @@ public function getModelName()
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_BILLED = 'BILLED';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -315,6 +316,7 @@ public function getStatusAllowableValues()
self::STATUS_AUTHORISED,
self::STATUS_BILLED,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/QuoteLineAmountTypes.php b/lib/Models/Accounting/QuoteLineAmountTypes.php
index 88299781..0526f4a2 100644
--- a/lib/Models/Accounting/QuoteLineAmountTypes.php
+++ b/lib/Models/Accounting/QuoteLineAmountTypes.php
@@ -48,6 +48,7 @@ class QuoteLineAmountTypes
const EXCLUSIVE = 'EXCLUSIVE';
const INCLUSIVE = 'INCLUSIVE';
const NOTAX = 'NOTAX';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -59,6 +60,7 @@ public static function getAllowableEnumValues()
self::EXCLUSIVE,
self::INCLUSIVE,
self::NOTAX,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/QuoteStatusCodes.php b/lib/Models/Accounting/QuoteStatusCodes.php
index d76cbec5..70e59781 100644
--- a/lib/Models/Accounting/QuoteStatusCodes.php
+++ b/lib/Models/Accounting/QuoteStatusCodes.php
@@ -51,6 +51,7 @@ class QuoteStatusCodes
const ACCEPTED = 'ACCEPTED';
const INVOICED = 'INVOICED';
const DELETED = 'DELETED';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -65,6 +66,7 @@ public static function getAllowableEnumValues()
self::ACCEPTED,
self::INVOICED,
self::DELETED,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/Receipt.php b/lib/Models/Accounting/Receipt.php
index 5f94799b..b12afdf0 100644
--- a/lib/Models/Accounting/Receipt.php
+++ b/lib/Models/Accounting/Receipt.php
@@ -249,6 +249,7 @@ public function getModelName()
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_DECLINED = 'DECLINED';
const STATUS_VOIDED = 'VOIDED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -265,6 +266,7 @@ public function getStatusAllowableValues()
self::STATUS_AUTHORISED,
self::STATUS_DECLINED,
self::STATUS_VOIDED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/RepeatingInvoice.php b/lib/Models/Accounting/RepeatingInvoice.php
index 36efcc51..c3f83b03 100644
--- a/lib/Models/Accounting/RepeatingInvoice.php
+++ b/lib/Models/Accounting/RepeatingInvoice.php
@@ -256,9 +256,11 @@ public function getModelName()
const TYPE_ACCPAY = 'ACCPAY';
const TYPE_ACCREC = 'ACCREC';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_DRAFT = 'DRAFT';
const STATUS_AUTHORISED = 'AUTHORISED';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -272,6 +274,7 @@ public function getTypeAllowableValues()
return [
self::TYPE_ACCPAY,
self::TYPE_ACCREC,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -286,6 +289,7 @@ public function getStatusAllowableValues()
self::STATUS_DRAFT,
self::STATUS_AUTHORISED,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/Report.php b/lib/Models/Accounting/Report.php
index 573e5fe7..1e5acde0 100644
--- a/lib/Models/Accounting/Report.php
+++ b/lib/Models/Accounting/Report.php
@@ -185,6 +185,7 @@ public function getModelName()
}
const REPORT_TYPE_AGED_PAYABLES_BY_CONTACT = 'AgedPayablesByContact';
+ const REPORT_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -197,6 +198,7 @@ public function getReportTypeAllowableValues()
{
return [
self::REPORT_TYPE_AGED_PAYABLES_BY_CONTACT,
+ self::REPORT_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/RowType.php b/lib/Models/Accounting/RowType.php
index 0f88f32e..20a5e3e4 100644
--- a/lib/Models/Accounting/RowType.php
+++ b/lib/Models/Accounting/RowType.php
@@ -48,6 +48,7 @@ class RowType
const SECTION = 'Section';
const ROW = 'Row';
const SUMMARY_ROW = 'SummaryRow';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -60,6 +61,7 @@ public static function getAllowableEnumValues()
self::SECTION,
self::ROW,
self::SUMMARY_ROW,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/Schedule.php b/lib/Models/Accounting/Schedule.php
index 2c9c7673..7cdf21d9 100644
--- a/lib/Models/Accounting/Schedule.php
+++ b/lib/Models/Accounting/Schedule.php
@@ -191,12 +191,14 @@ public function getModelName()
const UNIT_WEEKLY = 'WEEKLY';
const UNIT_MONTHLY = 'MONTHLY';
+ const UNIT_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const DUE_DATE_TYPE_DAYSAFTERBILLDATE = 'DAYSAFTERBILLDATE';
const DUE_DATE_TYPE_DAYSAFTERBILLMONTH = 'DAYSAFTERBILLMONTH';
const DUE_DATE_TYPE_DAYSAFTERINVOICEDATE = 'DAYSAFTERINVOICEDATE';
const DUE_DATE_TYPE_DAYSAFTERINVOICEMONTH = 'DAYSAFTERINVOICEMONTH';
const DUE_DATE_TYPE_OFCURRENTMONTH = 'OFCURRENTMONTH';
const DUE_DATE_TYPE_OFFOLLOWINGMONTH = 'OFFOLLOWINGMONTH';
+ const DUE_DATE_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -210,6 +212,7 @@ public function getUnitAllowableValues()
return [
self::UNIT_WEEKLY,
self::UNIT_MONTHLY,
+ self::UNIT_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -227,6 +230,7 @@ public function getDueDateTypeAllowableValues()
self::DUE_DATE_TYPE_DAYSAFTERINVOICEMONTH,
self::DUE_DATE_TYPE_OFCURRENTMONTH,
self::DUE_DATE_TYPE_OFFOLLOWINGMONTH,
+ self::DUE_DATE_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/TaxBreakdownComponent.php b/lib/Models/Accounting/TaxBreakdownComponent.php
index ac2ae370..cdb0c239 100644
--- a/lib/Models/Accounting/TaxBreakdownComponent.php
+++ b/lib/Models/Accounting/TaxBreakdownComponent.php
@@ -209,6 +209,7 @@ public function getModelName()
const TYPE_USCOUNTY = 'SYSGST/USCOUNTY';
const TYPE_USCITY = 'SYSGST/USCITY';
const TYPE_USSPECIAL = 'SYSGST/USSPECIAL';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -225,6 +226,7 @@ public function getTypeAllowableValues()
self::TYPE_USCOUNTY,
self::TYPE_USCITY,
self::TYPE_USSPECIAL,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/TaxRate.php b/lib/Models/Accounting/TaxRate.php
index 4cacfb77..2136b0ab 100644
--- a/lib/Models/Accounting/TaxRate.php
+++ b/lib/Models/Accounting/TaxRate.php
@@ -218,6 +218,7 @@ public function getModelName()
const STATUS_DELETED = 'DELETED';
const STATUS_ARCHIVED = 'ARCHIVED';
const STATUS_PENDING = 'PENDING';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const REPORT_TAX_TYPE_AVALARA = 'AVALARA';
const REPORT_TAX_TYPE_BASEXCLUDED = 'BASEXCLUDED';
const REPORT_TAX_TYPE_CAPITALSALESOUTPUT = 'CAPITALSALESOUTPUT';
@@ -317,6 +318,7 @@ public function getModelName()
const REPORT_TAX_TYPE_BADDEBTRECOVERY = 'BADDEBTRECOVERY';
const REPORT_TAX_TYPE_USSALESTAX = 'USSALESTAX';
const REPORT_TAX_TYPE_BLINPUT3 = 'BLINPUT3';
+ const REPORT_TAX_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -332,6 +334,7 @@ public function getStatusAllowableValues()
self::STATUS_DELETED,
self::STATUS_ARCHIVED,
self::STATUS_PENDING,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -442,6 +445,7 @@ public function getReportTaxTypeAllowableValues()
self::REPORT_TAX_TYPE_BADDEBTRECOVERY,
self::REPORT_TAX_TYPE_USSALESTAX,
self::REPORT_TAX_TYPE_BLINPUT3,
+ self::REPORT_TAX_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/TaxType.php b/lib/Models/Accounting/TaxType.php
index fe11c3fb..29dd88c2 100644
--- a/lib/Models/Accounting/TaxType.php
+++ b/lib/Models/Accounting/TaxType.php
@@ -168,6 +168,7 @@ class TaxType
const BLINPUT3 = 'BLINPUT3';
const BLINPUT3_Y23 = 'BLINPUT3Y23';
const BLINPUT3_Y24 = 'BLINPUT3Y24';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -299,6 +300,7 @@ public static function getAllowableEnumValues()
self::BLINPUT3,
self::BLINPUT3_Y23,
self::BLINPUT3_Y24,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/TenNinetyNineContact.php b/lib/Models/Accounting/TenNinetyNineContact.php
index bf92d106..7c4f7789 100644
--- a/lib/Models/Accounting/TenNinetyNineContact.php
+++ b/lib/Models/Accounting/TenNinetyNineContact.php
@@ -286,6 +286,7 @@ public function getModelName()
const FEDERAL_TAX_CLASSIFICATION_C_CORP = 'C_CORP';
const FEDERAL_TAX_CLASSIFICATION_S_CORP = 'S_CORP';
const FEDERAL_TAX_CLASSIFICATION_OTHER = 'OTHER';
+ const FEDERAL_TAX_CLASSIFICATION_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -304,6 +305,7 @@ public function getFederalTaxClassificationAllowableValues()
self::FEDERAL_TAX_CLASSIFICATION_C_CORP,
self::FEDERAL_TAX_CLASSIFICATION_S_CORP,
self::FEDERAL_TAX_CLASSIFICATION_OTHER,
+ self::FEDERAL_TAX_CLASSIFICATION_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/TimeZone.php b/lib/Models/Accounting/TimeZone.php
index a9b36785..2059ab3b 100644
--- a/lib/Models/Accounting/TimeZone.php
+++ b/lib/Models/Accounting/TimeZone.php
@@ -186,6 +186,7 @@ class TimeZone
const WMONGOLIASTANDARDTIME = 'WMONGOLIASTANDARDTIME';
const YAKUTSKSTANDARDTIME = 'YAKUTSKSTANDARDTIME';
const YUKONSTANDARDTIME = 'YUKONSTANDARDTIME';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -335,6 +336,7 @@ public static function getAllowableEnumValues()
self::WMONGOLIASTANDARDTIME,
self::YAKUTSKSTANDARDTIME,
self::YUKONSTANDARDTIME,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Accounting/TrackingCategory.php b/lib/Models/Accounting/TrackingCategory.php
index 8f084f58..d266b7c4 100644
--- a/lib/Models/Accounting/TrackingCategory.php
+++ b/lib/Models/Accounting/TrackingCategory.php
@@ -187,6 +187,7 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_ARCHIVED = 'ARCHIVED';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -201,6 +202,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_ARCHIVED,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/TrackingOption.php b/lib/Models/Accounting/TrackingOption.php
index 9320fc8e..35ae82f3 100644
--- a/lib/Models/Accounting/TrackingOption.php
+++ b/lib/Models/Accounting/TrackingOption.php
@@ -177,6 +177,7 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_ARCHIVED = 'ARCHIVED';
const STATUS_DELETED = 'DELETED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -191,6 +192,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_ARCHIVED,
self::STATUS_DELETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Accounting/User.php b/lib/Models/Accounting/User.php
index 2d33f6f3..eec4fb52 100644
--- a/lib/Models/Accounting/User.php
+++ b/lib/Models/Accounting/User.php
@@ -196,6 +196,7 @@ public function getModelName()
const ORGANISATION_ROLE_MANAGEDCLIENT = 'MANAGEDCLIENT';
const ORGANISATION_ROLE_CASHBOOKCLIENT = 'CASHBOOKCLIENT';
const ORGANISATION_ROLE_UNKNOWN = 'UNKNOWN';
+ const ORGANISATION_ROLE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -214,6 +215,7 @@ public function getOrganisationRoleAllowableValues()
self::ORGANISATION_ROLE_MANAGEDCLIENT,
self::ORGANISATION_ROLE_CASHBOOKCLIENT,
self::ORGANISATION_ROLE_UNKNOWN,
+ self::ORGANISATION_ROLE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/AppStore/Plan.php b/lib/Models/AppStore/Plan.php
index 44899224..4e70c963 100644
--- a/lib/Models/AppStore/Plan.php
+++ b/lib/Models/AppStore/Plan.php
@@ -177,6 +177,7 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_CANCELED = 'CANCELED';
const STATUS_PENDING_ACTIVATION = 'PENDING_ACTIVATION';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -191,6 +192,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_CANCELED,
self::STATUS_PENDING_ACTIVATION,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/AppStore/Product.php b/lib/Models/AppStore/Product.php
index 4578e59c..50ce84af 100644
--- a/lib/Models/AppStore/Product.php
+++ b/lib/Models/AppStore/Product.php
@@ -182,6 +182,7 @@ public function getModelName()
const TYPE_FIXED = 'FIXED';
const TYPE_PER_SEAT = 'PER_SEAT';
const TYPE_METERED = 'METERED';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -196,6 +197,7 @@ public function getTypeAllowableValues()
self::TYPE_FIXED,
self::TYPE_PER_SEAT,
self::TYPE_METERED,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/AppStore/Subscription.php b/lib/Models/AppStore/Subscription.php
index 157582af..0d7f1e61 100644
--- a/lib/Models/AppStore/Subscription.php
+++ b/lib/Models/AppStore/Subscription.php
@@ -197,6 +197,7 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_CANCELED = 'CANCELED';
const STATUS_PAST_DUE = 'PAST_DUE';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -211,6 +212,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_CANCELED,
self::STATUS_PAST_DUE,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/AppStore/SubscriptionItem.php b/lib/Models/AppStore/SubscriptionItem.php
index b584a010..7ad1360b 100644
--- a/lib/Models/AppStore/SubscriptionItem.php
+++ b/lib/Models/AppStore/SubscriptionItem.php
@@ -197,6 +197,7 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_CANCELED = 'CANCELED';
const STATUS_PENDING_ACTIVATION = 'PENDING_ACTIVATION';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -211,6 +212,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_CANCELED,
self::STATUS_PENDING_ACTIVATION,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Asset/AssetStatus.php b/lib/Models/Asset/AssetStatus.php
index f061a703..ad3c1b40 100644
--- a/lib/Models/Asset/AssetStatus.php
+++ b/lib/Models/Asset/AssetStatus.php
@@ -48,6 +48,7 @@ class AssetStatus
const DRAFT = 'Draft';
const REGISTERED = 'Registered';
const DISPOSED = 'Disposed';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -59,6 +60,7 @@ public static function getAllowableEnumValues()
self::DRAFT,
self::REGISTERED,
self::DISPOSED,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Asset/AssetStatusQueryParam.php b/lib/Models/Asset/AssetStatusQueryParam.php
index f85932f9..10226fb8 100644
--- a/lib/Models/Asset/AssetStatusQueryParam.php
+++ b/lib/Models/Asset/AssetStatusQueryParam.php
@@ -48,6 +48,7 @@ class AssetStatusQueryParam
const DRAFT = 'DRAFT';
const REGISTERED = 'REGISTERED';
const DISPOSED = 'DISPOSED';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -59,6 +60,7 @@ public static function getAllowableEnumValues()
self::DRAFT,
self::REGISTERED,
self::DISPOSED,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Asset/BookDepreciationSetting.php b/lib/Models/Asset/BookDepreciationSetting.php
index 1f66e857..3a5a545b 100644
--- a/lib/Models/Asset/BookDepreciationSetting.php
+++ b/lib/Models/Asset/BookDepreciationSetting.php
@@ -200,11 +200,14 @@ public function getModelName()
const DEPRECIATION_METHOD_DIMINISHING_VALUE150 = 'DiminishingValue150';
const DEPRECIATION_METHOD_DIMINISHING_VALUE200 = 'DiminishingValue200';
const DEPRECIATION_METHOD_FULL_DEPRECIATION = 'FullDepreciation';
+ const DEPRECIATION_METHOD_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const AVERAGING_METHOD_FULL_MONTH = 'FullMonth';
const AVERAGING_METHOD_ACTUAL_DAYS = 'ActualDays';
+ const AVERAGING_METHOD_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const DEPRECIATION_CALCULATION_METHOD_RATE = 'Rate';
const DEPRECIATION_CALCULATION_METHOD_LIFE = 'Life';
const DEPRECIATION_CALCULATION_METHOD_NONE = 'None';
+ const DEPRECIATION_CALCULATION_METHOD_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -222,6 +225,7 @@ public function getDepreciationMethodAllowableValues()
self::DEPRECIATION_METHOD_DIMINISHING_VALUE150,
self::DEPRECIATION_METHOD_DIMINISHING_VALUE200,
self::DEPRECIATION_METHOD_FULL_DEPRECIATION,
+ self::DEPRECIATION_METHOD_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -235,6 +239,7 @@ public function getAveragingMethodAllowableValues()
return [
self::AVERAGING_METHOD_FULL_MONTH,
self::AVERAGING_METHOD_ACTUAL_DAYS,
+ self::AVERAGING_METHOD_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -249,6 +254,7 @@ public function getDepreciationCalculationMethodAllowableValues()
self::DEPRECIATION_CALCULATION_METHOD_RATE,
self::DEPRECIATION_CALCULATION_METHOD_LIFE,
self::DEPRECIATION_CALCULATION_METHOD_NONE,
+ self::DEPRECIATION_CALCULATION_METHOD_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/File/ObjectGroup.php b/lib/Models/File/ObjectGroup.php
index 004f8056..2872508a 100644
--- a/lib/Models/File/ObjectGroup.php
+++ b/lib/Models/File/ObjectGroup.php
@@ -57,6 +57,7 @@ class ObjectGroup
const PREPAYMENT = 'Prepayment';
const QUOTE = 'Quote';
const RECEIPT = 'Receipt';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -77,6 +78,7 @@ public static function getAllowableEnumValues()
self::PREPAYMENT,
self::QUOTE,
self::RECEIPT,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/File/ObjectType.php b/lib/Models/File/ObjectType.php
index 8f4c947f..41b37234 100644
--- a/lib/Models/File/ObjectType.php
+++ b/lib/Models/File/ObjectType.php
@@ -101,6 +101,7 @@ class ObjectType
const TERMLIAB = 'Termliab';
const NON_CURRENT = 'NonCurrent';
const SALES_QUOTE = 'SalesQuote';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -165,6 +166,7 @@ public static function getAllowableEnumValues()
self::TERMLIAB,
self::NON_CURRENT,
self::SALES_QUOTE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Finance/ProblemType.php b/lib/Models/Finance/ProblemType.php
index 7757c813..bf5913f8 100644
--- a/lib/Models/Finance/ProblemType.php
+++ b/lib/Models/Finance/ProblemType.php
@@ -55,6 +55,7 @@ class ProblemType
const SERVICE_UNAVAILABLE = 'service-unavailable';
const UNAUTHORIZED = 'unauthorized';
const RATE_LIMIT_ERROR = 'rate-limit-error';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -74,6 +75,7 @@ public static function getAllowableEnumValues()
self::SERVICE_UNAVAILABLE,
self::UNAUTHORIZED,
self::RATE_LIMIT_ERROR,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/AccountType.php b/lib/Models/PayrollAu/AccountType.php
index 8eb3de20..4d202f1b 100644
--- a/lib/Models/PayrollAu/AccountType.php
+++ b/lib/Models/PayrollAu/AccountType.php
@@ -68,6 +68,7 @@ class AccountType
const SUPERANNUATIONLIABILITY = 'SUPERANNUATIONLIABILITY';
const WAGESEXPENSE = 'WAGESEXPENSE';
const WAGESPAYABLELIABILITY = 'WAGESPAYABLELIABILITY';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -99,6 +100,7 @@ public static function getAllowableEnumValues()
self::SUPERANNUATIONLIABILITY,
self::WAGESEXPENSE,
self::WAGESPAYABLELIABILITY,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/AllowanceCategory.php b/lib/Models/PayrollAu/AllowanceCategory.php
index ccd19895..6ab579da 100644
--- a/lib/Models/PayrollAu/AllowanceCategory.php
+++ b/lib/Models/PayrollAu/AllowanceCategory.php
@@ -51,6 +51,7 @@ class AllowanceCategory
const TRANSPORT = 'TRANSPORT';
const GENERAL = 'GENERAL';
const OTHER = 'OTHER';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -66,6 +67,7 @@ public static function getAllowableEnumValues()
self::TRANSPORT,
self::GENERAL,
self::OTHER,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/AllowanceType.php b/lib/Models/PayrollAu/AllowanceType.php
index 2cba6886..bedff782 100644
--- a/lib/Models/PayrollAu/AllowanceType.php
+++ b/lib/Models/PayrollAu/AllowanceType.php
@@ -53,6 +53,7 @@ class AllowanceType
const TOOLS = 'TOOLS';
const TASKS = 'TASKS';
const QUALIFICATIONS = 'QUALIFICATIONS';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -70,6 +71,7 @@ public static function getAllowableEnumValues()
self::TOOLS,
self::TASKS,
self::QUALIFICATIONS,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/CalendarType.php b/lib/Models/PayrollAu/CalendarType.php
index 8dcea85a..be79eec3 100644
--- a/lib/Models/PayrollAu/CalendarType.php
+++ b/lib/Models/PayrollAu/CalendarType.php
@@ -50,6 +50,7 @@ class CalendarType
const MONTHLY = 'MONTHLY';
const TWICEMONTHLY = 'TWICEMONTHLY';
const QUARTERLY = 'QUARTERLY';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -64,6 +65,7 @@ public static function getAllowableEnumValues()
self::MONTHLY,
self::TWICEMONTHLY,
self::QUARTERLY,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/CountryOfResidence.php b/lib/Models/PayrollAu/CountryOfResidence.php
index 3eb87b2c..cc702aa0 100644
--- a/lib/Models/PayrollAu/CountryOfResidence.php
+++ b/lib/Models/PayrollAu/CountryOfResidence.php
@@ -295,6 +295,7 @@ class CountryOfResidence
const CW = 'CW';
const SX = 'SX';
const SS = 'SS';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -553,6 +554,7 @@ public static function getAllowableEnumValues()
self::CW,
self::SX,
self::SS,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/DeductionType.php b/lib/Models/PayrollAu/DeductionType.php
index b841d425..78c84e7a 100644
--- a/lib/Models/PayrollAu/DeductionType.php
+++ b/lib/Models/PayrollAu/DeductionType.php
@@ -202,6 +202,7 @@ public function getModelName()
const DEDUCTION_CATEGORY_NONE = 'NONE';
const DEDUCTION_CATEGORY_UNIONFEES = 'UNIONFEES';
const DEDUCTION_CATEGORY_WORKPLACEGIVING = 'WORKPLACEGIVING';
+ const DEDUCTION_CATEGORY_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -216,6 +217,7 @@ public function getDeductionCategoryAllowableValues()
self::DEDUCTION_CATEGORY_NONE,
self::DEDUCTION_CATEGORY_UNIONFEES,
self::DEDUCTION_CATEGORY_WORKPLACEGIVING,
+ self::DEDUCTION_CATEGORY_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollAu/DeductionTypeCalculationType.php b/lib/Models/PayrollAu/DeductionTypeCalculationType.php
index 87c3b287..9a695097 100644
--- a/lib/Models/PayrollAu/DeductionTypeCalculationType.php
+++ b/lib/Models/PayrollAu/DeductionTypeCalculationType.php
@@ -47,6 +47,7 @@ class DeductionTypeCalculationType
const FIXEDAMOUNT = 'FIXEDAMOUNT';
const PRETAX = 'PRETAX';
const POSTTAX = 'POSTTAX';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -58,6 +59,7 @@ public static function getAllowableEnumValues()
self::FIXEDAMOUNT,
self::PRETAX,
self::POSTTAX,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/EarningsRateCalculationType.php b/lib/Models/PayrollAu/EarningsRateCalculationType.php
index ff183b19..97ff35a7 100644
--- a/lib/Models/PayrollAu/EarningsRateCalculationType.php
+++ b/lib/Models/PayrollAu/EarningsRateCalculationType.php
@@ -47,6 +47,7 @@ class EarningsRateCalculationType
const USEEARNINGSRATE = 'USEEARNINGSRATE';
const ENTEREARNINGSRATE = 'ENTEREARNINGSRATE';
const ANNUALSALARY = 'ANNUALSALARY';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -58,6 +59,7 @@ public static function getAllowableEnumValues()
self::USEEARNINGSRATE,
self::ENTEREARNINGSRATE,
self::ANNUALSALARY,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/EarningsType.php b/lib/Models/PayrollAu/EarningsType.php
index d1fb7640..231e54d1 100644
--- a/lib/Models/PayrollAu/EarningsType.php
+++ b/lib/Models/PayrollAu/EarningsType.php
@@ -58,6 +58,7 @@ class EarningsType
const DIRECTORSFEES = 'DIRECTORSFEES';
const PAIDPARENTALLEAVE = 'PAIDPARENTALLEAVE';
const WORKERSCOMPENSATION = 'WORKERSCOMPENSATION';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -80,6 +81,7 @@ public static function getAllowableEnumValues()
self::DIRECTORSFEES,
self::PAIDPARENTALLEAVE,
self::WORKERSCOMPENSATION,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/Employee.php b/lib/Models/PayrollAu/Employee.php
index 2b0fd115..7fd056a0 100644
--- a/lib/Models/PayrollAu/Employee.php
+++ b/lib/Models/PayrollAu/Employee.php
@@ -338,6 +338,7 @@ public function getModelName()
const GENDER_M = 'M';
const GENDER_F = 'F';
const GENDER_I = 'I';
+ const GENDER_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const TERMINATION_REASON_V = 'V';
const TERMINATION_REASON_I = 'I';
const TERMINATION_REASON_D = 'D';
@@ -345,6 +346,7 @@ public function getModelName()
const TERMINATION_REASON_F = 'F';
const TERMINATION_REASON_C = 'C';
const TERMINATION_REASON_T = 'T';
+ const TERMINATION_REASON_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -360,6 +362,7 @@ public function getGenderAllowableValues()
self::GENDER_M,
self::GENDER_F,
self::GENDER_I,
+ self::GENDER_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -378,6 +381,7 @@ public function getTerminationReasonAllowableValues()
self::TERMINATION_REASON_F,
self::TERMINATION_REASON_C,
self::TERMINATION_REASON_T,
+ self::TERMINATION_REASON_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollAu/EmployeeStatus.php b/lib/Models/PayrollAu/EmployeeStatus.php
index 16f7b3f8..4af1782e 100644
--- a/lib/Models/PayrollAu/EmployeeStatus.php
+++ b/lib/Models/PayrollAu/EmployeeStatus.php
@@ -47,6 +47,7 @@ class EmployeeStatus
*/
const ACTIVE = 'ACTIVE';
const TERMINATED = 'TERMINATED';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -57,6 +58,7 @@ public static function getAllowableEnumValues()
return [
self::ACTIVE,
self::TERMINATED,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/EmploymentBasis.php b/lib/Models/PayrollAu/EmploymentBasis.php
index 8713e23f..0ee5ebce 100644
--- a/lib/Models/PayrollAu/EmploymentBasis.php
+++ b/lib/Models/PayrollAu/EmploymentBasis.php
@@ -50,6 +50,7 @@ class EmploymentBasis
const LABOURHIRE = 'LABOURHIRE';
const SUPERINCOMESTREAM = 'SUPERINCOMESTREAM';
const NONEMPLOYEE = 'NONEMPLOYEE';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -64,6 +65,7 @@ public static function getAllowableEnumValues()
self::LABOURHIRE,
self::SUPERINCOMESTREAM,
self::NONEMPLOYEE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/EmploymentTerminationPaymentType.php b/lib/Models/PayrollAu/EmploymentTerminationPaymentType.php
index 4867c9bd..74d8fd39 100644
--- a/lib/Models/PayrollAu/EmploymentTerminationPaymentType.php
+++ b/lib/Models/PayrollAu/EmploymentTerminationPaymentType.php
@@ -46,6 +46,7 @@ class EmploymentTerminationPaymentType
*/
const O = 'O';
const R = 'R';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -56,6 +57,7 @@ public static function getAllowableEnumValues()
return [
self::O,
self::R,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/EmploymentType.php b/lib/Models/PayrollAu/EmploymentType.php
index 1d5b18a9..c8debaa0 100644
--- a/lib/Models/PayrollAu/EmploymentType.php
+++ b/lib/Models/PayrollAu/EmploymentType.php
@@ -46,6 +46,7 @@ class EmploymentType
*/
const EMPLOYEE = 'EMPLOYEE';
const CONTRACTOR = 'CONTRACTOR';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -56,6 +57,7 @@ public static function getAllowableEnumValues()
return [
self::EMPLOYEE,
self::CONTRACTOR,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/EntitlementFinalPayPayoutType.php b/lib/Models/PayrollAu/EntitlementFinalPayPayoutType.php
index 5caba45f..79c85f2e 100644
--- a/lib/Models/PayrollAu/EntitlementFinalPayPayoutType.php
+++ b/lib/Models/PayrollAu/EntitlementFinalPayPayoutType.php
@@ -46,6 +46,7 @@ class EntitlementFinalPayPayoutType
*/
const NOTPAIDOUT = 'NOTPAIDOUT';
const PAIDOUT = 'PAIDOUT';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -56,6 +57,7 @@ public static function getAllowableEnumValues()
return [
self::NOTPAIDOUT,
self::PAIDOUT,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/IncomeType.php b/lib/Models/PayrollAu/IncomeType.php
index 203a0cec..542fd1d1 100644
--- a/lib/Models/PayrollAu/IncomeType.php
+++ b/lib/Models/PayrollAu/IncomeType.php
@@ -49,6 +49,7 @@ class IncomeType
const NONEMPLOYEE = 'NONEMPLOYEE';
const CLOSELYHELDPAYEES = 'CLOSELYHELDPAYEES';
const LABOURHIRE = 'LABOURHIRE';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -62,6 +63,7 @@ public static function getAllowableEnumValues()
self::NONEMPLOYEE,
self::CLOSELYHELDPAYEES,
self::LABOURHIRE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/LeaveCategoryCode.php b/lib/Models/PayrollAu/LeaveCategoryCode.php
index 5024ea48..39675ee1 100644
--- a/lib/Models/PayrollAu/LeaveCategoryCode.php
+++ b/lib/Models/PayrollAu/LeaveCategoryCode.php
@@ -57,6 +57,7 @@ class LeaveCategoryCode
const COMMUNITYSERVICELEAVE = 'COMMUNITYSERVICELEAVE';
const JURYDUTYLEAVE = 'JURYDUTYLEAVE';
const DEFENCERESERVELEAVE = 'DEFENCERESERVELEAVE';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -77,6 +78,7 @@ public static function getAllowableEnumValues()
self::COMMUNITYSERVICELEAVE,
self::JURYDUTYLEAVE,
self::DEFENCERESERVELEAVE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/LeaveLineCalculationType.php b/lib/Models/PayrollAu/LeaveLineCalculationType.php
index ecdac224..8726d826 100644
--- a/lib/Models/PayrollAu/LeaveLineCalculationType.php
+++ b/lib/Models/PayrollAu/LeaveLineCalculationType.php
@@ -49,6 +49,7 @@ class LeaveLineCalculationType
const FIXEDAMOUNTEACHPERIOD = 'FIXEDAMOUNTEACHPERIOD';
const ENTERRATEINPAYTEMPLATE = 'ENTERRATEINPAYTEMPLATE';
const BASEDONORDINARYEARNINGS = 'BASEDONORDINARYEARNINGS';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -61,6 +62,7 @@ public static function getAllowableEnumValues()
self::FIXEDAMOUNTEACHPERIOD,
self::ENTERRATEINPAYTEMPLATE,
self::BASEDONORDINARYEARNINGS,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/LeavePeriodStatus.php b/lib/Models/PayrollAu/LeavePeriodStatus.php
index d138943d..405c614c 100644
--- a/lib/Models/PayrollAu/LeavePeriodStatus.php
+++ b/lib/Models/PayrollAu/LeavePeriodStatus.php
@@ -48,6 +48,7 @@ class LeavePeriodStatus
const PROCESSED = 'PROCESSED';
const REQUESTED = 'REQUESTED';
const REJECTED = 'REJECTED';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -60,6 +61,7 @@ public static function getAllowableEnumValues()
self::PROCESSED,
self::REQUESTED,
self::REJECTED,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/LeaveTypeContributionType.php b/lib/Models/PayrollAu/LeaveTypeContributionType.php
index 5f38bba9..44f07307 100644
--- a/lib/Models/PayrollAu/LeaveTypeContributionType.php
+++ b/lib/Models/PayrollAu/LeaveTypeContributionType.php
@@ -48,6 +48,7 @@ class LeaveTypeContributionType
const SALARYSACRIFICE = 'SALARYSACRIFICE';
const EMPLOYERADDITIONAL = 'EMPLOYERADDITIONAL';
const EMPLOYEE = 'EMPLOYEE';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -60,6 +61,7 @@ public static function getAllowableEnumValues()
self::SALARYSACRIFICE,
self::EMPLOYERADDITIONAL,
self::EMPLOYEE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/ManualTaxType.php b/lib/Models/PayrollAu/ManualTaxType.php
index dd6ab82b..267fde35 100644
--- a/lib/Models/PayrollAu/ManualTaxType.php
+++ b/lib/Models/PayrollAu/ManualTaxType.php
@@ -50,6 +50,7 @@ class ManualTaxType
const SCHEDULE5_MANUAL = 'SCHEDULE5MANUAL';
const SCHEDULE5_STSLMANUAL = 'SCHEDULE5STSLMANUAL';
const SCHEDULE4_MANUAL = 'SCHEDULE4MANUAL';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -64,6 +65,7 @@ public static function getAllowableEnumValues()
self::SCHEDULE5_MANUAL,
self::SCHEDULE5_STSLMANUAL,
self::SCHEDULE4_MANUAL,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/PayOutType.php b/lib/Models/PayrollAu/PayOutType.php
index f9616b3d..fe123ffc 100644
--- a/lib/Models/PayrollAu/PayOutType.php
+++ b/lib/Models/PayrollAu/PayOutType.php
@@ -47,6 +47,7 @@ class PayOutType
*/
const _DEFAULT = 'DEFAULT';
const CASHED_OUT = 'CASHED_OUT';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -57,6 +58,7 @@ public static function getAllowableEnumValues()
return [
self::_DEFAULT,
self::CASHED_OUT,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/PayRunStatus.php b/lib/Models/PayrollAu/PayRunStatus.php
index 40ec0af2..795bda3b 100644
--- a/lib/Models/PayrollAu/PayRunStatus.php
+++ b/lib/Models/PayrollAu/PayRunStatus.php
@@ -46,6 +46,7 @@ class PayRunStatus
*/
const DRAFT = 'DRAFT';
const POSTED = 'POSTED';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -56,6 +57,7 @@ public static function getAllowableEnumValues()
return [
self::DRAFT,
self::POSTED,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/PaymentFrequencyType.php b/lib/Models/PayrollAu/PaymentFrequencyType.php
index 4601e36b..811043c7 100644
--- a/lib/Models/PayrollAu/PaymentFrequencyType.php
+++ b/lib/Models/PayrollAu/PaymentFrequencyType.php
@@ -51,6 +51,7 @@ class PaymentFrequencyType
const TWICEMONTHLY = 'TWICEMONTHLY';
const FOURWEEKLY = 'FOURWEEKLY';
const YEARLY = 'YEARLY';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -66,6 +67,7 @@ public static function getAllowableEnumValues()
self::TWICEMONTHLY,
self::FOURWEEKLY,
self::YEARLY,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/RateType.php b/lib/Models/PayrollAu/RateType.php
index 520cf35f..c2e18d30 100644
--- a/lib/Models/PayrollAu/RateType.php
+++ b/lib/Models/PayrollAu/RateType.php
@@ -47,6 +47,7 @@ class RateType
const FIXEDAMOUNT = 'FIXEDAMOUNT';
const MULTIPLE = 'MULTIPLE';
const RATEPERUNIT = 'RATEPERUNIT';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -58,6 +59,7 @@ public static function getAllowableEnumValues()
self::FIXEDAMOUNT,
self::MULTIPLE,
self::RATEPERUNIT,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/ResidencyStatus.php b/lib/Models/PayrollAu/ResidencyStatus.php
index 12280c2f..6f6619ac 100644
--- a/lib/Models/PayrollAu/ResidencyStatus.php
+++ b/lib/Models/PayrollAu/ResidencyStatus.php
@@ -47,6 +47,7 @@ class ResidencyStatus
const AUSTRALIANRESIDENT = 'AUSTRALIANRESIDENT';
const FOREIGNRESIDENT = 'FOREIGNRESIDENT';
const WORKINGHOLIDAYMAKER = 'WORKINGHOLIDAYMAKER';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -58,6 +59,7 @@ public static function getAllowableEnumValues()
self::AUSTRALIANRESIDENT,
self::FOREIGNRESIDENT,
self::WORKINGHOLIDAYMAKER,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/SeniorMaritalStatus.php b/lib/Models/PayrollAu/SeniorMaritalStatus.php
index a615b68e..9cbc0708 100644
--- a/lib/Models/PayrollAu/SeniorMaritalStatus.php
+++ b/lib/Models/PayrollAu/SeniorMaritalStatus.php
@@ -47,6 +47,7 @@ class SeniorMaritalStatus
const MEMBEROFCOUPLE = 'MEMBEROFCOUPLE';
const MEMBEROFILLNESSSEPARATEDCOUPLE = 'MEMBEROFILLNESSSEPARATEDCOUPLE';
const SINGLE = 'SINGLE';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -58,6 +59,7 @@ public static function getAllowableEnumValues()
self::MEMBEROFCOUPLE,
self::MEMBEROFILLNESSSEPARATEDCOUPLE,
self::SINGLE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/State.php b/lib/Models/PayrollAu/State.php
index be1a264a..c6595ccb 100644
--- a/lib/Models/PayrollAu/State.php
+++ b/lib/Models/PayrollAu/State.php
@@ -53,6 +53,7 @@ class State
const TAS = 'TAS';
const VIC = 'VIC';
const WA = 'WA';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -69,6 +70,7 @@ public static function getAllowableEnumValues()
self::TAS,
self::VIC,
self::WA,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/SuperFundType.php b/lib/Models/PayrollAu/SuperFundType.php
index b25af107..5d2e383b 100644
--- a/lib/Models/PayrollAu/SuperFundType.php
+++ b/lib/Models/PayrollAu/SuperFundType.php
@@ -46,6 +46,7 @@ class SuperFundType
*/
const REGULATED = 'REGULATED';
const SMSF = 'SMSF';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -56,6 +57,7 @@ public static function getAllowableEnumValues()
return [
self::REGULATED,
self::SMSF,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/SuperannuationCalculationType.php b/lib/Models/PayrollAu/SuperannuationCalculationType.php
index 8c492294..68daa00d 100644
--- a/lib/Models/PayrollAu/SuperannuationCalculationType.php
+++ b/lib/Models/PayrollAu/SuperannuationCalculationType.php
@@ -47,6 +47,7 @@ class SuperannuationCalculationType
const FIXEDAMOUNT = 'FIXEDAMOUNT';
const PERCENTAGEOFEARNINGS = 'PERCENTAGEOFEARNINGS';
const STATUTORY = 'STATUTORY';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -58,6 +59,7 @@ public static function getAllowableEnumValues()
self::FIXEDAMOUNT,
self::PERCENTAGEOFEARNINGS,
self::STATUTORY,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/SuperannuationContributionType.php b/lib/Models/PayrollAu/SuperannuationContributionType.php
index bdedf249..26d90bad 100644
--- a/lib/Models/PayrollAu/SuperannuationContributionType.php
+++ b/lib/Models/PayrollAu/SuperannuationContributionType.php
@@ -48,6 +48,7 @@ class SuperannuationContributionType
const SALARYSACRIFICE = 'SALARYSACRIFICE';
const EMPLOYERADDITIONAL = 'EMPLOYERADDITIONAL';
const EMPLOYEE = 'EMPLOYEE';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -60,6 +61,7 @@ public static function getAllowableEnumValues()
self::SALARYSACRIFICE,
self::EMPLOYERADDITIONAL,
self::EMPLOYEE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/TFNExemptionType.php b/lib/Models/PayrollAu/TFNExemptionType.php
index cc86e000..a9f2c1ba 100644
--- a/lib/Models/PayrollAu/TFNExemptionType.php
+++ b/lib/Models/PayrollAu/TFNExemptionType.php
@@ -48,6 +48,7 @@ class TFNExemptionType
const PENDING = 'PENDING';
const PENSIONER = 'PENSIONER';
const UNDER18 = 'UNDER18';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -60,6 +61,7 @@ public static function getAllowableEnumValues()
self::PENDING,
self::PENSIONER,
self::UNDER18,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/TaxScaleType.php b/lib/Models/PayrollAu/TaxScaleType.php
index 5bc4fc26..f048f74c 100644
--- a/lib/Models/PayrollAu/TaxScaleType.php
+++ b/lib/Models/PayrollAu/TaxScaleType.php
@@ -50,6 +50,7 @@ class TaxScaleType
const SENIORORPENSIONER = 'SENIORORPENSIONER';
const WORKINGHOLIDAYMAKER = 'WORKINGHOLIDAYMAKER';
const FOREIGN = 'FOREIGN';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -64,6 +65,7 @@ public static function getAllowableEnumValues()
self::SENIORORPENSIONER,
self::WORKINGHOLIDAYMAKER,
self::FOREIGN,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/TimesheetStatus.php b/lib/Models/PayrollAu/TimesheetStatus.php
index c2a11045..101509ec 100644
--- a/lib/Models/PayrollAu/TimesheetStatus.php
+++ b/lib/Models/PayrollAu/TimesheetStatus.php
@@ -49,6 +49,7 @@ class TimesheetStatus
const APPROVED = 'APPROVED';
const REJECTED = 'REJECTED';
const REQUESTED = 'REQUESTED';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -62,6 +63,7 @@ public static function getAllowableEnumValues()
self::APPROVED,
self::REJECTED,
self::REQUESTED,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollAu/WorkCondition.php b/lib/Models/PayrollAu/WorkCondition.php
index 3f82504c..573f2b67 100644
--- a/lib/Models/PayrollAu/WorkCondition.php
+++ b/lib/Models/PayrollAu/WorkCondition.php
@@ -47,6 +47,7 @@ class WorkCondition
const PROMOTIONAL = 'PROMOTIONAL';
const THREELESSPERFORMANCESPERWEEK = 'THREELESSPERFORMANCESPERWEEK';
const NONE = 'NONE';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -58,6 +59,7 @@ public static function getAllowableEnumValues()
self::PROMOTIONAL,
self::THREELESSPERFORMANCESPERWEEK,
self::NONE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollNz/Account.php b/lib/Models/PayrollNz/Account.php
index 257d3639..38b0bf32 100644
--- a/lib/Models/PayrollNz/Account.php
+++ b/lib/Models/PayrollNz/Account.php
@@ -178,6 +178,7 @@ public function getModelName()
const TYPE_WAGESPAYABLE = 'WAGESPAYABLE';
const TYPE_WAGESEXPENSE = 'WAGESEXPENSE';
const TYPE_BANK = 'BANK';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -193,6 +194,7 @@ public function getTypeAllowableValues()
self::TYPE_WAGESPAYABLE,
self::TYPE_WAGESEXPENSE,
self::TYPE_BANK,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/BankAccount.php b/lib/Models/PayrollNz/BankAccount.php
index 83eb1630..3993a65f 100644
--- a/lib/Models/PayrollNz/BankAccount.php
+++ b/lib/Models/PayrollNz/BankAccount.php
@@ -196,6 +196,7 @@ public function getModelName()
const CALCULATION_TYPE_FIXED_AMOUNT = 'FixedAmount';
const CALCULATION_TYPE_BALANCE = 'Balance';
+ const CALCULATION_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -209,6 +210,7 @@ public function getCalculationTypeAllowableValues()
return [
self::CALCULATION_TYPE_FIXED_AMOUNT,
self::CALCULATION_TYPE_BALANCE,
+ self::CALCULATION_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/Benefit.php b/lib/Models/PayrollNz/Benefit.php
index db30b15c..a095ea27 100644
--- a/lib/Models/PayrollNz/Benefit.php
+++ b/lib/Models/PayrollNz/Benefit.php
@@ -207,8 +207,10 @@ public function getModelName()
const CATEGORY_KIWI_SAVER = 'KiwiSaver';
const CATEGORY_COMPLYING_FUND = 'ComplyingFund';
const CATEGORY_OTHER = 'Other';
+ const CATEGORY_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const CALCULATION_TYPE_NZ_FIXED_AMOUNT = 'FixedAmount';
const CALCULATION_TYPE_NZ_PERCENTAGE_OF_TAXABLE_EARNINGS = 'PercentageOfTaxableEarnings';
+ const CALCULATION_TYPE_NZ_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -223,6 +225,7 @@ public function getCategoryAllowableValues()
self::CATEGORY_KIWI_SAVER,
self::CATEGORY_COMPLYING_FUND,
self::CATEGORY_OTHER,
+ self::CATEGORY_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -236,6 +239,7 @@ public function getCalculationTypeNzAllowableValues()
return [
self::CALCULATION_TYPE_NZ_FIXED_AMOUNT,
self::CALCULATION_TYPE_NZ_PERCENTAGE_OF_TAXABLE_EARNINGS,
+ self::CALCULATION_TYPE_NZ_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/CalendarType.php b/lib/Models/PayrollNz/CalendarType.php
index cf646829..e684c7d1 100644
--- a/lib/Models/PayrollNz/CalendarType.php
+++ b/lib/Models/PayrollNz/CalendarType.php
@@ -52,6 +52,7 @@ class CalendarType
const ANNUAL = 'Annual';
const QUARTERLY = 'Quarterly';
const TWICE_MONTHLY = 'TwiceMonthly';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -67,6 +68,7 @@ public static function getAllowableEnumValues()
self::ANNUAL,
self::QUARTERLY,
self::TWICE_MONTHLY,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollNz/Deduction.php b/lib/Models/PayrollNz/Deduction.php
index f9556ce5..f04c8fa4 100644
--- a/lib/Models/PayrollNz/Deduction.php
+++ b/lib/Models/PayrollNz/Deduction.php
@@ -188,6 +188,7 @@ public function getModelName()
const DEDUCTION_CATEGORY_KIWI_SAVER_VOLUNTARY_CONTRIBUTIONS = 'KiwiSaverVoluntaryContributions';
const DEDUCTION_CATEGORY_SUPERANNUATION = 'Superannuation';
const DEDUCTION_CATEGORY_NZ_OTHER = 'NzOther';
+ const DEDUCTION_CATEGORY_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -203,6 +204,7 @@ public function getDeductionCategoryAllowableValues()
self::DEDUCTION_CATEGORY_KIWI_SAVER_VOLUNTARY_CONTRIBUTIONS,
self::DEDUCTION_CATEGORY_SUPERANNUATION,
self::DEDUCTION_CATEGORY_NZ_OTHER,
+ self::DEDUCTION_CATEGORY_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/EarningsRate.php b/lib/Models/PayrollNz/EarningsRate.php
index 6c39bcaa..b29ed877 100644
--- a/lib/Models/PayrollNz/EarningsRate.php
+++ b/lib/Models/PayrollNz/EarningsRate.php
@@ -219,9 +219,11 @@ public function getModelName()
const EARNINGS_TYPE_TIPS_DIRECT = 'Tips(Direct)';
const EARNINGS_TYPE_TIPS_NON_DIRECT = 'Tips(Non-Direct)';
const EARNINGS_TYPE_WITHHOLDING_INCOME = 'WithholdingIncome';
+ const EARNINGS_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const RATE_TYPE_RATE_PER_UNIT = 'RatePerUnit';
const RATE_TYPE_MULTIPLE_OF_ORDINARY_EARNINGS_RATE = 'MultipleOfOrdinaryEarningsRate';
const RATE_TYPE_FIXED_AMOUNT = 'FixedAmount';
+ const RATE_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -248,6 +250,7 @@ public function getEarningsTypeAllowableValues()
self::EARNINGS_TYPE_TIPS_DIRECT,
self::EARNINGS_TYPE_TIPS_NON_DIRECT,
self::EARNINGS_TYPE_WITHHOLDING_INCOME,
+ self::EARNINGS_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -262,6 +265,7 @@ public function getRateTypeAllowableValues()
self::RATE_TYPE_RATE_PER_UNIT,
self::RATE_TYPE_MULTIPLE_OF_ORDINARY_EARNINGS_RATE,
self::RATE_TYPE_FIXED_AMOUNT,
+ self::RATE_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/Employee.php b/lib/Models/PayrollNz/Employee.php
index 84a00aa9..d55cec1c 100644
--- a/lib/Models/PayrollNz/Employee.php
+++ b/lib/Models/PayrollNz/Employee.php
@@ -241,6 +241,7 @@ public function getModelName()
const GENDER_M = 'M';
const GENDER_F = 'F';
+ const GENDER_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -254,6 +255,7 @@ public function getGenderAllowableValues()
return [
self::GENDER_M,
self::GENDER_F,
+ self::GENDER_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -301,6 +303,18 @@ public function listInvalidProperties()
{
$invalidProperties = [];
+ if ($this->container['first_name'] === null) {
+ $invalidProperties[] = "'first_name' can't be null";
+ }
+ if ($this->container['last_name'] === null) {
+ $invalidProperties[] = "'last_name' can't be null";
+ }
+ if ($this->container['date_of_birth'] === null) {
+ $invalidProperties[] = "'date_of_birth' can't be null";
+ }
+ if ($this->container['address'] === null) {
+ $invalidProperties[] = "'address' can't be null";
+ }
$allowedValues = $this->getGenderAllowableValues();
if (!is_null($this->container['gender']) && !in_array($this->container['gender'], $allowedValues, true)) {
$invalidProperties[] = sprintf(
@@ -381,7 +395,7 @@ public function setTitle($title)
/**
* Gets first_name
*
- * @return string|null
+ * @return string
*/
public function getFirstName()
{
@@ -391,7 +405,7 @@ public function getFirstName()
/**
* Sets first_name
*
- * @param string|null $first_name First name of employee
+ * @param string $first_name First name of employee
*
* @return $this
*/
@@ -408,7 +422,7 @@ public function setFirstName($first_name)
/**
* Gets last_name
*
- * @return string|null
+ * @return string
*/
public function getLastName()
{
@@ -418,7 +432,7 @@ public function getLastName()
/**
* Sets last_name
*
- * @param string|null $last_name Last name of employee
+ * @param string $last_name Last name of employee
*
* @return $this
*/
@@ -435,7 +449,7 @@ public function setLastName($last_name)
/**
* Gets date_of_birth
*
- * @return \DateTime|null
+ * @return \DateTime
*/
public function getDateOfBirth()
{
@@ -445,7 +459,7 @@ public function getDateOfBirth()
/**
* Sets date_of_birth
*
- * @param \DateTime|null $date_of_birth Date of birth of the employee (YYYY-MM-DD)
+ * @param \DateTime $date_of_birth Date of birth of the employee (YYYY-MM-DD)
*
* @return $this
*/
@@ -462,7 +476,7 @@ public function setDateOfBirth($date_of_birth)
/**
* Gets address
*
- * @return \XeroAPI\XeroPHP\Models\PayrollNz\Address|null
+ * @return \XeroAPI\XeroPHP\Models\PayrollNz\Address
*/
public function getAddress()
{
@@ -472,7 +486,7 @@ public function getAddress()
/**
* Sets address
*
- * @param \XeroAPI\XeroPHP\Models\PayrollNz\Address|null $address address
+ * @param \XeroAPI\XeroPHP\Models\PayrollNz\Address $address address
*
* @return $this
*/
diff --git a/lib/Models/PayrollNz/EmployeeLeaveType.php b/lib/Models/PayrollNz/EmployeeLeaveType.php
index d9de105d..597b9185 100644
--- a/lib/Models/PayrollNz/EmployeeLeaveType.php
+++ b/lib/Models/PayrollNz/EmployeeLeaveType.php
@@ -213,6 +213,7 @@ public function getModelName()
const SCHEDULE_OF_ACCRUAL_ON_ANNIVERSARY_DATE = 'OnAnniversaryDate';
const SCHEDULE_OF_ACCRUAL_PERCENTAGE_OF_GROSS_EARNINGS = 'PercentageOfGrossEarnings';
const SCHEDULE_OF_ACCRUAL_NO_ACCRUALS = 'NoAccruals';
+ const SCHEDULE_OF_ACCRUAL_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -228,6 +229,7 @@ public function getScheduleOfAccrualAllowableValues()
self::SCHEDULE_OF_ACCRUAL_ON_ANNIVERSARY_DATE,
self::SCHEDULE_OF_ACCRUAL_PERCENTAGE_OF_GROSS_EARNINGS,
self::SCHEDULE_OF_ACCRUAL_NO_ACCRUALS,
+ self::SCHEDULE_OF_ACCRUAL_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/EmployeeStatutoryLeaveBalance.php b/lib/Models/PayrollNz/EmployeeStatutoryLeaveBalance.php
index 073053e3..ceb3e25f 100644
--- a/lib/Models/PayrollNz/EmployeeStatutoryLeaveBalance.php
+++ b/lib/Models/PayrollNz/EmployeeStatutoryLeaveBalance.php
@@ -174,7 +174,9 @@ public function getModelName()
const LEAVE_TYPE_MATERNITY = 'Maternity';
const LEAVE_TYPE_PATERNITY = 'Paternity';
const LEAVE_TYPE_SHAREDPARENTAL = 'Sharedparental';
+ const LEAVE_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const UNITS_HOURS = 'Hours';
+ const UNITS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -191,6 +193,7 @@ public function getLeaveTypeAllowableValues()
self::LEAVE_TYPE_MATERNITY,
self::LEAVE_TYPE_PATERNITY,
self::LEAVE_TYPE_SHAREDPARENTAL,
+ self::LEAVE_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -203,6 +206,7 @@ public function getUnitsAllowableValues()
{
return [
self::UNITS_HOURS,
+ self::UNITS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/EmployeeStatutoryLeaveSummary.php b/lib/Models/PayrollNz/EmployeeStatutoryLeaveSummary.php
index 6f7f4f83..68d4b28a 100644
--- a/lib/Models/PayrollNz/EmployeeStatutoryLeaveSummary.php
+++ b/lib/Models/PayrollNz/EmployeeStatutoryLeaveSummary.php
@@ -194,9 +194,11 @@ public function getModelName()
const TYPE_MATERNITY = 'Maternity';
const TYPE_PATERNITY = 'Paternity';
const TYPE_SHAREDPARENTAL = 'Sharedparental';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_PENDING = 'Pending';
const STATUS_IN_PROGRESS = 'In-Progress';
const STATUS_COMPLETED = 'Completed';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -213,6 +215,7 @@ public function getTypeAllowableValues()
self::TYPE_MATERNITY,
self::TYPE_PATERNITY,
self::TYPE_SHAREDPARENTAL,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -227,6 +230,7 @@ public function getStatusAllowableValues()
self::STATUS_PENDING,
self::STATUS_IN_PROGRESS,
self::STATUS_COMPLETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/EmployeeStatutorySickLeave.php b/lib/Models/PayrollNz/EmployeeStatutorySickLeave.php
index 40752f58..bd1e5b82 100644
--- a/lib/Models/PayrollNz/EmployeeStatutorySickLeave.php
+++ b/lib/Models/PayrollNz/EmployeeStatutorySickLeave.php
@@ -240,6 +240,7 @@ public function getModelName()
const ENTITLEMENT_FAILURE_REASONS_EXCEEDED_MAXIMUM_ENTITLEMENT_WEEKS_OF_SSP = 'ExceededMaximumEntitlementWeeksOfSsp';
const ENTITLEMENT_FAILURE_REASONS_EXCEEDED_MAXIMUM_DURATION_OF_PIW = 'ExceededMaximumDurationOfPiw';
const ENTITLEMENT_FAILURE_REASONS_SUFFICIENT_NOTICE_NOT_GIVEN = 'SufficientNoticeNotGiven';
+ const ENTITLEMENT_FAILURE_REASONS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -257,6 +258,7 @@ public function getEntitlementFailureReasonsAllowableValues()
self::ENTITLEMENT_FAILURE_REASONS_EXCEEDED_MAXIMUM_ENTITLEMENT_WEEKS_OF_SSP,
self::ENTITLEMENT_FAILURE_REASONS_EXCEEDED_MAXIMUM_DURATION_OF_PIW,
self::ENTITLEMENT_FAILURE_REASONS_SUFFICIENT_NOTICE_NOT_GIVEN,
+ self::ENTITLEMENT_FAILURE_REASONS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/EmployeeTax.php b/lib/Models/PayrollNz/EmployeeTax.php
index f6867781..aa8770d1 100644
--- a/lib/Models/PayrollNz/EmployeeTax.php
+++ b/lib/Models/PayrollNz/EmployeeTax.php
@@ -239,6 +239,7 @@ public function getModelName()
const KIWI_SAVER_CONTRIBUTIONS_ON_A_CONTRIBUTIONS_HOLIDAY = 'OnAContributionsHoliday';
const KIWI_SAVER_CONTRIBUTIONS_ON_A_SAVINGS_SUSPENSION = 'OnASavingsSuspension';
const KIWI_SAVER_CONTRIBUTIONS_NOT_CURRENTLY_A_KIWI_SAVER_MEMBER = 'NotCurrentlyAKiwiSaverMember';
+ const KIWI_SAVER_CONTRIBUTIONS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -255,6 +256,7 @@ public function getKiwiSaverContributionsAllowableValues()
self::KIWI_SAVER_CONTRIBUTIONS_ON_A_CONTRIBUTIONS_HOLIDAY,
self::KIWI_SAVER_CONTRIBUTIONS_ON_A_SAVINGS_SUSPENSION,
self::KIWI_SAVER_CONTRIBUTIONS_NOT_CURRENTLY_A_KIWI_SAVER_MEMBER,
+ self::KIWI_SAVER_CONTRIBUTIONS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/Employment.php b/lib/Models/PayrollNz/Employment.php
index 54981820..3520706b 100644
--- a/lib/Models/PayrollNz/Employment.php
+++ b/lib/Models/PayrollNz/Employment.php
@@ -214,6 +214,15 @@ public function listInvalidProperties()
{
$invalidProperties = [];
+ if ($this->container['payroll_calendar_id'] === null) {
+ $invalidProperties[] = "'payroll_calendar_id' can't be null";
+ }
+ if ($this->container['start_date'] === null) {
+ $invalidProperties[] = "'start_date' can't be null";
+ }
+ if ($this->container['engagement_type'] === null) {
+ $invalidProperties[] = "'engagement_type' can't be null";
+ }
return $invalidProperties;
}
@@ -232,7 +241,7 @@ public function valid()
/**
* Gets payroll_calendar_id
*
- * @return string|null
+ * @return string
*/
public function getPayrollCalendarId()
{
@@ -242,7 +251,7 @@ public function getPayrollCalendarId()
/**
* Sets payroll_calendar_id
*
- * @param string|null $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
+ * @param string $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
*
* @return $this
*/
@@ -286,7 +295,7 @@ public function setPayRunCalendarId($pay_run_calendar_id)
/**
* Gets start_date
*
- * @return \DateTime|null
+ * @return \DateTime
*/
public function getStartDate()
{
@@ -296,7 +305,7 @@ public function getStartDate()
/**
* Sets start_date
*
- * @param \DateTime|null $start_date Start date of the employment (YYYY-MM-DD)
+ * @param \DateTime $start_date Start date of the employment (YYYY-MM-DD)
*
* @return $this
*/
@@ -313,7 +322,7 @@ public function setStartDate($start_date)
/**
* Gets engagement_type
*
- * @return string|null
+ * @return string
*/
public function getEngagementType()
{
@@ -323,7 +332,7 @@ public function getEngagementType()
/**
* Sets engagement_type
*
- * @param string|null $engagement_type Engagement type of the employee
+ * @param string $engagement_type Engagement type of the employee
*
* @return $this
*/
diff --git a/lib/Models/PayrollNz/LeavePeriod.php b/lib/Models/PayrollNz/LeavePeriod.php
index c7344fb7..8d575190 100644
--- a/lib/Models/PayrollNz/LeavePeriod.php
+++ b/lib/Models/PayrollNz/LeavePeriod.php
@@ -176,6 +176,7 @@ public function getModelName()
const PERIOD_STATUS_APPROVED = 'Approved';
const PERIOD_STATUS_COMPLETED = 'Completed';
+ const PERIOD_STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -189,6 +190,7 @@ public function getPeriodStatusAllowableValues()
return [
self::PERIOD_STATUS_APPROVED,
self::PERIOD_STATUS_COMPLETED,
+ self::PERIOD_STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/PayRun.php b/lib/Models/PayrollNz/PayRun.php
index 5a17e90d..f4c19dc4 100644
--- a/lib/Models/PayrollNz/PayRun.php
+++ b/lib/Models/PayrollNz/PayRun.php
@@ -216,9 +216,11 @@ public function getModelName()
const PAY_RUN_STATUS_DRAFT = 'Draft';
const PAY_RUN_STATUS_POSTED = 'Posted';
+ const PAY_RUN_STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const PAY_RUN_TYPE_SCHEDULED = 'Scheduled';
const PAY_RUN_TYPE_UNSCHEDULED = 'Unscheduled';
const PAY_RUN_TYPE_EARLIER_YEAR_UPDATE = 'EarlierYearUpdate';
+ const PAY_RUN_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -232,6 +234,7 @@ public function getPayRunStatusAllowableValues()
return [
self::PAY_RUN_STATUS_DRAFT,
self::PAY_RUN_STATUS_POSTED,
+ self::PAY_RUN_STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -246,6 +249,7 @@ public function getPayRunTypeAllowableValues()
self::PAY_RUN_TYPE_SCHEDULED,
self::PAY_RUN_TYPE_UNSCHEDULED,
self::PAY_RUN_TYPE_EARLIER_YEAR_UPDATE,
+ self::PAY_RUN_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/PaySlip.php b/lib/Models/PayrollNz/PaySlip.php
index 6c687fef..f0ddb47f 100644
--- a/lib/Models/PayrollNz/PaySlip.php
+++ b/lib/Models/PayrollNz/PaySlip.php
@@ -307,6 +307,7 @@ public function getModelName()
const PAYMENT_METHOD_CHEQUE = 'Cheque';
const PAYMENT_METHOD_ELECTRONICALLY = 'Electronically';
const PAYMENT_METHOD_MANUAL = 'Manual';
+ const PAYMENT_METHOD_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -321,6 +322,7 @@ public function getPaymentMethodAllowableValues()
self::PAYMENT_METHOD_CHEQUE,
self::PAYMENT_METHOD_ELECTRONICALLY,
self::PAYMENT_METHOD_MANUAL,
+ self::PAYMENT_METHOD_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/PaymentMethod.php b/lib/Models/PayrollNz/PaymentMethod.php
index fc7b4ea5..32dc26ea 100644
--- a/lib/Models/PayrollNz/PaymentMethod.php
+++ b/lib/Models/PayrollNz/PaymentMethod.php
@@ -167,6 +167,7 @@ public function getModelName()
const PAYMENT_METHOD_CHEQUE = 'Cheque';
const PAYMENT_METHOD_ELECTRONICALLY = 'Electronically';
const PAYMENT_METHOD_MANUAL = 'Manual';
+ const PAYMENT_METHOD_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -181,6 +182,7 @@ public function getPaymentMethodAllowableValues()
self::PAYMENT_METHOD_CHEQUE,
self::PAYMENT_METHOD_ELECTRONICALLY,
self::PAYMENT_METHOD_MANUAL,
+ self::PAYMENT_METHOD_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/Reimbursement.php b/lib/Models/PayrollNz/Reimbursement.php
index 1227dc3f..59a155b6 100644
--- a/lib/Models/PayrollNz/Reimbursement.php
+++ b/lib/Models/PayrollNz/Reimbursement.php
@@ -202,11 +202,14 @@ public function getModelName()
const REIMBURSEMENT_CATEGORY_GST = 'GST';
const REIMBURSEMENT_CATEGORY_NO_GST = 'NoGST';
const REIMBURSEMENT_CATEGORY_GST_INCLUSIVE = 'GSTInclusive';
+ const REIMBURSEMENT_CATEGORY_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const CALCULATION_TYPE_UNKNOWN = 'Unknown';
const CALCULATION_TYPE_FIXED_AMOUNT = 'FixedAmount';
const CALCULATION_TYPE_RATE_PER_UNIT = 'RatePerUnit';
+ const CALCULATION_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STANDARD_TYPE_OF_UNITS_HOURS = 'Hours';
const STANDARD_TYPE_OF_UNITS_KM = 'km';
+ const STANDARD_TYPE_OF_UNITS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -221,6 +224,7 @@ public function getReimbursementCategoryAllowableValues()
self::REIMBURSEMENT_CATEGORY_GST,
self::REIMBURSEMENT_CATEGORY_NO_GST,
self::REIMBURSEMENT_CATEGORY_GST_INCLUSIVE,
+ self::REIMBURSEMENT_CATEGORY_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -235,6 +239,7 @@ public function getCalculationTypeAllowableValues()
self::CALCULATION_TYPE_UNKNOWN,
self::CALCULATION_TYPE_FIXED_AMOUNT,
self::CALCULATION_TYPE_RATE_PER_UNIT,
+ self::CALCULATION_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -248,6 +253,7 @@ public function getStandardTypeOfUnitsAllowableValues()
return [
self::STANDARD_TYPE_OF_UNITS_HOURS,
self::STANDARD_TYPE_OF_UNITS_KM,
+ self::STANDARD_TYPE_OF_UNITS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/SalaryAndWage.php b/lib/Models/PayrollNz/SalaryAndWage.php
index b714557e..967df3bd 100644
--- a/lib/Models/PayrollNz/SalaryAndWage.php
+++ b/lib/Models/PayrollNz/SalaryAndWage.php
@@ -212,10 +212,13 @@ public function getModelName()
const STATUS_ACTIVE = 'Active';
const STATUS_PENDING = 'Pending';
const STATUS_HISTORY = 'History';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const PAYMENT_TYPE_SALARY = 'Salary';
const PAYMENT_TYPE_HOURLY = 'Hourly';
+ const PAYMENT_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const WORK_PATTERN_TYPE_DAYS_AND_HOURS = 'DaysAndHours';
const WORK_PATTERN_TYPE_REGULAR_WEEK = 'RegularWeek';
+ const WORK_PATTERN_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -230,6 +233,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_PENDING,
self::STATUS_HISTORY,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -243,6 +247,7 @@ public function getPaymentTypeAllowableValues()
return [
self::PAYMENT_TYPE_SALARY,
self::PAYMENT_TYPE_HOURLY,
+ self::PAYMENT_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -256,6 +261,7 @@ public function getWorkPatternTypeAllowableValues()
return [
self::WORK_PATTERN_TYPE_DAYS_AND_HOURS,
self::WORK_PATTERN_TYPE_REGULAR_WEEK,
+ self::WORK_PATTERN_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/StatutoryDeductionCategory.php b/lib/Models/PayrollNz/StatutoryDeductionCategory.php
index a4cd9b04..4e9b8731 100644
--- a/lib/Models/PayrollNz/StatutoryDeductionCategory.php
+++ b/lib/Models/PayrollNz/StatutoryDeductionCategory.php
@@ -56,6 +56,7 @@ class StatutoryDeductionCategory
const ADDITIONAL_STUDENT_LOAN = 'AdditionalStudentLoan';
const VOLUNTARY_STUDENT_LOAN = 'VoluntaryStudentLoan';
const KIWI_SAVER = 'KiwiSaver';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -75,6 +76,7 @@ public static function getAllowableEnumValues()
self::ADDITIONAL_STUDENT_LOAN,
self::VOLUNTARY_STUDENT_LOAN,
self::KIWI_SAVER,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollNz/TaxCode.php b/lib/Models/PayrollNz/TaxCode.php
index c2891fc1..56187001 100644
--- a/lib/Models/PayrollNz/TaxCode.php
+++ b/lib/Models/PayrollNz/TaxCode.php
@@ -64,6 +64,7 @@ class TaxCode
const NSW = 'NSW';
const STC = 'STC';
const STCSL = 'STCSL';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -91,6 +92,7 @@ public static function getAllowableEnumValues()
self::NSW,
self::STC,
self::STCSL,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollNz/TaxSettings.php b/lib/Models/PayrollNz/TaxSettings.php
index bc6863c3..6add1e69 100644
--- a/lib/Models/PayrollNz/TaxSettings.php
+++ b/lib/Models/PayrollNz/TaxSettings.php
@@ -186,6 +186,7 @@ public function getModelName()
const PERIOD_TYPE_WEEKS = 'weeks';
const PERIOD_TYPE_MONTHS = 'months';
+ const PERIOD_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -199,6 +200,7 @@ public function getPeriodTypeAllowableValues()
return [
self::PERIOD_TYPE_WEEKS,
self::PERIOD_TYPE_MONTHS,
+ self::PERIOD_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollNz/Timesheet.php b/lib/Models/PayrollNz/Timesheet.php
index f810dd71..3309f9fd 100644
--- a/lib/Models/PayrollNz/Timesheet.php
+++ b/lib/Models/PayrollNz/Timesheet.php
@@ -203,6 +203,7 @@ public function getModelName()
const STATUS_APPROVED = 'Approved';
const STATUS_COMPLETED = 'Completed';
const STATUS_REQUESTED = 'Requested';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -218,6 +219,7 @@ public function getStatusAllowableValues()
self::STATUS_APPROVED,
self::STATUS_COMPLETED,
self::STATUS_REQUESTED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/Account.php b/lib/Models/PayrollUk/Account.php
index 08bb1fae..cd6f743f 100644
--- a/lib/Models/PayrollUk/Account.php
+++ b/lib/Models/PayrollUk/Account.php
@@ -181,6 +181,7 @@ public function getModelName()
const TYPE_PAYELIABILITY = 'PAYELIABILITY';
const TYPE_WAGESPAYABLE = 'WAGESPAYABLE';
const TYPE_WAGESEXPENSE = 'WAGESEXPENSE';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -199,6 +200,7 @@ public function getTypeAllowableValues()
self::TYPE_PAYELIABILITY,
self::TYPE_WAGESPAYABLE,
self::TYPE_WAGESEXPENSE,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/Benefit.php b/lib/Models/PayrollUk/Benefit.php
index 48651925..797bfc4a 100644
--- a/lib/Models/PayrollUk/Benefit.php
+++ b/lib/Models/PayrollUk/Benefit.php
@@ -226,8 +226,10 @@ public function getModelName()
const CATEGORY_STAKEHOLDER_PENSION = 'StakeholderPension';
const CATEGORY_OTHER = 'Other';
+ const CATEGORY_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const CALCULATION_TYPE_FIXED_AMOUNT = 'FixedAmount';
const CALCULATION_TYPE_PERCENTAGE_OF_GROSS = 'PercentageOfGross';
+ const CALCULATION_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -241,6 +243,7 @@ public function getCategoryAllowableValues()
return [
self::CATEGORY_STAKEHOLDER_PENSION,
self::CATEGORY_OTHER,
+ self::CATEGORY_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -254,6 +257,7 @@ public function getCalculationTypeAllowableValues()
return [
self::CALCULATION_TYPE_FIXED_AMOUNT,
self::CALCULATION_TYPE_PERCENTAGE_OF_GROSS,
+ self::CALCULATION_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/Deduction.php b/lib/Models/PayrollUk/Deduction.php
index fe26ed7e..35b6d8d1 100644
--- a/lib/Models/PayrollUk/Deduction.php
+++ b/lib/Models/PayrollUk/Deduction.php
@@ -244,8 +244,10 @@ public function getModelName()
const DEDUCTION_CATEGORY_STAKEHOLDER_PENSION_POST_TAX = 'StakeholderPensionPostTax';
const DEDUCTION_CATEGORY_STUDENT_LOAN_DEDUCTIONS = 'StudentLoanDeductions';
const DEDUCTION_CATEGORY_UK_OTHER = 'UkOther';
+ const DEDUCTION_CATEGORY_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const CALCULATION_TYPE_FIXED_AMOUNT = 'FixedAmount';
const CALCULATION_TYPE_PERCENTAGE_OF_GROSS = 'PercentageOfGross';
+ const CALCULATION_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -267,6 +269,7 @@ public function getDeductionCategoryAllowableValues()
self::DEDUCTION_CATEGORY_STAKEHOLDER_PENSION_POST_TAX,
self::DEDUCTION_CATEGORY_STUDENT_LOAN_DEDUCTIONS,
self::DEDUCTION_CATEGORY_UK_OTHER,
+ self::DEDUCTION_CATEGORY_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -280,6 +283,7 @@ public function getCalculationTypeAllowableValues()
return [
self::CALCULATION_TYPE_FIXED_AMOUNT,
self::CALCULATION_TYPE_PERCENTAGE_OF_GROSS,
+ self::CALCULATION_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/EarningsRate.php b/lib/Models/PayrollUk/EarningsRate.php
index af01b262..895a513f 100644
--- a/lib/Models/PayrollUk/EarningsRate.php
+++ b/lib/Models/PayrollUk/EarningsRate.php
@@ -227,9 +227,11 @@ public function getModelName()
const EARNINGS_TYPE_TIPS_NON_DIRECT = 'TipsNonDirect';
const EARNINGS_TYPE_TIPS_DIRECT = 'TipsDirect';
const EARNINGS_TYPE_TERMINATION_PAY = 'TerminationPay';
+ const EARNINGS_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const RATE_TYPE_RATE_PER_UNIT = 'RatePerUnit';
const RATE_TYPE_MULTIPLE_OF_ORDINARY_EARNINGS_RATE = 'MultipleOfOrdinaryEarningsRate';
const RATE_TYPE_FIXED_AMOUNT = 'FixedAmount';
+ const RATE_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -264,6 +266,7 @@ public function getEarningsTypeAllowableValues()
self::EARNINGS_TYPE_TIPS_NON_DIRECT,
self::EARNINGS_TYPE_TIPS_DIRECT,
self::EARNINGS_TYPE_TERMINATION_PAY,
+ self::EARNINGS_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -278,6 +281,7 @@ public function getRateTypeAllowableValues()
self::RATE_TYPE_RATE_PER_UNIT,
self::RATE_TYPE_MULTIPLE_OF_ORDINARY_EARNINGS_RATE,
self::RATE_TYPE_FIXED_AMOUNT,
+ self::RATE_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/Employee.php b/lib/Models/PayrollUk/Employee.php
index 73342e9b..71027688 100644
--- a/lib/Models/PayrollUk/Employee.php
+++ b/lib/Models/PayrollUk/Employee.php
@@ -236,6 +236,7 @@ public function getModelName()
const GENDER_M = 'M';
const GENDER_F = 'F';
+ const GENDER_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -249,6 +250,7 @@ public function getGenderAllowableValues()
return [
self::GENDER_M,
self::GENDER_F,
+ self::GENDER_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -295,6 +297,24 @@ public function listInvalidProperties()
{
$invalidProperties = [];
+ if ($this->container['title'] === null) {
+ $invalidProperties[] = "'title' can't be null";
+ }
+ if ($this->container['first_name'] === null) {
+ $invalidProperties[] = "'first_name' can't be null";
+ }
+ if ($this->container['last_name'] === null) {
+ $invalidProperties[] = "'last_name' can't be null";
+ }
+ if ($this->container['date_of_birth'] === null) {
+ $invalidProperties[] = "'date_of_birth' can't be null";
+ }
+ if ($this->container['address'] === null) {
+ $invalidProperties[] = "'address' can't be null";
+ }
+ if ($this->container['gender'] === null) {
+ $invalidProperties[] = "'gender' can't be null";
+ }
$allowedValues = $this->getGenderAllowableValues();
if (!is_null($this->container['gender']) && !in_array($this->container['gender'], $allowedValues, true)) {
$invalidProperties[] = sprintf(
@@ -348,7 +368,7 @@ public function setEmployeeId($employee_id)
/**
* Gets title
*
- * @return string|null
+ * @return string
*/
public function getTitle()
{
@@ -358,7 +378,7 @@ public function getTitle()
/**
* Sets title
*
- * @param string|null $title Title of the employee
+ * @param string $title Title of the employee
*
* @return $this
*/
@@ -375,7 +395,7 @@ public function setTitle($title)
/**
* Gets first_name
*
- * @return string|null
+ * @return string
*/
public function getFirstName()
{
@@ -385,7 +405,7 @@ public function getFirstName()
/**
* Sets first_name
*
- * @param string|null $first_name First name of employee
+ * @param string $first_name First name of employee
*
* @return $this
*/
@@ -402,7 +422,7 @@ public function setFirstName($first_name)
/**
* Gets last_name
*
- * @return string|null
+ * @return string
*/
public function getLastName()
{
@@ -412,7 +432,7 @@ public function getLastName()
/**
* Sets last_name
*
- * @param string|null $last_name Last name of employee
+ * @param string $last_name Last name of employee
*
* @return $this
*/
@@ -429,7 +449,7 @@ public function setLastName($last_name)
/**
* Gets date_of_birth
*
- * @return \DateTime|null
+ * @return \DateTime
*/
public function getDateOfBirth()
{
@@ -439,7 +459,7 @@ public function getDateOfBirth()
/**
* Sets date_of_birth
*
- * @param \DateTime|null $date_of_birth Date of birth of the employee (YYYY-MM-DD)
+ * @param \DateTime $date_of_birth Date of birth of the employee (YYYY-MM-DD)
*
* @return $this
*/
@@ -456,7 +476,7 @@ public function setDateOfBirth($date_of_birth)
/**
* Gets address
*
- * @return \XeroAPI\XeroPHP\Models\PayrollUk\Address|null
+ * @return \XeroAPI\XeroPHP\Models\PayrollUk\Address
*/
public function getAddress()
{
@@ -466,7 +486,7 @@ public function getAddress()
/**
* Sets address
*
- * @param \XeroAPI\XeroPHP\Models\PayrollUk\Address|null $address address
+ * @param \XeroAPI\XeroPHP\Models\PayrollUk\Address $address address
*
* @return $this
*/
@@ -510,7 +530,7 @@ public function setEmail($email)
/**
* Gets gender
*
- * @return string|null
+ * @return string
*/
public function getGender()
{
@@ -520,14 +540,14 @@ public function getGender()
/**
* Sets gender
*
- * @param string|null $gender The employee’s gender
+ * @param string $gender The employee’s gender
*
* @return $this
*/
public function setGender($gender)
{
$allowedValues = $this->getGenderAllowableValues();
- if (!is_null($gender) && !in_array($gender, $allowedValues, true)) {
+ if (!in_array($gender, $allowedValues, true)) {
throw new \InvalidArgumentException(
sprintf(
"Invalid value for 'gender', must be one of '%s'",
diff --git a/lib/Models/PayrollUk/EmployeeLeaveType.php b/lib/Models/PayrollUk/EmployeeLeaveType.php
index 16a805cc..d43dcfb9 100644
--- a/lib/Models/PayrollUk/EmployeeLeaveType.php
+++ b/lib/Models/PayrollUk/EmployeeLeaveType.php
@@ -193,6 +193,7 @@ public function getModelName()
const SCHEDULE_OF_ACCRUAL_ON_ANNIVERSARY_DATE = 'OnAnniversaryDate';
const SCHEDULE_OF_ACCRUAL_EACH_PAY_PERIOD = 'EachPayPeriod';
const SCHEDULE_OF_ACCRUAL_ON_HOUR_WORKED = 'OnHourWorked';
+ const SCHEDULE_OF_ACCRUAL_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -208,6 +209,7 @@ public function getScheduleOfAccrualAllowableValues()
self::SCHEDULE_OF_ACCRUAL_ON_ANNIVERSARY_DATE,
self::SCHEDULE_OF_ACCRUAL_EACH_PAY_PERIOD,
self::SCHEDULE_OF_ACCRUAL_ON_HOUR_WORKED,
+ self::SCHEDULE_OF_ACCRUAL_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/EmployeeStatutoryLeaveBalance.php b/lib/Models/PayrollUk/EmployeeStatutoryLeaveBalance.php
index 17a6896e..5b83c6f7 100644
--- a/lib/Models/PayrollUk/EmployeeStatutoryLeaveBalance.php
+++ b/lib/Models/PayrollUk/EmployeeStatutoryLeaveBalance.php
@@ -174,7 +174,9 @@ public function getModelName()
const LEAVE_TYPE_MATERNITY = 'Maternity';
const LEAVE_TYPE_PATERNITY = 'Paternity';
const LEAVE_TYPE_SHAREDPARENTAL = 'Sharedparental';
+ const LEAVE_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const UNITS_HOURS = 'Hours';
+ const UNITS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -191,6 +193,7 @@ public function getLeaveTypeAllowableValues()
self::LEAVE_TYPE_MATERNITY,
self::LEAVE_TYPE_PATERNITY,
self::LEAVE_TYPE_SHAREDPARENTAL,
+ self::LEAVE_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -203,6 +206,7 @@ public function getUnitsAllowableValues()
{
return [
self::UNITS_HOURS,
+ self::UNITS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/EmployeeStatutoryLeaveSummary.php b/lib/Models/PayrollUk/EmployeeStatutoryLeaveSummary.php
index 79bc2d4b..ee6ce156 100644
--- a/lib/Models/PayrollUk/EmployeeStatutoryLeaveSummary.php
+++ b/lib/Models/PayrollUk/EmployeeStatutoryLeaveSummary.php
@@ -194,9 +194,11 @@ public function getModelName()
const TYPE_MATERNITY = 'Maternity';
const TYPE_PATERNITY = 'Paternity';
const TYPE_SHAREDPARENTAL = 'Sharedparental';
+ const TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const STATUS_PENDING = 'Pending';
const STATUS_IN_PROGRESS = 'In-Progress';
const STATUS_COMPLETED = 'Completed';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -213,6 +215,7 @@ public function getTypeAllowableValues()
self::TYPE_MATERNITY,
self::TYPE_PATERNITY,
self::TYPE_SHAREDPARENTAL,
+ self::TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -227,6 +230,7 @@ public function getStatusAllowableValues()
self::STATUS_PENDING,
self::STATUS_IN_PROGRESS,
self::STATUS_COMPLETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/EmployeeStatutorySickLeave.php b/lib/Models/PayrollUk/EmployeeStatutorySickLeave.php
index faa16abf..df39d0a2 100644
--- a/lib/Models/PayrollUk/EmployeeStatutorySickLeave.php
+++ b/lib/Models/PayrollUk/EmployeeStatutorySickLeave.php
@@ -240,6 +240,7 @@ public function getModelName()
const ENTITLEMENT_FAILURE_REASONS_EXCEEDED_MAXIMUM_ENTITLEMENT_WEEKS_OF_SSP = 'ExceededMaximumEntitlementWeeksOfSsp';
const ENTITLEMENT_FAILURE_REASONS_EXCEEDED_MAXIMUM_DURATION_OF_PIW = 'ExceededMaximumDurationOfPiw';
const ENTITLEMENT_FAILURE_REASONS_SUFFICIENT_NOTICE_NOT_GIVEN = 'SufficientNoticeNotGiven';
+ const ENTITLEMENT_FAILURE_REASONS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -257,6 +258,7 @@ public function getEntitlementFailureReasonsAllowableValues()
self::ENTITLEMENT_FAILURE_REASONS_EXCEEDED_MAXIMUM_ENTITLEMENT_WEEKS_OF_SSP,
self::ENTITLEMENT_FAILURE_REASONS_EXCEEDED_MAXIMUM_DURATION_OF_PIW,
self::ENTITLEMENT_FAILURE_REASONS_SUFFICIENT_NOTICE_NOT_GIVEN,
+ self::ENTITLEMENT_FAILURE_REASONS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/Employment.php b/lib/Models/PayrollUk/Employment.php
index 313325c3..0064b0bc 100644
--- a/lib/Models/PayrollUk/Employment.php
+++ b/lib/Models/PayrollUk/Employment.php
@@ -187,6 +187,7 @@ public function getModelName()
const NI_CATEGORY_V = 'V';
const NI_CATEGORY_X = 'X';
const NI_CATEGORY_Z = 'Z';
+ const NI_CATEGORY_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -211,6 +212,7 @@ public function getNiCategoryAllowableValues()
self::NI_CATEGORY_V,
self::NI_CATEGORY_X,
self::NI_CATEGORY_Z,
+ self::NI_CATEGORY_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -245,6 +247,18 @@ public function listInvalidProperties()
{
$invalidProperties = [];
+ if ($this->container['payroll_calendar_id'] === null) {
+ $invalidProperties[] = "'payroll_calendar_id' can't be null";
+ }
+ if ($this->container['start_date'] === null) {
+ $invalidProperties[] = "'start_date' can't be null";
+ }
+ if ($this->container['employee_number'] === null) {
+ $invalidProperties[] = "'employee_number' can't be null";
+ }
+ if ($this->container['ni_category'] === null) {
+ $invalidProperties[] = "'ni_category' can't be null";
+ }
$allowedValues = $this->getNiCategoryAllowableValues();
if (!is_null($this->container['ni_category']) && !in_array($this->container['ni_category'], $allowedValues, true)) {
$invalidProperties[] = sprintf(
@@ -271,7 +285,7 @@ public function valid()
/**
* Gets payroll_calendar_id
*
- * @return string|null
+ * @return string
*/
public function getPayrollCalendarId()
{
@@ -281,7 +295,7 @@ public function getPayrollCalendarId()
/**
* Sets payroll_calendar_id
*
- * @param string|null $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
+ * @param string $payroll_calendar_id Xero unique identifier for the payroll calendar of the employee
*
* @return $this
*/
@@ -298,7 +312,7 @@ public function setPayrollCalendarId($payroll_calendar_id)
/**
* Gets start_date
*
- * @return \DateTime|null
+ * @return \DateTime
*/
public function getStartDate()
{
@@ -308,7 +322,7 @@ public function getStartDate()
/**
* Sets start_date
*
- * @param \DateTime|null $start_date Start date of the employment (YYYY-MM-DD)
+ * @param \DateTime $start_date Start date of the employment (YYYY-MM-DD)
*
* @return $this
*/
@@ -325,7 +339,7 @@ public function setStartDate($start_date)
/**
* Gets employee_number
*
- * @return string|null
+ * @return string
*/
public function getEmployeeNumber()
{
@@ -335,7 +349,7 @@ public function getEmployeeNumber()
/**
* Sets employee_number
*
- * @param string|null $employee_number The employment number of the employee
+ * @param string $employee_number The employment number of the employee
*
* @return $this
*/
@@ -352,7 +366,7 @@ public function setEmployeeNumber($employee_number)
/**
* Gets ni_category
*
- * @return string|null
+ * @return string
*/
public function getNiCategory()
{
@@ -362,14 +376,14 @@ public function getNiCategory()
/**
* Sets ni_category
*
- * @param string|null $ni_category The NI Category of the employee
+ * @param string $ni_category The NI Category of the employee
*
* @return $this
*/
public function setNiCategory($ni_category)
{
$allowedValues = $this->getNiCategoryAllowableValues();
- if (!is_null($ni_category) && !in_array($ni_category, $allowedValues, true)) {
+ if (!in_array($ni_category, $allowedValues, true)) {
throw new \InvalidArgumentException(
sprintf(
"Invalid value for 'ni_category', must be one of '%s'",
diff --git a/lib/Models/PayrollUk/LeavePeriod.php b/lib/Models/PayrollUk/LeavePeriod.php
index 5a9cc33c..8c6293c1 100644
--- a/lib/Models/PayrollUk/LeavePeriod.php
+++ b/lib/Models/PayrollUk/LeavePeriod.php
@@ -176,6 +176,7 @@ public function getModelName()
const PERIOD_STATUS_APPROVED = 'Approved';
const PERIOD_STATUS_COMPLETED = 'Completed';
+ const PERIOD_STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -189,6 +190,7 @@ public function getPeriodStatusAllowableValues()
return [
self::PERIOD_STATUS_APPROVED,
self::PERIOD_STATUS_COMPLETED,
+ self::PERIOD_STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/PayRun.php b/lib/Models/PayrollUk/PayRun.php
index be8db962..ad456184 100644
--- a/lib/Models/PayrollUk/PayRun.php
+++ b/lib/Models/PayrollUk/PayRun.php
@@ -216,15 +216,18 @@ public function getModelName()
const PAY_RUN_STATUS_DRAFT = 'Draft';
const PAY_RUN_STATUS_POSTED = 'Posted';
+ const PAY_RUN_STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const PAY_RUN_TYPE_SCHEDULED = 'Scheduled';
const PAY_RUN_TYPE_UNSCHEDULED = 'Unscheduled';
const PAY_RUN_TYPE_EARLIER_YEAR_UPDATE = 'EarlierYearUpdate';
+ const PAY_RUN_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const CALENDAR_TYPE_WEEKLY = 'Weekly';
const CALENDAR_TYPE_FORTNIGHTLY = 'Fortnightly';
const CALENDAR_TYPE_FOUR_WEEKLY = 'FourWeekly';
const CALENDAR_TYPE_MONTHLY = 'Monthly';
const CALENDAR_TYPE_ANNUAL = 'Annual';
const CALENDAR_TYPE_QUARTERLY = 'Quarterly';
+ const CALENDAR_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -238,6 +241,7 @@ public function getPayRunStatusAllowableValues()
return [
self::PAY_RUN_STATUS_DRAFT,
self::PAY_RUN_STATUS_POSTED,
+ self::PAY_RUN_STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -252,6 +256,7 @@ public function getPayRunTypeAllowableValues()
self::PAY_RUN_TYPE_SCHEDULED,
self::PAY_RUN_TYPE_UNSCHEDULED,
self::PAY_RUN_TYPE_EARLIER_YEAR_UPDATE,
+ self::PAY_RUN_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -269,6 +274,7 @@ public function getCalendarTypeAllowableValues()
self::CALENDAR_TYPE_MONTHLY,
self::CALENDAR_TYPE_ANNUAL,
self::CALENDAR_TYPE_QUARTERLY,
+ self::CALENDAR_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/PayRunCalendar.php b/lib/Models/PayrollUk/PayRunCalendar.php
index faa2051c..92a77ff0 100644
--- a/lib/Models/PayrollUk/PayRunCalendar.php
+++ b/lib/Models/PayrollUk/PayRunCalendar.php
@@ -195,6 +195,7 @@ public function getModelName()
const CALENDAR_TYPE_MONTHLY = 'Monthly';
const CALENDAR_TYPE_ANNUAL = 'Annual';
const CALENDAR_TYPE_QUARTERLY = 'Quarterly';
+ const CALENDAR_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -212,6 +213,7 @@ public function getCalendarTypeAllowableValues()
self::CALENDAR_TYPE_MONTHLY,
self::CALENDAR_TYPE_ANNUAL,
self::CALENDAR_TYPE_QUARTERLY,
+ self::CALENDAR_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/PaymentMethod.php b/lib/Models/PayrollUk/PaymentMethod.php
index 23453b79..5dd0d243 100644
--- a/lib/Models/PayrollUk/PaymentMethod.php
+++ b/lib/Models/PayrollUk/PaymentMethod.php
@@ -167,6 +167,7 @@ public function getModelName()
const PAYMENT_METHOD_CHEQUE = 'Cheque';
const PAYMENT_METHOD_ELECTRONICALLY = 'Electronically';
const PAYMENT_METHOD_MANUAL = 'Manual';
+ const PAYMENT_METHOD_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -181,6 +182,7 @@ public function getPaymentMethodAllowableValues()
self::PAYMENT_METHOD_CHEQUE,
self::PAYMENT_METHOD_ELECTRONICALLY,
self::PAYMENT_METHOD_MANUAL,
+ self::PAYMENT_METHOD_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/Payslip.php b/lib/Models/PayrollUk/Payslip.php
index 74c9475c..d83356fc 100644
--- a/lib/Models/PayrollUk/Payslip.php
+++ b/lib/Models/PayrollUk/Payslip.php
@@ -297,6 +297,7 @@ public function getModelName()
const PAYMENT_METHOD_CHEQUE = 'Cheque';
const PAYMENT_METHOD_ELECTRONICALLY = 'Electronically';
const PAYMENT_METHOD_MANUAL = 'Manual';
+ const PAYMENT_METHOD_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -311,6 +312,7 @@ public function getPaymentMethodAllowableValues()
self::PAYMENT_METHOD_CHEQUE,
self::PAYMENT_METHOD_ELECTRONICALLY,
self::PAYMENT_METHOD_MANUAL,
+ self::PAYMENT_METHOD_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/SalaryAndWage.php b/lib/Models/PayrollUk/SalaryAndWage.php
index 4c8538ba..a9933e43 100644
--- a/lib/Models/PayrollUk/SalaryAndWage.php
+++ b/lib/Models/PayrollUk/SalaryAndWage.php
@@ -202,8 +202,10 @@ public function getModelName()
const STATUS_ACTIVE = 'Active';
const STATUS_PENDING = 'Pending';
const STATUS_HISTORY = 'History';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
const PAYMENT_TYPE_SALARY = 'Salary';
const PAYMENT_TYPE_HOURLY = 'Hourly';
+ const PAYMENT_TYPE_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -218,6 +220,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_PENDING,
self::STATUS_HISTORY,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
@@ -231,6 +234,7 @@ public function getPaymentTypeAllowableValues()
return [
self::PAYMENT_TYPE_SALARY,
self::PAYMENT_TYPE_HOURLY,
+ self::PAYMENT_TYPE_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/PayrollUk/StatutoryDeductionCategory.php b/lib/Models/PayrollUk/StatutoryDeductionCategory.php
index 6cc966b9..53cf9845 100644
--- a/lib/Models/PayrollUk/StatutoryDeductionCategory.php
+++ b/lib/Models/PayrollUk/StatutoryDeductionCategory.php
@@ -59,6 +59,7 @@ class StatutoryDeductionCategory
const STUDENT_LOAN = 'StudentLoan';
const VOLUNTARY_STUDENT_LOAN = 'VoluntaryStudentLoan';
const US_CHILD_SUPPORT = 'USChildSupport';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -81,6 +82,7 @@ public static function getAllowableEnumValues()
self::STUDENT_LOAN,
self::VOLUNTARY_STUDENT_LOAN,
self::US_CHILD_SUPPORT,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/PayrollUk/Timesheet.php b/lib/Models/PayrollUk/Timesheet.php
index 09c2b667..ceac7e6a 100644
--- a/lib/Models/PayrollUk/Timesheet.php
+++ b/lib/Models/PayrollUk/Timesheet.php
@@ -202,6 +202,7 @@ public function getModelName()
const STATUS_DRAFT = 'Draft';
const STATUS_APPROVED = 'Approved';
const STATUS_COMPLETED = 'Completed';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -216,6 +217,7 @@ public function getStatusAllowableValues()
self::STATUS_DRAFT,
self::STATUS_APPROVED,
self::STATUS_COMPLETED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Project/ChargeType.php b/lib/Models/Project/ChargeType.php
index feebf426..813114ce 100644
--- a/lib/Models/Project/ChargeType.php
+++ b/lib/Models/Project/ChargeType.php
@@ -48,6 +48,7 @@ class ChargeType
const TIME = 'TIME';
const FIXED = 'FIXED';
const NON_CHARGEABLE = 'NON_CHARGEABLE';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -59,6 +60,7 @@ public static function getAllowableEnumValues()
self::TIME,
self::FIXED,
self::NON_CHARGEABLE,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Project/CurrencyCode.php b/lib/Models/Project/CurrencyCode.php
index fbeed4b4..8066bba9 100644
--- a/lib/Models/Project/CurrencyCode.php
+++ b/lib/Models/Project/CurrencyCode.php
@@ -208,6 +208,7 @@ class CurrencyCode
const ZMW = 'ZMW';
const ZMK = 'ZMK';
const ZWD = 'ZWD';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -379,6 +380,7 @@ public static function getAllowableEnumValues()
self::ZMW,
self::ZMK,
self::ZWD,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Project/ProjectStatus.php b/lib/Models/Project/ProjectStatus.php
index 4c6cc76b..5fed7482 100644
--- a/lib/Models/Project/ProjectStatus.php
+++ b/lib/Models/Project/ProjectStatus.php
@@ -47,6 +47,7 @@ class ProjectStatus
*/
const INPROGRESS = 'INPROGRESS';
const CLOSED = 'CLOSED';
+ const UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
/**
* Gets allowable values of the enum
@@ -57,6 +58,7 @@ public static function getAllowableEnumValues()
return [
self::INPROGRESS,
self::CLOSED,
+ self::UNKNOWN_DEFAULT_OPEN_API,
];
}
}
diff --git a/lib/Models/Project/Task.php b/lib/Models/Project/Task.php
index bebf0914..532fe8b3 100644
--- a/lib/Models/Project/Task.php
+++ b/lib/Models/Project/Task.php
@@ -232,6 +232,7 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_INVOICED = 'INVOICED';
const STATUS_LOCKED = 'LOCKED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -246,6 +247,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_INVOICED,
self::STATUS_LOCKED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}
diff --git a/lib/Models/Project/TimeEntry.php b/lib/Models/Project/TimeEntry.php
index 79271816..cd66b05f 100644
--- a/lib/Models/Project/TimeEntry.php
+++ b/lib/Models/Project/TimeEntry.php
@@ -202,6 +202,7 @@ public function getModelName()
const STATUS_ACTIVE = 'ACTIVE';
const STATUS_LOCKED = 'LOCKED';
const STATUS_INVOICED = 'INVOICED';
+ const STATUS_UNKNOWN_DEFAULT_OPEN_API = 'unknown_default_open_api';
@@ -216,6 +217,7 @@ public function getStatusAllowableValues()
self::STATUS_ACTIVE,
self::STATUS_LOCKED,
self::STATUS_INVOICED,
+ self::STATUS_UNKNOWN_DEFAULT_OPEN_API,
];
}