Built motion from commit 9d1906d1.|2.5.40
[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 _0x259c=['../../config/environment','./voiceMailMessage.attributes','exports','define','VoiceMailMessage','dir','lodash','util','api','bluebird','path','rimraf'];(function(_0x4b9dc9,_0x14b3a2){var _0x57b302=function(_0x4f99ff){while(--_0x4f99ff){_0x4b9dc9['push'](_0x4b9dc9['shift']());}};_0x57b302(++_0x14b3a2);}(_0x259c,0x72));var _0xc259=function(_0x232653,_0x26161f){_0x232653=_0x232653-0x0;var _0x21eb1e=_0x259c[_0x232653];return _0x21eb1e;};'use strict';var _=require(_0xc259('0x0'));var util=require(_0xc259('0x1'));var logger=require('../../config/logger')(_0xc259('0x2'));var moment=require('moment');var BPromise=require(_0xc259('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc259('0x4'));var rimraf=require(_0xc259('0x5'));var config=require(_0xc259('0x6'));var attributes=require(_0xc259('0x7'));module[_0xc259('0x8')]=function(_0x408ed8,_0x32d75a){return _0x408ed8[_0xc259('0x9')](_0xc259('0xa'),attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0xc259('0xb'),'fields':[_0xc259('0xb')]}],'timestamps':![]});};