Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / voiceMailMessage / voiceMailMessage.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xff13=['define','VoiceMailMessage','dir','lodash','util','api','moment','bluebird','../../config/environment','exports'];(function(_0x2ef6ec,_0x3ea823){var _0x4b9617=function(_0x2fa4e5){while(--_0x2fa4e5){_0x2ef6ec['push'](_0x2ef6ec['shift']());}};_0x4b9617(++_0x3ea823);}(_0xff13,0xfd));var _0x3ff1=function(_0xb4e9d7,_0x4dd75a){_0xb4e9d7=_0xb4e9d7-0x0;var _0x99e9c5=_0xff13[_0xb4e9d7];return _0x99e9c5;};'use strict';var _=require(_0x3ff1('0x0'));var util=require(_0x3ff1('0x1'));var logger=require('../../config/logger')(_0x3ff1('0x2'));var moment=require(_0x3ff1('0x3'));var BPromise=require(_0x3ff1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x3ff1('0x5'));var attributes=require('./voiceMailMessage.attributes');module[_0x3ff1('0x6')]=function(_0x155566,_0x49ecf1){return _0x155566[_0x3ff1('0x7')](_0x3ff1('0x8'),attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0x3ff1('0x9'),'fields':[_0x3ff1('0x9')]}],'timestamps':![]});};