UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

42 lines 1.73 kB
import { exists } from '../runtime.js'; export var EmailExportRecipientsRecipientsTypeEnum; (function (EmailExportRecipientsRecipientsTypeEnum) { EmailExportRecipientsRecipientsTypeEnum["All"] = "all"; EmailExportRecipientsRecipientsTypeEnum["NonClickers"] = "nonClickers"; EmailExportRecipientsRecipientsTypeEnum["NonOpeners"] = "nonOpeners"; EmailExportRecipientsRecipientsTypeEnum["Clickers"] = "clickers"; EmailExportRecipientsRecipientsTypeEnum["Openers"] = "openers"; EmailExportRecipientsRecipientsTypeEnum["SoftBounces"] = "softBounces"; EmailExportRecipientsRecipientsTypeEnum["HardBounces"] = "hardBounces"; EmailExportRecipientsRecipientsTypeEnum["Unsubscribed"] = "unsubscribed"; })(EmailExportRecipientsRecipientsTypeEnum || (EmailExportRecipientsRecipientsTypeEnum = {})); export function instanceOfEmailExportRecipients(value) { let isInstance = true; isInstance = isInstance && 'recipientsType' in value; return isInstance; } export function EmailExportRecipientsFromJSON(json) { return EmailExportRecipientsFromJSONTyped(json, false); } export function EmailExportRecipientsFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { notifyURL: !exists(json, 'notifyURL') ? undefined : json['notifyURL'], recipientsType: json['recipientsType'], }; } export function EmailExportRecipientsToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { notifyURL: value.notifyURL, recipientsType: value.recipientsType, }; } //# sourceMappingURL=EmailExportRecipients.js.map