Built motion from commit (unavailable).|2.1.0
[motion2.git] / server / api / voiceMail / voiceMail.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 _0xc417=['mailbox','api','bluebird','request-promise','./voiceMail.attributes','exports','define','voice_voicemail','mailbox_context'];(function(_0x35a8a0,_0x58b379){var _0x3d6b42=function(_0x21a73a){while(--_0x21a73a){_0x35a8a0['push'](_0x35a8a0['shift']());}};_0x3d6b42(++_0x58b379);}(_0xc417,0xd0));var _0x7c41=function(_0x1c3ef9,_0x5b8d06){_0x1c3ef9=_0x1c3ef9-0x0;var _0x4bba0a=_0xc417[_0x1c3ef9];return _0x4bba0a;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x7c41('0x0'));var moment=require('moment');var BPromise=require(_0x7c41('0x1'));var rp=require(_0x7c41('0x2'));var attributes=require(_0x7c41('0x3'));module[_0x7c41('0x4')]=function(_0x11cc5a,_0x3563e9){return _0x11cc5a[_0x7c41('0x5')]('VoiceMail',attributes,{'tableName':_0x7c41('0x6'),'paranoid':![],'indexes':[{'name':_0x7c41('0x7'),'fields':[_0x7c41('0x8'),'context']}],'timestamps':!![]});};