Built motion from commit (unavailable).|2.0.75
[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 _0xfd97=['bluebird','request-promise','./voiceMail.attributes','exports','define','VoiceMail','voice_voicemail','mailbox_context','mailbox','context','util','../../config/logger','api','moment'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xfd97,0x96));var _0x7fd9=function(_0x40aa66,_0x2c7679){_0x40aa66=_0x40aa66-0x0;var _0x593df7=_0xfd97[_0x40aa66];return _0x593df7;};'use strict';var _=require('lodash');var util=require(_0x7fd9('0x0'));var logger=require(_0x7fd9('0x1'))(_0x7fd9('0x2'));var moment=require(_0x7fd9('0x3'));var BPromise=require(_0x7fd9('0x4'));var rp=require(_0x7fd9('0x5'));var attributes=require(_0x7fd9('0x6'));module[_0x7fd9('0x7')]=function(_0x2032d3,_0x1dccc1){return _0x2032d3[_0x7fd9('0x8')](_0x7fd9('0x9'),attributes,{'tableName':_0x7fd9('0xa'),'paranoid':![],'indexes':[{'name':_0x7fd9('0xb'),'fields':[_0x7fd9('0xc'),_0x7fd9('0xd')]}],'timestamps':!![]});};