/** * Bandwidth * Bandwidth\'s Communication APIs * * The version of the OpenAPI document: 1.0.0 * Contact: letstalk@bandwidth.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { InboundCallback } from './inbound-callback'; import type { StatusCallback } from './status-callback'; /** * @type Callback * Callbacks are divided into two types based on direction of the related message: - `statusCallback` indicates status of an outbound MT SMS, MMS, or RBM message. - `inboundCallback` indicates an inbound MO message or a multichannel message client\'s response to a suggestion or location request. */ export type Callback = { type: 'message-delivered'; } & StatusCallback | { type: 'message-failed'; } & StatusCallback | { type: 'message-read'; } & StatusCallback | { type: 'message-received'; } & InboundCallback | { type: 'message-sending'; } & StatusCallback | { type: 'message-sent'; } & StatusCallback | { type: 'request-location-response'; } & InboundCallback | { type: 'suggestion-response'; } & InboundCallback;