fastmail-masked-email
Version:
A library for creating, deleting, and updating Fastmail masked emails
33 lines (32 loc) • 728 B
TypeScript
import { MaskedEmail } from './maskedEmail';
/**
* Response data containing masked email information returned from making a standard get call
*/
export interface GetResponseData {
accountId: string;
state: string;
notFound: string[];
list: MaskedEmail[];
}
/**
* Response data returned from making a successful set/update call
*/
export interface SetResponseData {
created: any;
oldState: string;
accountId: string;
newState: string;
updated: {
[]: null;
};
destroyed: {
[]: null;
};
notDestroyed?: {
[]: {
type: string;
subType: string;
description: string;
};
};
}