Built motion from commit (unavailable).|2.0.73
[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 _0x3c4f=['exports','define','VoiceMailMessage','dir','util','moment','bluebird'];(function(_0x2738c6,_0x276a49){var _0x41f441=function(_0x5252e3){while(--_0x5252e3){_0x2738c6['push'](_0x2738c6['shift']());}};_0x41f441(++_0x276a49);}(_0x3c4f,0x1c4));var _0xf3c4=function(_0x3020fa,_0x5168a0){_0x3020fa=_0x3020fa-0x0;var _0x3d1204=_0x3c4f[_0x3020fa];return _0x3d1204;};'use strict';var _=require('lodash');var util=require(_0xf3c4('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xf3c4('0x1'));var BPromise=require(_0xf3c4('0x2'));var rp=require('request-promise');var attributes=require('./voiceMailMessage.attributes');module[_0xf3c4('0x3')]=function(_0x482258,_0x144ad1){return _0x482258[_0xf3c4('0x4')](_0xf3c4('0x5'),attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0xf3c4('0x6'),'fields':[_0xf3c4('0x6')]}],'timestamps':![]});};