XeroAPI / Xero-NetStandard

A wrapper of the Xero API in the .NetStandard 2.0 framework. Supports Accounting, Payroll AU/US, and Files
MIT License
118 stars 119 forks source link

PayRollNZ Employee class missing EmploymentType member #480

Open roaddirect-development opened 1 year ago

roaddirect-development commented 1 year ago

SDK you're using (please complete the following information): Xero.NetStandard.OAuth2 3.33.0

Describe the bug https://github.com/XeroAPI/Xero-NetStandard/blob/master/Xero.NetStandard.OAuth2/Model/PayrollNz/Employee.cs Missing EmploymentType member/property

To Reproduce Steps to reproduce the behavior: Make a call to GetEmployeesAsync using Xero.NetStandard.OAuth2 3.33.0

Expected behavior Class should include EmploymentType which is returned when using https://api-explorer.xero.com/payrollnz/employees/getemployees

Additional context Example response from https://api-explorer.xero.com/payrollnz/employees/getemployees for Demo Company (NZ)

{
      "employeeID": "9110fe65-90a8-4113-9317-88eb4ffca00c",
      "firstName": "Casual",
      "lastName": "Worker",
      "dateOfBirth": "1994-12-01T00:00:00",
      "gender": "M",
      "email": null,
      "phoneNumber": null,
      "startDate": "2023-02-09T00:00:00",
      "address": {
        "addressLine1": "30 King St",
        "addressLine2": null,
        "city": "Rangiora",
        "suburb": null,
        "countryName": "NEW ZEALAND",
        "postCode": "7400"
      },
      "payrollCalendarID": "f32fcef0-0c27-4951-a15b-3a669c3a7cc1",
      "updatedDateUTC": "2023-05-23T00:49:50",
      "createdDateUTC": "2023-05-22T23:40:22",
      "endDate": null,
      **"employmentType": "Employee",**
      "jobTitle": null
    }
github-actions[bot] commented 1 year ago

PETOSS-306

github-actions[bot] commented 1 year ago

Thanks for raising an issue, a ticket has been created to track your request

guilhermeblima commented 8 months ago

bump