diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 4443a88a..643c6684 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -6345,7 +6345,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods createAccount diff --git a/docs/appstore/index.html b/docs/appstore/index.html index ed3e9139..374a33b8 100644 --- a/docs/appstore/index.html +++ b/docs/appstore/index.html @@ -1242,7 +1242,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods getSubscription diff --git a/docs/assets/index.html b/docs/assets/index.html index ba3c587a..be700867 100644 --- a/docs/assets/index.html +++ b/docs/assets/index.html @@ -1420,7 +1420,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods createAsset diff --git a/docs/bankfeeds/index.html b/docs/bankfeeds/index.html index beffac24..5e421e8c 100644 --- a/docs/bankfeeds/index.html +++ b/docs/bankfeeds/index.html @@ -1269,7 +1269,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods createFeedConnections diff --git a/docs/files/index.html b/docs/files/index.html index 3add74a5..f8e2745f 100644 --- a/docs/files/index.html +++ b/docs/files/index.html @@ -1171,7 +1171,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods createFileAssociation diff --git a/docs/finance/index.html b/docs/finance/index.html index b99522be..88927a94 100644 --- a/docs/finance/index.html +++ b/docs/finance/index.html @@ -2717,7 +2717,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods getAccountingActivityAccountUsage diff --git a/docs/payroll-au/index.html b/docs/payroll-au/index.html index a89cb755..68e465d1 100644 --- a/docs/payroll-au/index.html +++ b/docs/payroll-au/index.html @@ -3413,7 +3413,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods approveLeaveApplication diff --git a/docs/payroll-nz/index.html b/docs/payroll-nz/index.html index cd36354d..e2693b70 100644 --- a/docs/payroll-nz/index.html +++ b/docs/payroll-nz/index.html @@ -4088,7 +4088,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods approveTimesheet diff --git a/docs/payroll-uk/index.html b/docs/payroll-uk/index.html index f0bf81ef..fd0a83cd 100644 --- a/docs/payroll-uk/index.html +++ b/docs/payroll-uk/index.html @@ -1091,6 +1091,53 @@ } }, "description" : "" +}; + defs["ContractType"] = { + "title" : "", + "type" : "string", + "description" : "The contract type of the employee.", + "example" : "FullTime", + "enum" : [ "FullTime", "PartTime", "ZeroHour", "Unspecified" ] +}; + defs["Contracts"] = { + "title" : "", + "required" : [ "contractType", "employmentStatus", "startDate" ], + "type" : "object", + "properties" : { + "startDate" : { + "type" : "string", + "description" : "The contract start date of the employee. This will be locked once an employee has been paid and cannot be changed (YYYY-MM-DD)", + "format" : "date", + "example" : "2024-12-02", + "x-is-date" : true + }, + "employmentStatus" : { + "$ref" : "#/components/schemas/EmploymentStatus" + }, + "contractType" : { + "$ref" : "#/components/schemas/ContractType" + }, + "publicKey" : { + "type" : "string", + "description" : "The public key of the contract. Public key is required if the intention is to edit an existing contract. If no key is supplied a new contract will be created", + "format" : "uuid" + }, + "isFixedTerm" : { + "type" : "boolean", + "description" : "describes whether the contract is fixed term (required if trying to create Fixed term contract)" + }, + "fixedTermEndDate" : { + "type" : "string", + "description" : "The fixed term end date of the employee. Not required if isFixedTerm is false or not provided (required if trying to create Fixed term contract)", + "format" : "date", + "example" : "2025-11-01", + "x-is-date" : true + }, + "developmentalRoleDetails" : { + "$ref" : "#/components/schemas/DevelopmentalRoleDetails" + } + }, + "description" : "" }; defs["CourtOrderLine"] = { "title" : "", @@ -1249,6 +1296,38 @@ } }, "description" : "" +}; + defs["DevelopmentalRoleDetails"] = { + "title" : "", + "required" : [ "developmentalRole", "endDate", "startDate" ], + "type" : "object", + "properties" : { + "startDate" : { + "type" : "string", + "description" : "The start date of the developmental role", + "format" : "date", + "example" : "2024-12-02", + "x-is-date" : true + }, + "endDate" : { + "type" : "string", + "description" : "The end date of the developmental role", + "format" : "date", + "example" : "2024-12-02", + "x-is-date" : true + }, + "developmentalRole" : { + "type" : "string", + "description" : "The developmental role type - \"Apprentice\" is the only supported role currently", + "example" : "Apprentice" + }, + "publicKey" : { + "type" : "string", + "description" : "The public key of the developmental role. Public key is required if the intention is to edit an existing developmental role. If no key is supplied a new developmental role will be created", + "format" : "uuid" + } + }, + "description" : "" }; defs["EarningsLine"] = { "title" : "", @@ -1613,6 +1692,13 @@ "isOffPayrollWorker" : { "type" : "boolean", "description" : "Whether the employee is an off payroll worker" + }, + "contracts" : { + "type" : "array", + "description" : "The employee's contracts", + "items" : { + "$ref" : "#/components/schemas/Contracts" + } } }, "description" : "" @@ -2300,6 +2386,13 @@ "items" : { "$ref" : "#/components/schemas/NICategory" } + }, + "contracts" : { + "type" : "array", + "description" : "The employee's contracts", + "items" : { + "$ref" : "#/components/schemas/Contracts" + } } }, "description" : "" @@ -2319,6 +2412,13 @@ } }, "description" : "" +}; + defs["EmploymentStatus"] = { + "title" : "", + "type" : "string", + "description" : "The employment status of the employee.", + "example" : "Employee", + "enum" : [ "Employee", "Worker", "Unspecified" ] }; defs["InvalidField"] = { "title" : "", @@ -3601,7 +3701,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods approveTimesheet diff --git a/docs/projects/index.html b/docs/projects/index.html index ae5018df..9210aeac 100644 --- a/docs/projects/index.html +++ b/docs/projects/index.html @@ -1463,7 +1463,7 @@ SDK: - VSN: 13.2.0 + VSN: 13.3.0 Methods createProject diff --git a/package.json b/package.json index 7ee257c9..51601b29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xero-node", - "version": "13.2.0", + "version": "13.3.0", "description": "Xero NodeJS OAuth 2.0 client for xero-node", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/gen/api/accountingApi.ts b/src/gen/api/accountingApi.ts index 17cf6719..ecc5a381 100644 --- a/src/gen/api/accountingApi.ts +++ b/src/gen/api/accountingApi.ts @@ -2,7 +2,7 @@ * Xero Accounting API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -85,7 +85,7 @@ export enum AccountingApiApiKeys { export class AccountingApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/appStoreApi.ts b/src/gen/api/appStoreApi.ts index b0784172..980bff9d 100644 --- a/src/gen/api/appStoreApi.ts +++ b/src/gen/api/appStoreApi.ts @@ -2,7 +2,7 @@ * Xero AppStore API * These endpoints are for Xero Partners to interact with the App Store Billing platform * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -38,7 +38,7 @@ export enum AppStoreApiApiKeys { export class AppStoreApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/assetApi.ts b/src/gen/api/assetApi.ts index 4d5f3d97..18ae604c 100644 --- a/src/gen/api/assetApi.ts +++ b/src/gen/api/assetApi.ts @@ -2,7 +2,7 @@ * Xero Assets API * The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc. * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -37,7 +37,7 @@ export enum AssetApiApiKeys { export class AssetApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/bankfeedsApi.ts b/src/gen/api/bankfeedsApi.ts index 53215328..7971f902 100644 --- a/src/gen/api/bankfeedsApi.ts +++ b/src/gen/api/bankfeedsApi.ts @@ -2,7 +2,7 @@ * Xero Bank Feeds API * The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you\'re an existing financial services partner that wants access, contact your local Partner Manager. If you\'re a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner. * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -36,7 +36,7 @@ export enum BankFeedsApiApiKeys { export class BankFeedsApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/filesApi.ts b/src/gen/api/filesApi.ts index 1f730feb..f2ce826f 100644 --- a/src/gen/api/filesApi.ts +++ b/src/gen/api/filesApi.ts @@ -2,7 +2,7 @@ * Xero Files API * These endpoints are specific to Xero Files API * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -36,7 +36,7 @@ export enum FilesApiApiKeys { export class FilesApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/financeApi.ts b/src/gen/api/financeApi.ts index c6b4a468..c42dd54b 100644 --- a/src/gen/api/financeApi.ts +++ b/src/gen/api/financeApi.ts @@ -2,7 +2,7 @@ * Xero Finance API * The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital. * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -44,7 +44,7 @@ export enum FinanceApiApiKeys { export class FinanceApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/payrollAUApi.ts b/src/gen/api/payrollAUApi.ts index e891c60e..7e773117 100644 --- a/src/gen/api/payrollAUApi.ts +++ b/src/gen/api/payrollAUApi.ts @@ -2,7 +2,7 @@ * Xero Payroll AU API * This is the Xero Payroll API for orgs in Australia region. * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ export enum PayrollAuApiApiKeys { export class PayrollAuApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/payrollNZApi.ts b/src/gen/api/payrollNZApi.ts index 7585363e..a1db30a4 100644 --- a/src/gen/api/payrollNZApi.ts +++ b/src/gen/api/payrollNZApi.ts @@ -2,7 +2,7 @@ * Xero Payroll NZ * This is the Xero Payroll API for orgs in the NZ region. * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -97,7 +97,7 @@ export enum PayrollNzApiApiKeys { export class PayrollNzApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/payrollUKApi.ts b/src/gen/api/payrollUKApi.ts index d892ff31..57717e28 100644 --- a/src/gen/api/payrollUKApi.ts +++ b/src/gen/api/payrollUKApi.ts @@ -2,7 +2,7 @@ * Xero Payroll UK * This is the Xero Payroll API for orgs in the UK region. * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -93,7 +93,7 @@ export enum PayrollUkApiApiKeys { export class PayrollUkApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/api/projectApi.ts b/src/gen/api/projectApi.ts index 6652c361..e0d99417 100644 --- a/src/gen/api/projectApi.ts +++ b/src/gen/api/projectApi.ts @@ -2,7 +2,7 @@ * Xero Projects API * This is the Xero Projects API * - * The version of the OpenAPI document: 9.2.0 + * The version of the OpenAPI document: 9.3.0 * Contact: api@xero.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -44,7 +44,7 @@ export enum ProjectApiApiKeys { export class ProjectApi { protected _basePath = defaultBasePath; - protected defaultHeaders : any = {'user-agent': 'xero-node-13.2.0'}; + protected defaultHeaders : any = {'user-agent': 'xero-node-13.3.0'}; protected _useQuerystring : boolean = false; protected binaryHeaders : any = {}; diff --git a/src/gen/model/payroll-uk/contractType.ts b/src/gen/model/payroll-uk/contractType.ts new file mode 100644 index 00000000..783e158e --- /dev/null +++ b/src/gen/model/payroll-uk/contractType.ts @@ -0,0 +1,10 @@ + +/** +* The contract type of the employee. +*/ +export enum ContractType { + FullTime = 'FullTime', + PartTime = 'PartTime', + ZeroHour = 'ZeroHour', + Unspecified = 'Unspecified' +} diff --git a/src/gen/model/payroll-uk/contracts.ts b/src/gen/model/payroll-uk/contracts.ts new file mode 100644 index 00000000..3af896a9 --- /dev/null +++ b/src/gen/model/payroll-uk/contracts.ts @@ -0,0 +1,69 @@ +import { ContractType } from '././contractType'; +import { DevelopmentalRoleDetails } from '././developmentalRoleDetails'; +import { EmploymentStatus } from '././employmentStatus'; + +export class Contracts { + /** + * The contract start date of the employee. This will be locked once an employee has been paid and cannot be changed (YYYY-MM-DD) + */ + 'startDate': string; + 'employmentStatus': EmploymentStatus; + 'contractType': ContractType; + /** + * The public key of the contract. Public key is required if the intention is to edit an existing contract. If no key is supplied a new contract will be created + */ + 'publicKey'?: string; + /** + * describes whether the contract is fixed term (required if trying to create Fixed term contract) + */ + 'isFixedTerm'?: boolean; + /** + * The fixed term end date of the employee. Not required if isFixedTerm is false or not provided (required if trying to create Fixed term contract) + */ + 'fixedTermEndDate'?: string; + 'developmentalRoleDetails'?: DevelopmentalRoleDetails; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "startDate", + "baseName": "startDate", + "type": "string" + }, + { + "name": "employmentStatus", + "baseName": "employmentStatus", + "type": "EmploymentStatus" + }, + { + "name": "contractType", + "baseName": "contractType", + "type": "ContractType" + }, + { + "name": "publicKey", + "baseName": "publicKey", + "type": "string" + }, + { + "name": "isFixedTerm", + "baseName": "isFixedTerm", + "type": "boolean" + }, + { + "name": "fixedTermEndDate", + "baseName": "fixedTermEndDate", + "type": "string" + }, + { + "name": "developmentalRoleDetails", + "baseName": "developmentalRoleDetails", + "type": "DevelopmentalRoleDetails" + } ]; + + static getAttributeTypeMap() { + return Contracts.attributeTypeMap; + } +} + diff --git a/src/gen/model/payroll-uk/developmentalRoleDetails.ts b/src/gen/model/payroll-uk/developmentalRoleDetails.ts new file mode 100644 index 00000000..eb5a98c8 --- /dev/null +++ b/src/gen/model/payroll-uk/developmentalRoleDetails.ts @@ -0,0 +1,48 @@ + +export class DevelopmentalRoleDetails { + /** + * The start date of the developmental role + */ + 'startDate': string; + /** + * The end date of the developmental role + */ + 'endDate': string; + /** + * The developmental role type - \"Apprentice\" is the only supported role currently + */ + 'developmentalRole': string; + /** + * The public key of the developmental role. Public key is required if the intention is to edit an existing developmental role. If no key is supplied a new developmental role will be created + */ + 'publicKey'?: string; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ + { + "name": "startDate", + "baseName": "startDate", + "type": "string" + }, + { + "name": "endDate", + "baseName": "endDate", + "type": "string" + }, + { + "name": "developmentalRole", + "baseName": "developmentalRole", + "type": "string" + }, + { + "name": "publicKey", + "baseName": "publicKey", + "type": "string" + } ]; + + static getAttributeTypeMap() { + return DevelopmentalRoleDetails.attributeTypeMap; + } +} + diff --git a/src/gen/model/payroll-uk/employee.ts b/src/gen/model/payroll-uk/employee.ts index 1ba714c5..615b2311 100644 --- a/src/gen/model/payroll-uk/employee.ts +++ b/src/gen/model/payroll-uk/employee.ts @@ -1,4 +1,5 @@ import { Address } from '././address'; +import { Contracts } from '././contracts'; import { NICategory } from '././nICategory'; import { NICategoryLetter } from '././nICategoryLetter'; @@ -69,6 +70,10 @@ export class Employee { * Whether the employee is an off payroll worker */ 'isOffPayrollWorker'?: boolean; + /** + * The employee\'s contracts + */ + 'contracts'?: Array; static discriminator: string | undefined = undefined; @@ -162,6 +167,11 @@ export class Employee { "name": "isOffPayrollWorker", "baseName": "isOffPayrollWorker", "type": "boolean" + }, + { + "name": "contracts", + "baseName": "contracts", + "type": "Array" } ]; static getAttributeTypeMap() { diff --git a/src/gen/model/payroll-uk/employment.ts b/src/gen/model/payroll-uk/employment.ts index 47eec9d2..d9f9adc8 100644 --- a/src/gen/model/payroll-uk/employment.ts +++ b/src/gen/model/payroll-uk/employment.ts @@ -1,3 +1,4 @@ +import { Contracts } from '././contracts'; import { NICategory } from '././nICategory'; import { NICategoryLetter } from '././nICategoryLetter'; @@ -19,6 +20,10 @@ export class Employment { * The employee\'s NI categories */ 'niCategories': Array; + /** + * The employee\'s contracts + */ + 'contracts'?: Array; static discriminator: string | undefined = undefined; @@ -47,6 +52,11 @@ export class Employment { "name": "niCategories", "baseName": "niCategories", "type": "Array" + }, + { + "name": "contracts", + "baseName": "contracts", + "type": "Array" } ]; static getAttributeTypeMap() { diff --git a/src/gen/model/payroll-uk/employmentStatus.ts b/src/gen/model/payroll-uk/employmentStatus.ts new file mode 100644 index 00000000..e7531731 --- /dev/null +++ b/src/gen/model/payroll-uk/employmentStatus.ts @@ -0,0 +1,9 @@ + +/** +* The employment status of the employee. +*/ +export enum EmploymentStatus { + Employee = 'Employee', + Worker = 'Worker', + Unspecified = 'Unspecified' +} diff --git a/src/gen/model/payroll-uk/models.ts b/src/gen/model/payroll-uk/models.ts index 73ad438f..0ac45206 100644 --- a/src/gen/model/payroll-uk/models.ts +++ b/src/gen/model/payroll-uk/models.ts @@ -6,11 +6,14 @@ export * from '././benefit'; export * from '././benefitLine'; export * from '././benefitObject'; export * from '././benefits'; +export * from '././contractType'; +export * from '././contracts'; export * from '././courtOrderLine'; export * from '././deduction'; export * from '././deductionLine'; export * from '././deductionObject'; export * from '././deductions'; +export * from '././developmentalRoleDetails'; export * from '././earningsLine'; export * from '././earningsOrder'; export * from '././earningsOrderObject'; @@ -47,6 +50,7 @@ export * from '././employeeTaxObject'; export * from '././employees'; export * from '././employment'; export * from '././employmentObject'; +export * from '././employmentStatus'; export * from '././invalidField'; export * from '././leaveAccrualLine'; export * from '././leaveEarningsLine'; @@ -101,11 +105,14 @@ import { Benefit } from '././benefit'; import { BenefitLine } from '././benefitLine'; import { BenefitObject } from '././benefitObject'; import { Benefits } from '././benefits'; +import { ContractType } from '././contractType'; +import { Contracts } from '././contracts'; import { CourtOrderLine } from '././courtOrderLine'; import { Deduction } from '././deduction'; import { DeductionLine } from '././deductionLine'; import { DeductionObject } from '././deductionObject'; import { Deductions } from '././deductions'; +import { DevelopmentalRoleDetails } from '././developmentalRoleDetails'; import { EarningsLine } from '././earningsLine'; import { EarningsOrder } from '././earningsOrder'; import { EarningsOrderObject } from '././earningsOrderObject'; @@ -142,6 +149,7 @@ import { EmployeeTaxObject } from '././employeeTaxObject'; import { Employees } from '././employees'; import { Employment } from '././employment'; import { EmploymentObject } from '././employmentObject'; +import { EmploymentStatus } from '././employmentStatus'; import { InvalidField } from '././invalidField'; import { LeaveAccrualLine } from '././leaveAccrualLine'; import { LeaveEarningsLine } from '././leaveEarningsLine'; @@ -204,6 +212,7 @@ let enumsMap: {[index: string]: any} = { "Account.TypeEnum": Account.TypeEnum, "Benefit.CategoryEnum": Benefit.CategoryEnum, "Benefit.CalculationTypeEnum": Benefit.CalculationTypeEnum, + "ContractType": ContractType, "Deduction.DeductionCategoryEnum": Deduction.DeductionCategoryEnum, "Deduction.CalculationTypeEnum": Deduction.CalculationTypeEnum, "EarningsRate.EarningsTypeEnum": EarningsRate.EarningsTypeEnum, @@ -215,6 +224,7 @@ let enumsMap: {[index: string]: any} = { "EmployeeStatutoryLeaveSummary.TypeEnum": EmployeeStatutoryLeaveSummary.TypeEnum, "EmployeeStatutoryLeaveSummary.StatusEnum": EmployeeStatutoryLeaveSummary.StatusEnum, "EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum": EmployeeStatutorySickLeave.EntitlementFailureReasonsEnum, + "EmploymentStatus": EmploymentStatus, "LeavePeriod.PeriodStatusEnum": LeavePeriod.PeriodStatusEnum, "NICategoryLetter": NICategoryLetter, "NICategoryOneOf.NiCategoryEnum": NICategoryOneOf.NiCategoryEnum, @@ -240,11 +250,13 @@ let typeMap: {[index: string]: any} = { "BenefitLine": BenefitLine, "BenefitObject": BenefitObject, "Benefits": Benefits, + "Contracts": Contracts, "CourtOrderLine": CourtOrderLine, "Deduction": Deduction, "DeductionLine": DeductionLine, "DeductionObject": DeductionObject, "Deductions": Deductions, + "DevelopmentalRoleDetails": DevelopmentalRoleDetails, "EarningsLine": EarningsLine, "EarningsOrder": EarningsOrder, "EarningsOrderObject": EarningsOrderObject,