UNPKG

tuix-timesheets-api

Version:

This package facilitates the client request to tuix timesheets api

51 lines 1.61 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.SendNewsletterDtoToJSON = exports.SendNewsletterDtoFromJSONTyped = exports.SendNewsletterDtoFromJSON = exports.instanceOfSendNewsletterDto = void 0; /** * Check if a given object implements the SendNewsletterDto interface. */ function instanceOfSendNewsletterDto(value) { let isInstance = true; isInstance = isInstance && "templateId" in value; return isInstance; } exports.instanceOfSendNewsletterDto = instanceOfSendNewsletterDto; function SendNewsletterDtoFromJSON(json) { return SendNewsletterDtoFromJSONTyped(json, false); } exports.SendNewsletterDtoFromJSON = SendNewsletterDtoFromJSON; function SendNewsletterDtoFromJSONTyped(json, ignoreDiscriminator) { if ((json === undefined) || (json === null)) { return json; } return { 'templateId': json['templateId'], }; } exports.SendNewsletterDtoFromJSONTyped = SendNewsletterDtoFromJSONTyped; function SendNewsletterDtoToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'templateId': value.templateId, }; } exports.SendNewsletterDtoToJSON = SendNewsletterDtoToJSON; //# sourceMappingURL=SendNewsletterDto.js.map