@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
40 lines • 1.65 kB
JavaScript
import { exists } from '../runtime.js';
export var RequestSmsRecipientExportRecipientsTypeEnum;
(function (RequestSmsRecipientExportRecipientsTypeEnum) {
RequestSmsRecipientExportRecipientsTypeEnum["All"] = "all";
RequestSmsRecipientExportRecipientsTypeEnum["Delivered"] = "delivered";
RequestSmsRecipientExportRecipientsTypeEnum["Answered"] = "answered";
RequestSmsRecipientExportRecipientsTypeEnum["SoftBounces"] = "softBounces";
RequestSmsRecipientExportRecipientsTypeEnum["HardBounces"] = "hardBounces";
RequestSmsRecipientExportRecipientsTypeEnum["Unsubscribed"] = "unsubscribed";
})(RequestSmsRecipientExportRecipientsTypeEnum || (RequestSmsRecipientExportRecipientsTypeEnum = {}));
export function instanceOfRequestSmsRecipientExport(value) {
let isInstance = true;
isInstance = isInstance && 'recipientsType' in value;
return isInstance;
}
export function RequestSmsRecipientExportFromJSON(json) {
return RequestSmsRecipientExportFromJSONTyped(json, false);
}
export function RequestSmsRecipientExportFromJSONTyped(json, ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
notifyURL: !exists(json, 'notifyURL') ? undefined : json['notifyURL'],
recipientsType: json['recipientsType'],
};
}
export function RequestSmsRecipientExportToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
notifyURL: value.notifyURL,
recipientsType: value.recipientsType,
};
}
//# sourceMappingURL=RequestSmsRecipientExport.js.map