3a58025ef01f37724181a0fd72fc02e4c2d7f81c
[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 _0xf56b=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceMailMessage.attributes','exports','VoiceMailMessage','voice_voicemail_messages','dir'];(function(_0x510c7e,_0x141164){var _0x4eef93=function(_0x12d4b0){while(--_0x12d4b0){_0x510c7e['push'](_0x510c7e['shift']());}};_0x4eef93(++_0x141164);}(_0xf56b,0xe1));var _0xbf56=function(_0x29cb48,_0x5eea49){_0x29cb48=_0x29cb48-0x0;var _0x36bb62=_0xf56b[_0x29cb48];return _0x36bb62;};'use strict';var _=require(_0xbf56('0x0'));var util=require(_0xbf56('0x1'));var logger=require(_0xbf56('0x2'))(_0xbf56('0x3'));var moment=require(_0xbf56('0x4'));var BPromise=require(_0xbf56('0x5'));var rp=require(_0xbf56('0x6'));var fs=require('fs');var path=require(_0xbf56('0x7'));var rimraf=require(_0xbf56('0x8'));var config=require(_0xbf56('0x9'));var attributes=require(_0xbf56('0xa'));module[_0xbf56('0xb')]=function(_0x134ace,_0x511bb0){return _0x134ace['define'](_0xbf56('0xc'),attributes,{'tableName':_0xbf56('0xd'),'paranoid':![],'indexes':[{'name':'dir','fields':[_0xbf56('0xe')]}],'timestamps':![]});};