Built motion from commit d1eab355.|2.6.28
[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 _0x990e=['define','VoiceMailMessage','voice_voicemail_messages','dir','lodash','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceMailMessage.attributes','exports'];(function(_0x42e5bc,_0x5dcfee){var _0x3a67c5=function(_0x5dbdc6){while(--_0x5dbdc6){_0x42e5bc['push'](_0x42e5bc['shift']());}};_0x3a67c5(++_0x5dcfee);}(_0x990e,0x154));var _0xe990=function(_0x29302c,_0xcef37b){_0x29302c=_0x29302c-0x0;var _0x54c886=_0x990e[_0x29302c];return _0x54c886;};'use strict';var _=require(_0xe990('0x0'));var util=require('util');var logger=require(_0xe990('0x1'))(_0xe990('0x2'));var moment=require(_0xe990('0x3'));var BPromise=require(_0xe990('0x4'));var rp=require(_0xe990('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe990('0x6'));var config=require(_0xe990('0x7'));var attributes=require(_0xe990('0x8'));module[_0xe990('0x9')]=function(_0x5cdbfe,_0x4f9e8f){return _0x5cdbfe[_0xe990('0xa')](_0xe990('0xb'),attributes,{'tableName':_0xe990('0xc'),'paranoid':![],'indexes':[{'name':_0xe990('0xd'),'fields':['dir']}],'timestamps':![]});};