UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

51 lines 1.76 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Tuix Services * Tuix Services API * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MarkEmployeeInvoicePaidDTOToJSON = exports.MarkEmployeeInvoicePaidDTOFromJSONTyped = exports.MarkEmployeeInvoicePaidDTOFromJSON = exports.instanceOfMarkEmployeeInvoicePaidDTO = void 0; /** * Check if a given object implements the MarkEmployeeInvoicePaidDTO interface. */ function instanceOfMarkEmployeeInvoicePaidDTO(value) { let isInstance = true; isInstance = isInstance && "isPaid" in value; return isInstance; } exports.instanceOfMarkEmployeeInvoicePaidDTO = instanceOfMarkEmployeeInvoicePaidDTO; function MarkEmployeeInvoicePaidDTOFromJSON(json) { return MarkEmployeeInvoicePaidDTOFromJSONTyped(json, false); } exports.MarkEmployeeInvoicePaidDTOFromJSON = MarkEmployeeInvoicePaidDTOFromJSON; function MarkEmployeeInvoicePaidDTOFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'isPaid': json['isPaid'], }; } exports.MarkEmployeeInvoicePaidDTOFromJSONTyped = MarkEmployeeInvoicePaidDTOFromJSONTyped; function MarkEmployeeInvoicePaidDTOToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'isPaid': value.isPaid, }; } exports.MarkEmployeeInvoicePaidDTOToJSON = MarkEmployeeInvoicePaidDTOToJSON; //# sourceMappingURL=MarkEmployeeInvoicePaidDTO.js.map