(
messageId: string,
overrides: {
subject?: string;
body?: string;
htmlBody?: string;
to?: Array<string>;
cc?: Array<string>;
bcc?: Array<string>;
attachments?: Array<Attachment>;
},
opts?: SendOpts,
)
| 321 | } |
| 322 | |
| 323 | async approveMessage( |
| 324 | messageId: string, |
| 325 | overrides: { |
| 326 | subject?: string; |
| 327 | body?: string; |
| 328 | htmlBody?: string; |
| 329 | to?: Array<string>; |
| 330 | cc?: Array<string>; |
| 331 | bcc?: Array<string>; |
| 332 | attachments?: Array<Attachment>; |
| 333 | }, |
| 334 | opts?: SendOpts, |
| 335 | ): Promise<SendResultView> { |
| 336 | return opts |
| 337 | ? this.sdk.reviews.approve(messageId, overrides, opts) |
| 338 | : this.sdk.reviews.approve(messageId, overrides); |
| 339 | } |
| 340 | |
| 341 | async rejectMessage(messageId: string, reason?: string): Promise<RejectResultView> { |
| 342 | return this.sdk.reviews.reject( |
no test coverage detected