@apideck/node
Version:
Apideck Node.js SDK
84 lines (83 loc) • 2.33 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Compensation } from './Compensation';
import { PayrollTotals } from './PayrollTotals';
/**
*
* @export
* @interface Payroll
*/
export interface Payroll {
/**
* A unique identifier for an object.
* @type {string}
* @memberof Payroll
*/
readonly id: string | null;
/**
* Whether or not the payroll has been successfully processed. Note that processed payrolls cannot be updated.
* @type {boolean}
* @memberof Payroll
*/
processed: boolean | null;
/**
* The date on which employees will be paid for the payroll.
* @type {string}
* @memberof Payroll
*/
check_date: string | null;
/**
* The start date, inclusive, of the pay period.
* @type {string}
* @memberof Payroll
*/
start_date: string | null;
/**
* The end date, inclusive, of the pay period.
* @type {string}
* @memberof Payroll
*/
end_date: string | null;
/**
* The unique identifier of the company.
* @type {string}
* @memberof Payroll
*/
company_id?: string | null;
/**
* The date the payroll was processed.
* @type {string}
* @memberof Payroll
*/
processed_date?: string | null;
/**
*
* @type {PayrollTotals}
* @memberof Payroll
*/
totals?: PayrollTotals;
/**
* An array of compensations for the payroll.
* @type {Array<Compensation>}
* @memberof Payroll
*/
compensations?: Array<Compensation>;
/**
* When custom mappings are configured on the resource, the result is included here.
* @type {object}
* @memberof Payroll
*/
readonly custom_mappings?: object | null;
}
export declare function PayrollFromJSON(json: any): Payroll;
export declare function PayrollFromJSONTyped(json: any, ignoreDiscriminator: boolean): Payroll;
export declare function PayrollToJSON(value?: Payroll | null): any;