Built motion from commit (unavailable).|2.5.9
[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 _0x18be=['util','api','moment','bluebird','request-promise','path','rimraf','./voiceMailMessage.attributes','define','VoiceMailMessage','dir','lodash'];(function(_0x444716,_0x1fd1ef){var _0x9e6df5=function(_0x445503){while(--_0x445503){_0x444716['push'](_0x444716['shift']());}};_0x9e6df5(++_0x1fd1ef);}(_0x18be,0xef));var _0xe18b=function(_0x560e56,_0x27f25b){_0x560e56=_0x560e56-0x0;var _0x182e10=_0x18be[_0x560e56];return _0x182e10;};'use strict';var _=require(_0xe18b('0x0'));var util=require(_0xe18b('0x1'));var logger=require('../../config/logger')(_0xe18b('0x2'));var moment=require(_0xe18b('0x3'));var BPromise=require(_0xe18b('0x4'));var rp=require(_0xe18b('0x5'));var fs=require('fs');var path=require(_0xe18b('0x6'));var rimraf=require(_0xe18b('0x7'));var config=require('../../config/environment');var attributes=require(_0xe18b('0x8'));module['exports']=function(_0x23400e,_0x9467fa){return _0x23400e[_0xe18b('0x9')](_0xe18b('0xa'),attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0xe18b('0xb'),'fields':[_0xe18b('0xb')]}],'timestamps':![]});};