/* Options: Date: 2024-12-15 19:50:27 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SetNotesRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ITenantedRequest { organisationId?: string; } export class PutOperationUnTenanted implements IPut { public constructor(init?: Partial>) { (Object as any).assign(this, init); } } export class PutOperationTenanted extends PutOperationUnTenanted implements ITenantedRequest { public organisationId?: string; public constructor(init?: Partial>) { super(init); (Object as any).assign(this, init); } } // @DataContract export class ResponseError { // @DataMember(Order=1) public errorCode?: string; // @DataMember(Order=2) public fieldName?: string; // @DataMember(Order=3) public message?: string; // @DataMember(Order=4) public meta?: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public errorCode?: string; // @DataMember(Order=2) public message?: string; // @DataMember(Order=3) public stackTrace?: string; // @DataMember(Order=4) public errors?: ResponseError[]; // @DataMember(Order=5) public meta?: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BudgetBreakdown { public leaseAmount?: number; public administrationFee?: number; public fuel?: number; public servicing?: number; public tyres?: number; public insurance?: number; public carWash?: number; public registration?: number; public roadSideAssistance?: number; public anythingExtra?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Employment { public payrollCycle?: string; public firstPayDate: string; public employerId?: string; public employerName?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Vehicle { public make?: string; public model?: string; public colour?: string; public bodyShape?: string; public licensePlate?: string; public transmission?: string; public manufactureYear: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BankAccount { public bsbNumber?: string; public accountNumber?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class LeaseDetails { public term?: number; public startDate?: string; public amountFinanced?: number; public paymentAmount?: number; public financeProvider?: string; public residualValue?: number; public yearlyKmsTravelled?: number; public fringeBenefitTaxValue?: number; public fringeBenefitTaxMethod?: string; public fringeBenefitTaxBusinessUse: number; public fringeBenefitTaxStartDate: string; public preTaxDeduction?: number; public postTaxDeduction?: number; public gstOnPostTaxDeduction?: number; public luxuryVehicleCharge?: number; public onRoadCost: number; public registrationDueDate: string; public insuranceDueDate: string; public leaseProviderBankAccount?: BankAccount; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BudgetBalances { public leaseAmount: number; public administrationFee: number; public fuel: number; public servicing: number; public tyres: number; public insurance: number; public carWash: number; public registration: number; public roadSideAssistance: number; public anythingExtra: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SalarySacrificeBreakdown { public leaseAmount?: number; public administrationFee?: number; public fuel?: number; public servicing?: number; public tyres?: number; public insurance?: number; public carWash?: number; public registration?: number; public roadSideAssistance?: number; public anythingExtra?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SalarySacrifice { public paymentDate: string; public salarySacrificeBreakdown?: SalarySacrificeBreakdown; public preTaxDeduction: number; public postTaxDeduction: number; public contributionId?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ForecastedSalarySacrifice { public paymentDate: string; public amount: number; public matched?: SalarySacrifice; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Expense { public budgetCategory?: string; public amount: number; public gst: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ForecastedOutgoingPayment { public scheduled: string; public amount: number; public budgetCategory?: string; public matched?: Expense; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Adjustment implements IIdentifiableResource { public budgetCategory?: string; public amount: number; public gst: number; public description?: string; public received: string; public id?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Transaction { public received: string; public budgetCategory?: string; public amount: number; public gst: number; public description?: string; public type?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class SalaryPackage implements IIdentifiableResource { public customerId?: string; public customerFirstName?: string; public customerLastName?: string; public status?: string; public notes?: string; public budgetBreakdown?: BudgetBreakdown; public employment?: Employment; public vehicle?: Vehicle; public leaseDetails?: LeaseDetails; public budgetBalances?: BudgetBalances; public currentBalance: number; public forecastedSalarySacrifices?: ForecastedSalarySacrifice[]; public forecastedOutgoingPayments?: ForecastedOutgoingPayment[]; public adjustments?: Adjustment[]; public transactions?: Transaction[]; public id?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IIdentifiableResource { id?: string; } export class SetNotesResponse { public responseStatus?: ResponseStatus; public salaryPackage?: SalaryPackage; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/packages/{Id}/update-notes", "PUT") export class SetNotesRequest extends PutOperationTenanted implements IReturn { public id?: string; public notes?: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'SetNotesRequest'; } public getMethod() { return 'PUT'; } public createResponse() { return new SetNotesResponse(); } }