Socket
Socket
Sign inDemoInstall

@vonage/messages

Package Overview
Dependencies
Maintainers
43
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/messages - npm Package Compare versions

Comparing version 1.14.1 to 1.15.0

8

dist/lib/classes/AbstractAudioMessage.js

@@ -1,6 +0,9 @@

import { AbstractMessage } from './AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractAudioMessage = void 0;
const AbstractMessage_1 = require("./AbstractMessage");
/**
* An abstract base class for audio messages.
*/
export class AbstractAudioMessage extends AbstractMessage {
class AbstractAudioMessage extends AbstractMessage_1.AbstractMessage {
messageType;

@@ -19,2 +22,3 @@ audio;

}
exports.AbstractAudioMessage = AbstractAudioMessage;
//# sourceMappingURL=AbstractAudioMessage.js.map

@@ -1,6 +0,9 @@

import { AbstractMessage } from './AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractFileMessage = void 0;
const AbstractMessage_1 = require("./AbstractMessage");
/**
* An abstract base class for file messages.
*/
export class AbstractFileMessage extends AbstractMessage {
class AbstractFileMessage extends AbstractMessage_1.AbstractMessage {
messageType;

@@ -19,2 +22,3 @@ file;

}
exports.AbstractFileMessage = AbstractFileMessage;
//# sourceMappingURL=AbstractFileMessage.js.map

@@ -1,6 +0,9 @@

import { AbstractMessage } from './AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractImageMessage = void 0;
const AbstractMessage_1 = require("./AbstractMessage");
/**
* An abstract base class for image messages.
*/
export class AbstractImageMessage extends AbstractMessage {
class AbstractImageMessage extends AbstractMessage_1.AbstractMessage {
messageType;

@@ -19,2 +22,3 @@ image;

}
exports.AbstractImageMessage = AbstractImageMessage;
//# sourceMappingURL=AbstractImageMessage.js.map

@@ -0,5 +1,8 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractMessage = void 0;
/**
* An abstract base class for message objects.
*/
export class AbstractMessage {
class AbstractMessage {
/**

@@ -44,2 +47,3 @@ * The recipient of the message.

}
exports.AbstractMessage = AbstractMessage;
//# sourceMappingURL=AbstractMessage.js.map

@@ -1,6 +0,9 @@

import { AbstractMessage } from './AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractTextMessage = void 0;
const AbstractMessage_1 = require("./AbstractMessage");
/**
* An abstract base class for text message objects.
*/
export class AbstractTextMessage extends AbstractMessage {
class AbstractTextMessage extends AbstractMessage_1.AbstractMessage {
/**

@@ -25,2 +28,3 @@ * The type of message, which is 'text' for text messages.

}
exports.AbstractTextMessage = AbstractTextMessage;
//# sourceMappingURL=AbstractTextMessage.js.map

@@ -1,6 +0,9 @@

import { AbstractMessage } from './AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractVcardMessage = void 0;
const AbstractMessage_1 = require("./AbstractMessage");
/**
* An abstract base class for vCard (contact card) message objects.
*/
export class AbstractVcardMessage extends AbstractMessage {
class AbstractVcardMessage extends AbstractMessage_1.AbstractMessage {
/**

@@ -25,2 +28,3 @@ * The type of message, which is 'vcard' for vCard messages.

}
exports.AbstractVcardMessage = AbstractVcardMessage;
//# sourceMappingURL=AbstractVcardMessage.js.map

@@ -1,6 +0,9 @@

import { AbstractMessage } from './AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractVideoMessage = void 0;
const AbstractMessage_1 = require("./AbstractMessage");
/**
* An abstract base class for video message objects.
*/
export class AbstractVideoMessage extends AbstractMessage {
class AbstractVideoMessage extends AbstractMessage_1.AbstractMessage {
/**

@@ -25,2 +28,3 @@ * The type of message, which is 'video' for video messages.

}
exports.AbstractVideoMessage = AbstractVideoMessage;
//# sourceMappingURL=AbstractVideoMessage.js.map

@@ -1,14 +0,30 @@

export * from './AbstractMessage';
export * from './AbstractAudioMessage';
export * from './AbstractFileMessage';
export * from './AbstractImageMessage';
export * from './AbstractTextMessage';
export * from './AbstractVcardMessage';
export * from './AbstractVideoMessage';
export * from './MMS';
export * from './Messenger';
export * from './SMS';
export * from './Viber';
export * from './WhatsApp';
export * from './RCS';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./AbstractMessage"), exports);
__exportStar(require("./AbstractAudioMessage"), exports);
__exportStar(require("./AbstractFileMessage"), exports);
__exportStar(require("./AbstractImageMessage"), exports);
__exportStar(require("./AbstractTextMessage"), exports);
__exportStar(require("./AbstractVcardMessage"), exports);
__exportStar(require("./AbstractVideoMessage"), exports);
__exportStar(require("./MMS"), exports);
__exportStar(require("./Messenger"), exports);
__exportStar(require("./SMS"), exports);
__exportStar(require("./Viber"), exports);
__exportStar(require("./WhatsApp"), exports);
__exportStar(require("./RCS"), exports);
//# sourceMappingURL=index.js.map

@@ -1,4 +0,10 @@

import { MessengerAudio } from './MessengerAudio';
import debug from 'debug';
const log = debug('vonage:messages:messenger');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Audio = void 0;
const MessengerAudio_1 = require("./MessengerAudio");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:messenger');
/**

@@ -9,3 +15,3 @@ * @deprecated please use the MessengerAudio class instead

*/
export class Audio extends MessengerAudio {
class Audio extends MessengerAudio_1.MessengerAudio {
/**

@@ -35,2 +41,3 @@ * @deprecated Please use MessengerAudio instead.

}
exports.Audio = Audio;
//# sourceMappingURL=Audio.js.map

@@ -1,4 +0,10 @@

import { MessengerFile } from './MessengerFile';
import debug from 'debug';
const log = debug('vonage:messages:messenger');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.File = void 0;
const MessengerFile_1 = require("./MessengerFile");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:messenger');
/**

@@ -9,3 +15,3 @@ * @deprecated please use the MessengerFile class instead

*/
export class File extends MessengerFile {
class File extends MessengerFile_1.MessengerFile {
/**

@@ -34,2 +40,3 @@ * Constructs a new `File` instance.

}
exports.File = File;
//# sourceMappingURL=File.js.map

@@ -1,4 +0,10 @@

import { MessengerImage } from './MessengerImage';
import debug from 'debug';
const log = debug('vonage:messages:messenger');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Image = void 0;
const MessengerImage_1 = require("./MessengerImage");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:messenger');
/**

@@ -9,3 +15,3 @@ * @deprecated please use MessengerImage class instead

*/
export class Image extends MessengerImage {
class Image extends MessengerImage_1.MessengerImage {
/**

@@ -34,2 +40,3 @@ * Constructs a new `Image` instance.

}
exports.Image = Image;
//# sourceMappingURL=Image.js.map

@@ -1,6 +0,22 @@

export * from './MessengerAudio';
export * from './MessengerFile';
export * from './MessengerImage';
export * from './MessengerText';
export * from './MessengerVideo';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MessengerAudio"), exports);
__exportStar(require("./MessengerFile"), exports);
__exportStar(require("./MessengerImage"), exports);
__exportStar(require("./MessengerText"), exports);
__exportStar(require("./MessengerVideo"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,5 @@

import { AbstractAudioMessage } from '../AbstractAudioMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessengerAudio = void 0;
const AbstractAudioMessage_1 = require("../AbstractAudioMessage");
/**

@@ -7,3 +10,3 @@ * Represents an audio message for the Messenger channel.

*/
export class MessengerAudio extends AbstractAudioMessage {
class MessengerAudio extends AbstractAudioMessage_1.AbstractAudioMessage {
/**

@@ -43,2 +46,3 @@ * The channel for this message (always 'messenger').

}
exports.MessengerAudio = MessengerAudio;
//# sourceMappingURL=MessengerAudio.js.map

@@ -1,2 +0,5 @@

import { AbstractFileMessage } from '../AbstractFileMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessengerFile = void 0;
const AbstractFileMessage_1 = require("../AbstractFileMessage");
/**

@@ -7,3 +10,3 @@ * Represents a file message for the Messenger channel.

*/
export class MessengerFile extends AbstractFileMessage {
class MessengerFile extends AbstractFileMessage_1.AbstractFileMessage {
/**

@@ -45,2 +48,3 @@ * The channel for this message (always 'messenger').

}
exports.MessengerFile = MessengerFile;
//# sourceMappingURL=MessengerFile.js.map

@@ -1,2 +0,5 @@

import { AbstractImageMessage } from '../AbstractImageMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessengerImage = void 0;
const AbstractImageMessage_1 = require("../AbstractImageMessage");
/**

@@ -10,3 +13,3 @@ * Represents an image message for the Messenger channel.

*/
export class MessengerImage extends AbstractImageMessage {
class MessengerImage extends AbstractImageMessage_1.AbstractImageMessage {
/**

@@ -47,2 +50,3 @@ * The channel for sending the message, which is set to 'messenger'.

}
exports.MessengerImage = MessengerImage;
//# sourceMappingURL=MessengerImage.js.map

@@ -1,2 +0,5 @@

import { AbstractTextMessage } from '../AbstractTextMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessengerText = void 0;
const AbstractTextMessage_1 = require("../AbstractTextMessage");
/**

@@ -7,3 +10,3 @@ * Represents a text message for the Messenger channel.

*/
export class MessengerText extends AbstractTextMessage {
class MessengerText extends AbstractTextMessage_1.AbstractTextMessage {
/**

@@ -42,2 +45,3 @@ * The channel for this message (always 'messenger').

}
exports.MessengerText = MessengerText;
//# sourceMappingURL=MessengerText.js.map

@@ -1,2 +0,5 @@

import { AbstractVideoMessage } from '../AbstractVideoMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessengerVideo = void 0;
const AbstractVideoMessage_1 = require("../AbstractVideoMessage");
/**

@@ -7,3 +10,3 @@ * Represents a video message for the Messenger channel.

*/
export class MessengerVideo extends AbstractVideoMessage {
class MessengerVideo extends AbstractVideoMessage_1.AbstractVideoMessage {
/**

@@ -44,2 +47,3 @@ * The channel for this message (always 'messenger').

}
exports.MessengerVideo = MessengerVideo;
//# sourceMappingURL=MessengerVideo.js.map

@@ -1,4 +0,10 @@

import { MessengerText } from './MessengerText';
import debug from 'debug';
const log = debug('vonage:messages:messenger');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Text = void 0;
const MessengerText_1 = require("./MessengerText");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:messenger');
/**

@@ -11,3 +17,3 @@ * Represents a text message for the Messenger channel.

*/
export class Text extends MessengerText {
class Text extends MessengerText_1.MessengerText {
/**

@@ -36,2 +42,3 @@ * Constructs a new `Text` instance.

}
exports.Text = Text;
//# sourceMappingURL=Text.js.map

@@ -1,4 +0,10 @@

import { MessengerVideo } from './MessengerVideo';
import debug from 'debug';
const log = debug('vonage:messages:messenger');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Video = void 0;
const MessengerVideo_1 = require("./MessengerVideo");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:messenger');
/**

@@ -11,3 +17,3 @@ * Represents a text message for the Messenger channel.

*/
export class Video extends MessengerVideo {
class Video extends MessengerVideo_1.MessengerVideo {
/**

@@ -36,2 +42,3 @@ * Constructs a new `Text` instance.

}
exports.Video = Video;
//# sourceMappingURL=Video.js.map

@@ -1,4 +0,10 @@

import { MMSAudio } from './MMSAudio';
import debug from 'debug';
const log = debug('vonage:messages:mms');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Audio = void 0;
const MMSAudio_1 = require("./MMSAudio");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:mms');
/**

@@ -11,3 +17,3 @@ * Represents an audio message for the MMS channel.

*/
export class Audio extends MMSAudio {
class Audio extends MMSAudio_1.MMSAudio {
/**

@@ -33,2 +39,3 @@ * Constructs a new `Audio` instance for the MMS channel.

}
exports.Audio = Audio;
//# sourceMappingURL=Audio.js.map

@@ -1,4 +0,10 @@

import { MMSImage } from './MMSImage';
import debug from 'debug';
const log = debug('vonage:messages:mms');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Image = void 0;
const MMSImage_1 = require("./MMSImage");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:mms');
/**

@@ -11,3 +17,3 @@ * Represents an image message for the MMS channel.

*/
export class Image extends MMSImage {
class Image extends MMSImage_1.MMSImage {
/**

@@ -31,2 +37,3 @@ * Constructs a new `Image` instance for the MMS channel.

}
exports.Image = Image;
//# sourceMappingURL=Image.js.map

@@ -1,5 +0,21 @@

export * from './MMSAudio';
export * from './MMSImage';
export * from './MMSVcard';
export * from './MMSVideo';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MMSAudio"), exports);
__exportStar(require("./MMSImage"), exports);
__exportStar(require("./MMSVcard"), exports);
__exportStar(require("./MMSVideo"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,5 @@

import { AbstractAudioMessage } from '../AbstractAudioMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MMSAudio = void 0;
const AbstractAudioMessage_1 = require("../AbstractAudioMessage");
/**

@@ -7,3 +10,3 @@ * Represents an audio message for the MMS channel.

*/
export class MMSAudio extends AbstractAudioMessage {
class MMSAudio extends AbstractAudioMessage_1.AbstractAudioMessage {
channel;

@@ -36,2 +39,3 @@ /**

}
exports.MMSAudio = MMSAudio;
//# sourceMappingURL=MMSAudio.js.map

@@ -1,2 +0,5 @@

import { AbstractImageMessage } from '../AbstractImageMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MMSImage = void 0;
const AbstractImageMessage_1 = require("../AbstractImageMessage");
/**

@@ -7,3 +10,3 @@ * Represents an image message for the MMS channel.

*/
export class MMSImage extends AbstractImageMessage {
class MMSImage extends AbstractImageMessage_1.AbstractImageMessage {
channel;

@@ -36,2 +39,3 @@ /**

}
exports.MMSImage = MMSImage;
//# sourceMappingURL=MMSImage.js.map

@@ -1,2 +0,5 @@

import { AbstractVcardMessage } from '../AbstractVcardMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MMSVcard = void 0;
const AbstractVcardMessage_1 = require("../AbstractVcardMessage");
/**

@@ -7,3 +10,3 @@ * Represents a vCard message for the MMS channel.

*/
export class MMSVcard extends AbstractVcardMessage {
class MMSVcard extends AbstractVcardMessage_1.AbstractVcardMessage {
channel;

@@ -36,2 +39,3 @@ /**

}
exports.MMSVcard = MMSVcard;
//# sourceMappingURL=MMSVcard.js.map

@@ -1,2 +0,5 @@

import { AbstractVideoMessage } from '../AbstractVideoMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MMSVideo = void 0;
const AbstractVideoMessage_1 = require("../AbstractVideoMessage");
/**

@@ -7,3 +10,3 @@ * Represents a video message for the MMS channel.

*/
export class MMSVideo extends AbstractVideoMessage {
class MMSVideo extends AbstractVideoMessage_1.AbstractVideoMessage {
channel;

@@ -35,2 +38,3 @@ /**

}
exports.MMSVideo = MMSVideo;
//# sourceMappingURL=MMSVideo.js.map

@@ -1,4 +0,10 @@

import { MMSVcard } from './MMSVcard';
import debug from 'debug';
const log = debug('vonage:messages:mms');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Vcard = void 0;
const MMSVcard_1 = require("./MMSVcard");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:mms');
/**

@@ -9,3 +15,3 @@ * @deprecated Please use MMSVcard instead

*/
export class Vcard extends MMSVcard {
class Vcard extends MMSVcard_1.MMSVcard {
/**

@@ -29,2 +35,3 @@ * Constructs a new `Vcard` instance for the MMS channel.

}
exports.Vcard = Vcard;
//# sourceMappingURL=Vcard.js.map

@@ -1,4 +0,10 @@

import { MMSVideo } from './MMSVideo';
import debug from 'debug';
const log = debug('vonage:messages:mms');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Video = void 0;
const MMSVideo_1 = require("./MMSVideo");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:mms');
/**

@@ -9,3 +15,3 @@ * @deprecated please use MMSVideo instead

*/
export class Video extends MMSVideo {
class Video extends MMSVideo_1.MMSVideo {
constructor(video, to, from, clientRef) {

@@ -21,2 +27,3 @@ log('Please update to use the MMSVideo class instead');

}
exports.Video = Video;
//# sourceMappingURL=Video.js.map

@@ -1,6 +0,22 @@

export * from './RCSCustom';
export * from './RCSFile';
export * from './RCSImage';
export * from './RCSText';
export * from './RCSVideo';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./RCSCustom"), exports);
__exportStar(require("./RCSFile"), exports);
__exportStar(require("./RCSImage"), exports);
__exportStar(require("./RCSText"), exports);
__exportStar(require("./RCSVideo"), exports);
//# sourceMappingURL=index.js.map

@@ -1,3 +0,6 @@

import { AbstractMessage } from '../AbstractMessage';
import { Channels } from '../../enums';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RCSCustom = void 0;
const AbstractMessage_1 = require("../AbstractMessage");
const enums_1 = require("../../enums");
/**

@@ -8,7 +11,7 @@ * Represents a custom message for RCS.

*/
export class RCSCustom extends AbstractMessage {
class RCSCustom extends AbstractMessage_1.AbstractMessage {
/**
* The channel through which the message will be sent. Always `rcs`
*/
channel = Channels.RCS;
channel = enums_1.Channels.RCS;
/**

@@ -55,2 +58,3 @@ * The type of message. For a custom message, this will always be `custom`.

}
exports.RCSCustom = RCSCustom;
//# sourceMappingURL=RCSCustom.js.map

@@ -1,3 +0,6 @@

import { AbstractFileMessage } from '../AbstractFileMessage';
import { Channels } from '../../enums';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RCSFile = void 0;
const AbstractFileMessage_1 = require("../AbstractFileMessage");
const enums_1 = require("../../enums");
/**

@@ -8,7 +11,7 @@ * Represents a file message for the RCS channel.

*/
export class RCSFile extends AbstractFileMessage {
class RCSFile extends AbstractFileMessage_1.AbstractFileMessage {
/**
* The channel for this message (always 'rcs').
*/
channel = Channels.RCS;
channel = enums_1.Channels.RCS;
/**

@@ -47,2 +50,3 @@ * The duration in seconds the delivery of a message will be attempted. By

}
exports.RCSFile = RCSFile;
//# sourceMappingURL=RCSFile.js.map

@@ -1,3 +0,6 @@

import { AbstractImageMessage } from '../AbstractImageMessage';
import { Channels } from '../../enums';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RCSImage = void 0;
const AbstractImageMessage_1 = require("../AbstractImageMessage");
const enums_1 = require("../../enums");
/**

@@ -8,7 +11,7 @@ * Represents an image message for the RCS channel.

*/
export class RCSImage extends AbstractImageMessage {
class RCSImage extends AbstractImageMessage_1.AbstractImageMessage {
/**
* The channel through which the message will be sent. Always `rcs`
*/
channel = Channels.RCS;
channel = enums_1.Channels.RCS;
/**

@@ -46,2 +49,3 @@ * The duration in seconds the delivery of a message will be attempted. By

}
exports.RCSImage = RCSImage;
//# sourceMappingURL=RCSImage.js.map

@@ -1,3 +0,6 @@

import { AbstractTextMessage } from '../AbstractTextMessage';
import { Channels } from '../../enums';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RCSText = void 0;
const AbstractTextMessage_1 = require("../AbstractTextMessage");
const enums_1 = require("../../enums");
/**

@@ -8,7 +11,7 @@ * Represents a text message for the RCS channel.

*/
export class RCSText extends AbstractTextMessage {
class RCSText extends AbstractTextMessage_1.AbstractTextMessage {
/**
* The channel for this message (always 'rcs').
*/
channel = Channels.RCS;
channel = enums_1.Channels.RCS;
/**

@@ -45,2 +48,3 @@ * The duration in seconds the delivery of a message will be attempted. By

}
exports.RCSText = RCSText;
//# sourceMappingURL=RCSText.js.map

@@ -1,3 +0,6 @@

import { AbstractVideoMessage } from '../';
import { Channels } from '../../enums';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RCSVideo = void 0;
const __1 = require("../");
const enums_1 = require("../../enums");
/**

@@ -8,3 +11,3 @@ * Represents an video message for the RCS channel.

*/
export class RCSVideo extends AbstractVideoMessage {
class RCSVideo extends __1.AbstractVideoMessage {
/**

@@ -44,6 +47,7 @@ * The channel through which the message will be sent. Always `rcs`

super(params);
this.channel = Channels.RCS;
this.channel = enums_1.Channels.RCS;
this.ttl = params?.ttl;
}
}
exports.RCSVideo = RCSVideo;
//# sourceMappingURL=RCSVideo.js.map

@@ -1,2 +0,18 @@

export * from './SMS';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./SMS"), exports);
//# sourceMappingURL=index.js.map

@@ -1,4 +0,10 @@

import { AbstractTextMessage } from '../AbstractTextMessage';
import debug from 'debug';
const log = debug('vonage:messages:sms');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SMS = void 0;
const AbstractTextMessage_1 = require("../AbstractTextMessage");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:sms');
/**

@@ -9,3 +15,3 @@ * Send a text message using the SMS channel.

*/
export class SMS extends AbstractTextMessage {
class SMS extends AbstractTextMessage_1.AbstractTextMessage {
channel;

@@ -78,2 +84,3 @@ sms;

}
exports.SMS = SMS;
//# sourceMappingURL=SMS.js.map

@@ -1,4 +0,10 @@

import { ViberImage } from './ViberImage';
import debug from 'debug';
const log = debug('vonage:messages:viber');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Image = void 0;
const ViberImage_1 = require("./ViberImage");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:viber');
/**

@@ -11,3 +17,3 @@ * Represents an image message for the Viber channel.

*/
export class Image extends ViberImage {
class Image extends ViberImage_1.ViberImage {
/**

@@ -33,2 +39,3 @@ * Constructs a new `Image` instance for the Viber channel.

}
exports.Image = Image;
//# sourceMappingURL=Image.js.map

@@ -1,5 +0,21 @@

export * from './ViberFile';
export * from './ViberImage';
export * from './ViberText';
export * from './ViberVideo';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./ViberFile"), exports);
__exportStar(require("./ViberImage"), exports);
__exportStar(require("./ViberText"), exports);
__exportStar(require("./ViberVideo"), exports);
//# sourceMappingURL=index.js.map

@@ -1,4 +0,10 @@

import { ViberText } from './ViberText';
import debug from 'debug';
const log = debug('vonage:messages:viber');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Text = void 0;
const ViberText_1 = require("./ViberText");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:viber');
/**

@@ -11,3 +17,3 @@ * Represents a text message for the Viber channel.

*/
export class Text extends ViberText {
class Text extends ViberText_1.ViberText {
/**

@@ -33,2 +39,3 @@ * Constructs a new `Text` instance for the Viber channel.

}
exports.Text = Text;
//# sourceMappingURL=Text.js.map

@@ -1,2 +0,5 @@

import { AbstractFileMessage } from '../AbstractFileMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ViberFile = void 0;
const AbstractFileMessage_1 = require("../AbstractFileMessage");
/**

@@ -7,3 +10,3 @@ * Represents a file message for the Viber Service channel.

*/
export class ViberFile extends AbstractFileMessage {
class ViberFile extends AbstractFileMessage_1.AbstractFileMessage {
channel;

@@ -41,2 +44,3 @@ /**

}
exports.ViberFile = ViberFile;
//# sourceMappingURL=ViberFile.js.map

@@ -1,2 +0,5 @@

import { AbstractImageMessage } from '../AbstractImageMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ViberImage = void 0;
const AbstractImageMessage_1 = require("../AbstractImageMessage");
/**

@@ -7,3 +10,3 @@ * Represents an image message for the Viber Service channel.

*/
export class ViberImage extends AbstractImageMessage {
class ViberImage extends AbstractImageMessage_1.AbstractImageMessage {
channel;

@@ -43,2 +46,3 @@ viberService;

}
exports.ViberImage = ViberImage;
//# sourceMappingURL=ViberImage.js.map

@@ -1,2 +0,5 @@

import { AbstractTextMessage } from '../AbstractTextMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ViberText = void 0;
const AbstractTextMessage_1 = require("../AbstractTextMessage");
/**

@@ -7,3 +10,3 @@ * Represents a text message for the Viber Service channel.

*/
export class ViberText extends AbstractTextMessage {
class ViberText extends AbstractTextMessage_1.AbstractTextMessage {
channel;

@@ -42,2 +45,3 @@ viberService;

}
exports.ViberText = ViberText;
//# sourceMappingURL=ViberText.js.map

@@ -1,2 +0,5 @@

import { AbstractVideoMessage } from '../AbstractVideoMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ViberVideo = void 0;
const AbstractVideoMessage_1 = require("../AbstractVideoMessage");
/**

@@ -7,3 +10,3 @@ * Represents a video message for the Viber Service channel.

*/
export class ViberVideo extends AbstractVideoMessage {
class ViberVideo extends AbstractVideoMessage_1.AbstractVideoMessage {
channel;

@@ -44,2 +47,3 @@ viberService;

}
exports.ViberVideo = ViberVideo;
//# sourceMappingURL=ViberVideo.js.map

@@ -1,4 +0,10 @@

import { WhatsAppAudio } from './WhatsAppAudio';
import debug from 'debug';
const log = debug('vonage:messages:whatsapp');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Audio = void 0;
const WhatsAppAudio_1 = require("./WhatsAppAudio");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:whatsapp');
/**

@@ -9,3 +15,3 @@ * @deprecated please use the WhatsAppAudio class instead

*/
export class Audio extends WhatsAppAudio {
class Audio extends WhatsAppAudio_1.WhatsAppAudio {
/**

@@ -29,2 +35,3 @@ * Constructs a new `Audio` instance for WhatsApp.

}
exports.Audio = Audio;
//# sourceMappingURL=Audio.js.map

@@ -1,4 +0,10 @@

import { WhatsAppCustom } from './WhatsAppCustom';
import debug from 'debug';
const log = debug('vonage:messages:whatsapp');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomMessage = void 0;
const WhatsAppCustom_1 = require("./WhatsAppCustom");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:whatsapp');
/**

@@ -9,3 +15,3 @@ * @deprecated Please use WhatsAppCustom class instead

*/
export class CustomMessage extends WhatsAppCustom {
class CustomMessage extends WhatsAppCustom_1.WhatsAppCustom {
/**

@@ -29,2 +35,3 @@ * Constructs a new `CustomMessage` instance for WhatsApp.

}
exports.CustomMessage = CustomMessage;
//# sourceMappingURL=CustomMessage.js.map

@@ -1,4 +0,10 @@

import { WhatsAppFile } from './WhatsAppFile';
import debug from 'debug';
const log = debug('vonage:messages:whatsapp');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.File = void 0;
const WhatsAppFile_1 = require("./WhatsAppFile");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:whatsapp');
/**

@@ -9,3 +15,3 @@ * @deprecated please use the WhatsAppFile class instead

*/
export class File extends WhatsAppFile {
class File extends WhatsAppFile_1.WhatsAppFile {
/**

@@ -29,2 +35,3 @@ * Constructs a new `File` instance for WhatsApp.

}
exports.File = File;
//# sourceMappingURL=File.js.map

@@ -1,4 +0,10 @@

import { WhatsAppImage } from './WhatsAppImage';
import debug from 'debug';
const log = debug('vonage:messages:whatsapp');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Image = void 0;
const WhatsAppImage_1 = require("./WhatsAppImage");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:whatsapp');
/**

@@ -9,3 +15,3 @@ * @deprecated Please use the WhatsAppImage class instead

*/
export class Image extends WhatsAppImage {
class Image extends WhatsAppImage_1.WhatsAppImage {
/**

@@ -29,2 +35,3 @@ * Constructs a new `Image` instance for WhatsApp.

}
exports.Image = Image;
//# sourceMappingURL=Image.js.map

@@ -1,9 +0,25 @@

export * from './WhatsAppAudio';
export * from './WhatsAppCustom';
export * from './WhatsAppFile';
export * from './WhatsAppImage';
export * from './WhatsAppSticker';
export * from './WhatsAppTemplate';
export * from './WhatsAppText';
export * from './WhatsAppVideo';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./WhatsAppAudio"), exports);
__exportStar(require("./WhatsAppCustom"), exports);
__exportStar(require("./WhatsAppFile"), exports);
__exportStar(require("./WhatsAppImage"), exports);
__exportStar(require("./WhatsAppSticker"), exports);
__exportStar(require("./WhatsAppTemplate"), exports);
__exportStar(require("./WhatsAppText"), exports);
__exportStar(require("./WhatsAppVideo"), exports);
//# sourceMappingURL=index.js.map

@@ -1,4 +0,10 @@

import { WhatsAppTemplate } from './WhatsAppTemplate';
import debug from 'debug';
const log = debug('vonage:messages:whatsapp');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TemplateMessage = void 0;
const WhatsAppTemplate_1 = require("./WhatsAppTemplate");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:whatsapp');
/**

@@ -9,3 +15,3 @@ * @deprecated please use the WhatsAppTemplate class instead

*/
export class TemplateMessage extends WhatsAppTemplate {
class TemplateMessage extends WhatsAppTemplate_1.WhatsAppTemplate {
/**

@@ -34,2 +40,3 @@ * Constructs a new `TemplateMessage` instance for WhatsApp.

}
exports.TemplateMessage = TemplateMessage;
//# sourceMappingURL=TemplateMessage.js.map

@@ -1,4 +0,10 @@

import { WhatsAppText } from './WhatsAppText';
import debug from 'debug';
const log = debug('vonage:messages:whatsapp');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Text = void 0;
const WhatsAppText_1 = require("./WhatsAppText");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:whatsapp');
/**

@@ -9,3 +15,3 @@ * @deprecated please use the WhatsAppText class instead

*/
export class Text extends WhatsAppText {
class Text extends WhatsAppText_1.WhatsAppText {
/**

@@ -29,2 +35,3 @@ * Constructs a new `Text` instance for WhatsApp.

}
exports.Text = Text;
//# sourceMappingURL=Text.js.map

@@ -1,4 +0,10 @@

import { WhatsAppVideo } from './WhatsAppVideo';
import debug from 'debug';
const log = debug('vonage:messages:whatsapp');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Video = void 0;
const WhatsAppVideo_1 = require("./WhatsAppVideo");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages:whatsapp');
/**

@@ -9,3 +15,3 @@ * @deprecated please use the WhatsAppVideo class instead

*/
export class Video extends WhatsAppVideo {
class Video extends WhatsAppVideo_1.WhatsAppVideo {
/**

@@ -29,2 +35,3 @@ * Constructs a new `Video` instance for WhatsApp.

}
exports.Video = Video;
//# sourceMappingURL=Video.js.map

@@ -1,2 +0,5 @@

import { AbstractAudioMessage } from '../AbstractAudioMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppAudio = void 0;
const AbstractAudioMessage_1 = require("../AbstractAudioMessage");
/**

@@ -7,3 +10,3 @@ * Represents an audio message for WhatsApp.

*/
export class WhatsAppAudio extends AbstractAudioMessage {
class WhatsAppAudio extends AbstractAudioMessage_1.AbstractAudioMessage {
channel;

@@ -40,2 +43,3 @@ context;

}
exports.WhatsAppAudio = WhatsAppAudio;
//# sourceMappingURL=WhatsAppAudio.js.map

@@ -1,2 +0,5 @@

import { AbstractMessage } from '../AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppCustom = void 0;
const AbstractMessage_1 = require("../AbstractMessage");
/**

@@ -7,3 +10,3 @@ * Represents a custom message for WhatsApp.

*/
export class WhatsAppCustom extends AbstractMessage {
class WhatsAppCustom extends AbstractMessage_1.AbstractMessage {
channel;

@@ -47,2 +50,3 @@ messageType;

}
exports.WhatsAppCustom = WhatsAppCustom;
//# sourceMappingURL=WhatsAppCustom.js.map

@@ -1,3 +0,6 @@

import { Channels } from '../../enums';
import { AbstractFileMessage } from '../AbstractFileMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppFile = void 0;
const enums_1 = require("../../enums");
const AbstractFileMessage_1 = require("../AbstractFileMessage");
/**

@@ -8,4 +11,4 @@ * Represents a file message for WhatsApp.

*/
export class WhatsAppFile extends AbstractFileMessage {
channel = Channels.WHATSAPP;
class WhatsAppFile extends AbstractFileMessage_1.AbstractFileMessage {
channel = enums_1.Channels.WHATSAPP;
context;

@@ -39,2 +42,3 @@ /**

}
exports.WhatsAppFile = WhatsAppFile;
//# sourceMappingURL=WhatsAppFile.js.map

@@ -1,2 +0,5 @@

import { AbstractImageMessage } from '../AbstractImageMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppImage = void 0;
const AbstractImageMessage_1 = require("../AbstractImageMessage");
/**

@@ -7,3 +10,3 @@ * Represents an image message for WhatsApp.

*/
export class WhatsAppImage extends AbstractImageMessage {
class WhatsAppImage extends AbstractImageMessage_1.AbstractImageMessage {
channel;

@@ -40,2 +43,3 @@ context;

}
exports.WhatsAppImage = WhatsAppImage;
//# sourceMappingURL=WhatsAppImage.js.map

@@ -1,2 +0,5 @@

import { AbstractMessage } from '../AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppSticker = void 0;
const AbstractMessage_1 = require("../AbstractMessage");
/**

@@ -7,3 +10,3 @@ * Represents a sticker message for WhatsApp.

*/
export class WhatsAppSticker extends AbstractMessage {
class WhatsAppSticker extends AbstractMessage_1.AbstractMessage {
channel;

@@ -61,2 +64,3 @@ messageType;

}
exports.WhatsAppSticker = WhatsAppSticker;
//# sourceMappingURL=WhatsAppSticker.js.map

@@ -1,2 +0,5 @@

import { AbstractMessage } from '../AbstractMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppTemplate = void 0;
const AbstractMessage_1 = require("../AbstractMessage");
/**

@@ -7,3 +10,3 @@ * Represents a template message for WhatsApp.

*/
export class WhatsAppTemplate extends AbstractMessage {
class WhatsAppTemplate extends AbstractMessage_1.AbstractMessage {
channel;

@@ -54,2 +57,3 @@ messageType;

}
exports.WhatsAppTemplate = WhatsAppTemplate;
//# sourceMappingURL=WhatsAppTemplate.js.map

@@ -1,2 +0,5 @@

import { AbstractTextMessage } from '../AbstractTextMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppText = void 0;
const AbstractTextMessage_1 = require("../AbstractTextMessage");
/**

@@ -7,3 +10,3 @@ * Represents a text message for WhatsApp.

*/
export class WhatsAppText extends AbstractTextMessage {
class WhatsAppText extends AbstractTextMessage_1.AbstractTextMessage {
channel;

@@ -37,2 +40,3 @@ context;

}
exports.WhatsAppText = WhatsAppText;
//# sourceMappingURL=WhatsAppText.js.map

@@ -1,2 +0,5 @@

import { AbstractVideoMessage } from '../AbstractVideoMessage';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppVideo = void 0;
const AbstractVideoMessage_1 = require("../AbstractVideoMessage");
/**

@@ -7,3 +10,3 @@ * Represents a video message for WhatsApp.

*/
export class WhatsAppVideo extends AbstractVideoMessage {
class WhatsAppVideo extends AbstractVideoMessage_1.AbstractVideoMessage {
channel;

@@ -41,2 +44,3 @@ context;

}
exports.WhatsAppVideo = WhatsAppVideo;
//# sourceMappingURL=WhatsAppVideo.js.map

@@ -1,2 +0,5 @@

export var Channels;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Channels = void 0;
var Channels;
(function (Channels) {

@@ -9,3 +12,3 @@ Channels["MESSENGER"] = "messenger";

Channels["RCS"] = "rcs";
})(Channels || (Channels = {}));
})(Channels || (exports.Channels = Channels = {}));
//# sourceMappingURL=Channels.js.map

@@ -1,5 +0,21 @@

export * from './Messenger';
export * from './Viber';
export * from './WhatsApp';
export * from './Channels';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./Messenger"), exports);
__exportStar(require("./Viber"), exports);
__exportStar(require("./WhatsApp"), exports);
__exportStar(require("./Channels"), exports);
//# sourceMappingURL=index.js.map

@@ -1,3 +0,19 @@

export * from './MessengerCategory';
export * from './MessengerTags';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MessengerCategory"), exports);
__exportStar(require("./MessengerTags"), exports);
//# sourceMappingURL=index.js.map

@@ -0,1 +1,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessageCategory = void 0;
/**

@@ -6,3 +9,3 @@ * @deprecated Please use MessengerCategory instead.

*/
export var MessageCategory;
var MessageCategory;
(function (MessageCategory) {

@@ -21,3 +24,3 @@ /**

MessageCategory["MESSAGE_TAG"] = "message_tag";
})(MessageCategory || (MessageCategory = {}));
})(MessageCategory || (exports.MessageCategory = MessageCategory = {}));
//# sourceMappingURL=MessageCategory.js.map

@@ -0,1 +1,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessengerCategory = void 0;
/**

@@ -6,3 +9,3 @@ * Enum representing categories for Facebook Messenger messages.

*/
export var MessengerCategory;
var MessengerCategory;
(function (MessengerCategory) {

@@ -21,3 +24,3 @@ /**

MessengerCategory["MESSAGE_TAG"] = "message_tag";
})(MessengerCategory || (MessengerCategory = {}));
})(MessengerCategory || (exports.MessengerCategory = MessengerCategory = {}));
//# sourceMappingURL=MessengerCategory.js.map

@@ -0,1 +1,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessengerTags = void 0;
/**

@@ -8,3 +11,3 @@ * Enum representing message tags for Facebook Messenger messages.

*/
export var MessengerTags;
var MessengerTags;
(function (MessengerTags) {

@@ -67,3 +70,3 @@ /**

MessengerTags["PERSONAL_FINANCE_UPDATE"] = "PERSONAL_FINANCE_UPDATE";
})(MessengerTags || (MessengerTags = {}));
})(MessengerTags || (exports.MessengerTags = MessengerTags = {}));
//# sourceMappingURL=MessengerTags.js.map

@@ -1,2 +0,18 @@

export * from './ViberCategory';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./ViberCategory"), exports);
//# sourceMappingURL=index.js.map

@@ -0,1 +1,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MessageCategory = void 0;
/**

@@ -9,3 +12,3 @@ * @deprecated Please use ViberCategory

*/
export var MessageCategory;
var MessageCategory;
(function (MessageCategory) {

@@ -20,3 +23,3 @@ /**

MessageCategory["PROMOTION"] = "promotion";
})(MessageCategory || (MessageCategory = {}));
})(MessageCategory || (exports.MessageCategory = MessageCategory = {}));
//# sourceMappingURL=MessageCategory.js.map

@@ -0,1 +1,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ViberCategory = void 0;
/**

@@ -8,3 +11,3 @@ * Enum representing message categories for Viber messages.

*/
export var ViberCategory;
var ViberCategory;
(function (ViberCategory) {

@@ -19,3 +22,3 @@ /**

ViberCategory["PROMOTION"] = "promotion";
})(ViberCategory || (ViberCategory = {}));
})(ViberCategory || (exports.ViberCategory = ViberCategory = {}));
//# sourceMappingURL=ViberCategory.js.map

@@ -1,2 +0,18 @@

export * from './WhatsAppLanguageCodes';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./WhatsAppLanguageCodes"), exports);
//# sourceMappingURL=index.js.map

@@ -0,1 +1,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WhatsAppLanguageCode = void 0;
/**

@@ -8,3 +11,3 @@ * Enum representing language codes for WhatsApp messages.

*/
export var WhatsAppLanguageCode;
var WhatsAppLanguageCode;
(function (WhatsAppLanguageCode) {

@@ -82,3 +85,3 @@ WhatsAppLanguageCode["AFRIKAANS"] = "af";

WhatsAppLanguageCode["ZULU"] = "zu";
})(WhatsAppLanguageCode || (WhatsAppLanguageCode = {}));
})(WhatsAppLanguageCode || (exports.WhatsAppLanguageCode = WhatsAppLanguageCode = {}));
//# sourceMappingURL=WhatsAppLanguageCodes.js.map

@@ -1,6 +0,22 @@

export * from './classes';
export * from './enums';
export * from './interfaces';
export * from './types';
export * from './messages';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./classes"), exports);
__exportStar(require("./enums"), exports);
__exportStar(require("./interfaces"), exports);
__exportStar(require("./types"), exports);
__exportStar(require("./messages"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AudioObject.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=FileObject.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ImageObject.js.map

@@ -1,17 +0,33 @@

export * from './AudioObject';
export * from './ImageObject';
export * from './MMS';
export * from './MessageAudioInterface';
export * from './MessageFileInterface';
export * from './MessageImageInterface';
export * from './MessageInterface';
export * from './MessageSuccessInterface';
export * from './MessageTextInterface';
export * from './MessageVCardInterface';
export * from './MessageVideoInterface';
export * from './Messenger';
export * from './SMS';
export * from './Viber';
export * from './VideoObject';
export * from './WhatsApp';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./AudioObject"), exports);
__exportStar(require("./ImageObject"), exports);
__exportStar(require("./MMS"), exports);
__exportStar(require("./MessageAudioInterface"), exports);
__exportStar(require("./MessageFileInterface"), exports);
__exportStar(require("./MessageImageInterface"), exports);
__exportStar(require("./MessageInterface"), exports);
__exportStar(require("./MessageSuccessInterface"), exports);
__exportStar(require("./MessageTextInterface"), exports);
__exportStar(require("./MessageVCardInterface"), exports);
__exportStar(require("./MessageVideoInterface"), exports);
__exportStar(require("./Messenger"), exports);
__exportStar(require("./SMS"), exports);
__exportStar(require("./Viber"), exports);
__exportStar(require("./VideoObject"), exports);
__exportStar(require("./WhatsApp"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageAudioInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageFileInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageImageInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageSuccessInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageTextInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageVCardInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageVideoInterface.js.map

@@ -1,7 +0,23 @@

export * from './MessengerAudioInterface';
export * from './MessengerChannelInterface';
export * from './MessengerFileInterface';
export * from './MessengerImageInterface';
export * from './MessengerTextInterface';
export * from './MessengerVideoInterface';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MessengerAudioInterface"), exports);
__exportStar(require("./MessengerChannelInterface"), exports);
__exportStar(require("./MessengerFileInterface"), exports);
__exportStar(require("./MessengerImageInterface"), exports);
__exportStar(require("./MessengerTextInterface"), exports);
__exportStar(require("./MessengerVideoInterface"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerAudioInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerChannelInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerFileInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerImageInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerTextInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerVideoInterface.js.map

@@ -1,6 +0,22 @@

export * from './MMSAudioInterface';
export * from './MMSChannelInterface';
export * from './MMSImageInterface';
export * from './MMSVcardInterface';
export * from './MMSVideoInterface';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MMSAudioInterface"), exports);
__exportStar(require("./MMSChannelInterface"), exports);
__exportStar(require("./MMSImageInterface"), exports);
__exportStar(require("./MMSVcardInterface"), exports);
__exportStar(require("./MMSVideoInterface"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSAudioInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSChannelInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSImageInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSVcardInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSVideoInterface.js.map

@@ -1,2 +0,18 @@

export * from './SMSTextInterface';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./SMSTextInterface"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SMSTextInterface.js.map

@@ -1,6 +0,22 @@

export * from './ViberChannelInterface';
export * from './ViberFileInterface';
export * from './ViberImageInterface';
export * from './ViberTextInterface';
export * from './ViberVideoInterface';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./ViberChannelInterface"), exports);
__exportStar(require("./ViberFileInterface"), exports);
__exportStar(require("./ViberImageInterface"), exports);
__exportStar(require("./ViberTextInterface"), exports);
__exportStar(require("./ViberVideoInterface"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageConfig.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberChannelInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberFileInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberImageInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberTextInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberVideoInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=VideoObject.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CustomPayload.js.map

@@ -1,10 +0,26 @@

export * from './WhatsAppAudioInterface';
export * from './WhatsAppChannelInterface';
export * from './WhatsAppCustomInterface';
export * from './WhatsAppFileInterface';
export * from './WhatsAppImageInterface';
export * from './WhatsAppStickerInterface';
export * from './WhatsAppTemplateInterface';
export * from './WhatsAppTextInterface';
export * from './WhatsAppVideoInterface';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./WhatsAppAudioInterface"), exports);
__exportStar(require("./WhatsAppChannelInterface"), exports);
__exportStar(require("./WhatsAppCustomInterface"), exports);
__exportStar(require("./WhatsAppFileInterface"), exports);
__exportStar(require("./WhatsAppImageInterface"), exports);
__exportStar(require("./WhatsAppStickerInterface"), exports);
__exportStar(require("./WhatsAppTemplateInterface"), exports);
__exportStar(require("./WhatsAppTextInterface"), exports);
__exportStar(require("./WhatsAppVideoInterface"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageTemplate.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppAudioInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppChannelInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppCustomInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppFileInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppImageInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppStickerInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppTemplateInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppTextInterface.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppVideoInterface.js.map

@@ -1,4 +0,10 @@

import { Client, AuthenticationType } from '@vonage/server-client';
import debug from 'debug';
const log = debug('vonage:messages');
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Messages = void 0;
const server_client_1 = require("@vonage/server-client");
const debug_1 = __importDefault(require("debug"));
const log = (0, debug_1.default)('vonage:messages');
/**

@@ -37,3 +43,3 @@ * Client class to interact with the Messages API which enables users to manage

*/
export class Messages extends Client {
class Messages extends server_client_1.Client {
/**

@@ -50,10 +56,10 @@ * Adds authentication details to the given request based on the configured

log('Auth config', this.auth);
this.authType = AuthenticationType.KEY_SECRET;
this.authType = server_client_1.AuthenticationType.KEY_SECRET;
if (this.auth.applicationId && this.auth.privateKey) {
log('Adding JWT token to request');
this.authType = AuthenticationType.JWT;
this.authType = server_client_1.AuthenticationType.JWT;
}
if (this.auth.signature) {
log('Signing the request');
this.authType = AuthenticationType.SIGNATURE;
this.authType = server_client_1.AuthenticationType.SIGNATURE;
}

@@ -69,3 +75,3 @@ return super.addAuthenticationToRequest(request);

async send(message) {
const data = Client.transformers.snakeCaseObjectKeys(message, true);
const data = server_client_1.Client.transformers.snakeCaseObjectKeys(message, true);
if ('custom' in message) {

@@ -80,2 +86,3 @@ data.custom = message.custom;

}
exports.Messages = Messages;
//# sourceMappingURL=messages.js.map

@@ -1,7 +0,23 @@

export * from './Messenger';
export * from './MMS';
export * from './Viber';
export * from './WhatsApp';
export * from './SMSParams';
export * from './RCS';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./Messenger"), exports);
__exportStar(require("./MMS"), exports);
__exportStar(require("./Viber"), exports);
__exportStar(require("./WhatsApp"), exports);
__exportStar(require("./SMSParams"), exports);
__exportStar(require("./RCS"), exports);
//# sourceMappingURL=index.js.map

@@ -1,8 +0,24 @@

export * from './MessengerAudioParams';
export * from './MessengerFileParams';
export * from './MessengerImageParams';
export * from './MessengerParams';
export * from './MessengerTextParams';
export * from './MessengerType';
export * from './MessengerVideoParams';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MessengerAudioParams"), exports);
__exportStar(require("./MessengerFileParams"), exports);
__exportStar(require("./MessengerImageParams"), exports);
__exportStar(require("./MessengerParams"), exports);
__exportStar(require("./MessengerTextParams"), exports);
__exportStar(require("./MessengerType"), exports);
__exportStar(require("./MessengerVideoParams"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerAudioParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerFileParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerImageParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerTextParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerVideoParams.js.map

@@ -1,5 +0,21 @@

export * from './MMSAudioParams';
export * from './MMSImageParams';
export * from './MMSVcardParams';
export * from './MMSVideoParams';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MMSAudioParams"), exports);
__exportStar(require("./MMSImageParams"), exports);
__exportStar(require("./MMSVcardParams"), exports);
__exportStar(require("./MMSVideoParams"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSAudioParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSImageParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSVcardParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSVideoParams.js.map

@@ -1,6 +0,22 @@

export * from './RCSCustomParams';
export * from './RCSFileParams';
export * from './RCSImageParams';
export * from './RCSTextParams';
export * from './RCSVideoParams';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./RCSCustomParams"), exports);
__exportStar(require("./RCSFileParams"), exports);
__exportStar(require("./RCSImageParams"), exports);
__exportStar(require("./RCSTextParams"), exports);
__exportStar(require("./RCSVideoParams"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=RCSCustomParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=RCSFileParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=RCSImageParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=RCSTextParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=RCSVideoParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SMSParams.js.map

@@ -1,8 +0,24 @@

export * from './ViberAction';
export * from './ViberActionParams';
export * from './ViberFileParams';
export * from './ViberImageParams';
export * from './ViberService';
export * from './ViberTextParams';
export * from './ViberVideoParams';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./ViberAction"), exports);
__exportStar(require("./ViberActionParams"), exports);
__exportStar(require("./ViberFileParams"), exports);
__exportStar(require("./ViberImageParams"), exports);
__exportStar(require("./ViberService"), exports);
__exportStar(require("./ViberTextParams"), exports);
__exportStar(require("./ViberVideoParams"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberAction.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberActionParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberFileParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberImageParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberService.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberTextParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberVideoParams.js.map

@@ -1,15 +0,31 @@

export * from './WhatsAppAudioParams';
export * from './WhatsAppCustomParams';
export * from './WhatsAppCustomType';
export * from './WhatsAppFileParams';
export * from './WhatsAppImageParams';
export * from './WhatsAppPolicyType';
export * from './WhatsAppStickerIdType';
export * from './WhatsAppStickerParams';
export * from './WhatsAppStickerUrlType';
export * from './WhatsAppTemplateParams';
export * from './WhatsAppTemplateType';
export * from './WhatsAppTextParams';
export * from './WhatsAppVideoParams';
export * from './WhatsAppParams';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./WhatsAppAudioParams"), exports);
__exportStar(require("./WhatsAppCustomParams"), exports);
__exportStar(require("./WhatsAppCustomType"), exports);
__exportStar(require("./WhatsAppFileParams"), exports);
__exportStar(require("./WhatsAppImageParams"), exports);
__exportStar(require("./WhatsAppPolicyType"), exports);
__exportStar(require("./WhatsAppStickerIdType"), exports);
__exportStar(require("./WhatsAppStickerParams"), exports);
__exportStar(require("./WhatsAppStickerUrlType"), exports);
__exportStar(require("./WhatsAppTemplateParams"), exports);
__exportStar(require("./WhatsAppTemplateType"), exports);
__exportStar(require("./WhatsAppTextParams"), exports);
__exportStar(require("./WhatsAppVideoParams"), exports);
__exportStar(require("./WhatsAppParams"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppAudioParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppCustomParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppCustomType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppFileParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppImageParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppPolicyType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppStickerIdType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppStickerParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppStickerUrlType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppTemplateParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppTemplateType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppTextParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppVideoParams.js.map

@@ -1,18 +0,34 @@

export * from './Channels';
export * from './MessageAudioType';
export * from './MessageFileType';
export * from './MessageImageType';
export * from './MessageParams';
export * from './MessageParamsAudio';
export * from './MessageParamsFile';
export * from './MessageParamsImage';
export * from './MessageParamsText';
export * from './MessageParamsVcard';
export * from './MessageParamsVideo';
export * from './MessageVcardType';
export * from './MessageVideoType';
export * from './Requests';
export * from './Responses';
export * from './SendMessageParams';
export * from './MessageSuccess';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./Channels"), exports);
__exportStar(require("./MessageAudioType"), exports);
__exportStar(require("./MessageFileType"), exports);
__exportStar(require("./MessageImageType"), exports);
__exportStar(require("./MessageParams"), exports);
__exportStar(require("./MessageParamsAudio"), exports);
__exportStar(require("./MessageParamsFile"), exports);
__exportStar(require("./MessageParamsImage"), exports);
__exportStar(require("./MessageParamsText"), exports);
__exportStar(require("./MessageParamsVcard"), exports);
__exportStar(require("./MessageParamsVideo"), exports);
__exportStar(require("./MessageVcardType"), exports);
__exportStar(require("./MessageVideoType"), exports);
__exportStar(require("./Requests"), exports);
__exportStar(require("./Responses"), exports);
__exportStar(require("./SendMessageParams"), exports);
__exportStar(require("./MessageSuccess"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageAudioType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageFileType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageImageType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageParams.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageParamsAudio.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageParamsFile.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageParamsImage.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageParamsText.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageParamsVcard.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageParamsVideo.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageSuccess.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageVcardType.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageVideoType.js.map

@@ -1,24 +0,40 @@

export * from './MMSAudioRequest';
export * from './MMSImageRequest';
export * from './MMSVcardRequest';
export * from './MMSVideoRequest';
export * from './SMSMessageRequest';
export * from './MessengerAudioRequest';
export * from './MessengerFileRequest';
export * from './MessengerImageRequest';
export * from './MessengerTextRequest';
export * from './MessengerVideoRequest';
export * from './ViberFileRequest';
export * from './ViberImageRequest';
export * from './ViberTextRequest';
export * from './ViberVideoRequest';
export * from './WhatsAppAudioRequest';
export * from './WhatsAppImageRequest';
export * from './WhatsAppVideoRequest';
export * from './WhatsAppCustomRequest';
export * from './WhatsAppFileRequest';
export * from './WhatsAppStickerUrlRequest';
export * from './WhatsAppStickerIdRequest';
export * from './WhatsAppTemplateRequest';
export * from './WhatsAppTextRequest';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MMSAudioRequest"), exports);
__exportStar(require("./MMSImageRequest"), exports);
__exportStar(require("./MMSVcardRequest"), exports);
__exportStar(require("./MMSVideoRequest"), exports);
__exportStar(require("./SMSMessageRequest"), exports);
__exportStar(require("./MessengerAudioRequest"), exports);
__exportStar(require("./MessengerFileRequest"), exports);
__exportStar(require("./MessengerImageRequest"), exports);
__exportStar(require("./MessengerTextRequest"), exports);
__exportStar(require("./MessengerVideoRequest"), exports);
__exportStar(require("./ViberFileRequest"), exports);
__exportStar(require("./ViberImageRequest"), exports);
__exportStar(require("./ViberTextRequest"), exports);
__exportStar(require("./ViberVideoRequest"), exports);
__exportStar(require("./WhatsAppAudioRequest"), exports);
__exportStar(require("./WhatsAppImageRequest"), exports);
__exportStar(require("./WhatsAppVideoRequest"), exports);
__exportStar(require("./WhatsAppCustomRequest"), exports);
__exportStar(require("./WhatsAppFileRequest"), exports);
__exportStar(require("./WhatsAppStickerUrlRequest"), exports);
__exportStar(require("./WhatsAppStickerIdRequest"), exports);
__exportStar(require("./WhatsAppTemplateRequest"), exports);
__exportStar(require("./WhatsAppTextRequest"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerAudioRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerFileRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerImageRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerTextRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessengerVideoRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSAudioRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSImageRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSVcardRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MMSVideoRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SMSMessageRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberFileRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberImageRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberTextRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ViberVideoRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppAudioRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppCustomRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppFileRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppImageRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppStickerIdRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppStickerUrlRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppTemplateRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppTextRequest.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=WhatsAppVideoRequest.js.map

@@ -1,3 +0,19 @@

export * from './MessageSuccessResponse';
export * from './MessageErrorResponse';
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./MessageSuccessResponse"), exports);
__exportStar(require("./MessageErrorResponse"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageErrorResponse.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=MessageSuccessResponse.js.map

@@ -1,2 +0,3 @@

export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SendMessageParams.js.map
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@vonage/messages",
"version": "1.14.1",
"version": "1.15.0",
"description": "Multi-channel messaging that integrates WhatsApp, Facebook, Viber, SMS, and MMS",

@@ -34,3 +34,2 @@ "keywords": [

],
"type": "module",
"main": "dist/lib/index.js",

@@ -52,4 +51,4 @@ "types": "dist/lib/index.d.ts",

"dependencies": {
"@vonage/server-client": "^1.12.1",
"@vonage/vetch": "^1.7.2",
"@vonage/server-client": "^1.13.0",
"@vonage/vetch": "^1.8.0",
"debug": "^4.3.4"

@@ -56,0 +55,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc