Built motion from commit 1fa89557.|2.6.10
[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 _0x4b33=['path','rimraf','define','dir','lodash','util','api','moment','request-promise'];(function(_0x3b71cc,_0x405c84){var _0x1539aa=function(_0x161d88){while(--_0x161d88){_0x3b71cc['push'](_0x3b71cc['shift']());}};_0x1539aa(++_0x405c84);}(_0x4b33,0x12d));var _0x34b3=function(_0x24ede6,_0x44db36){_0x24ede6=_0x24ede6-0x0;var _0x2ade5e=_0x4b33[_0x24ede6];return _0x2ade5e;};'use strict';var _=require(_0x34b3('0x0'));var util=require(_0x34b3('0x1'));var logger=require('../../config/logger')(_0x34b3('0x2'));var moment=require(_0x34b3('0x3'));var BPromise=require('bluebird');var rp=require(_0x34b3('0x4'));var fs=require('fs');var path=require(_0x34b3('0x5'));var rimraf=require(_0x34b3('0x6'));var config=require('../../config/environment');var attributes=require('./voiceMailMessage.attributes');module['exports']=function(_0x330e75,_0x409ff8){return _0x330e75[_0x34b3('0x7')]('VoiceMailMessage',attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0x34b3('0x8'),'fields':[_0x34b3('0x8')]}],'timestamps':![]});};