UNPKG

@azure/communication-sms

Version:

SDK for Azure Communication SMS service which facilitates the sending of SMS messages.

23 lines 1.15 kB
import { OptOutRequest, OptOutsAddOptionalParams, OptOutsAddResponse, OptOutsRemoveOptionalParams, OptOutsRemoveResponse, OptOutsCheckOptionalParams, OptOutsCheckResponse } from "../models/index.js"; /** Interface representing a OptOuts. */ export interface OptOuts { /** * Add phone numbers to the optouts list which shall stop receiving messages from a sender number. * @param body An opt out request. * @param options The options parameters. */ add(body: OptOutRequest, options?: OptOutsAddOptionalParams): Promise<OptOutsAddResponse>; /** * Remove phone numbers from the optouts list. * @param body An opt out request. * @param options The options parameters. */ remove(body: OptOutRequest, options?: OptOutsRemoveOptionalParams): Promise<OptOutsRemoveResponse>; /** * Check the opt out status for a recipient phone number with a sender phone number. * @param body An opt out request. * @param options The options parameters. */ check(body: OptOutRequest, options?: OptOutsCheckOptionalParams): Promise<OptOutsCheckResponse>; } //# sourceMappingURL=optOuts.d.ts.map