pip-services-email-node
Version:
Email delivery sending microservice in Node.js
17 lines (15 loc) • 673 B
text/typescript
import { ObjectSchema } from 'pip-services3-commons-node';
import { TypeCode } from 'pip-services3-commons-node';
export class EmailMessageV1Schema extends ObjectSchema {
public constructor() {
super();
this.withOptionalProperty('from', TypeCode.String);
this.withOptionalProperty('cc', TypeCode.String);
this.withOptionalProperty('bcc', TypeCode.String);
this.withOptionalProperty('to', TypeCode.String);
this.withOptionalProperty('reply_to', TypeCode.String);
this.withOptionalProperty('subject', null);
this.withOptionalProperty('text', null);
this.withOptionalProperty('html', null);
}
}