f50122d3bd7abd85b71896118787776bacb7b4fc
[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 _0xe0f5=['exports','define','VoiceMailMessage','voice_voicemail_messages','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./voiceMailMessage.attributes'];(function(_0x270adf,_0x1daaa3){var _0x29eda9=function(_0x40afec){while(--_0x40afec){_0x270adf['push'](_0x270adf['shift']());}};_0x29eda9(++_0x1daaa3);}(_0xe0f5,0x66));var _0x5e0f=function(_0x1761f0,_0x27fe8b){_0x1761f0=_0x1761f0-0x0;var _0x371d9f=_0xe0f5[_0x1761f0];return _0x371d9f;};'use strict';var _=require(_0x5e0f('0x0'));var util=require(_0x5e0f('0x1'));var logger=require(_0x5e0f('0x2'))(_0x5e0f('0x3'));var moment=require(_0x5e0f('0x4'));var BPromise=require(_0x5e0f('0x5'));var rp=require(_0x5e0f('0x6'));var fs=require('fs');var path=require(_0x5e0f('0x7'));var rimraf=require('rimraf');var config=require(_0x5e0f('0x8'));var attributes=require(_0x5e0f('0x9'));module[_0x5e0f('0xa')]=function(_0x456bc6,_0x384623){return _0x456bc6[_0x5e0f('0xb')](_0x5e0f('0xc'),attributes,{'tableName':_0x5e0f('0xd'),'paranoid':![],'indexes':[{'name':'dir','fields':['dir']}],'timestamps':![]});};