Built motion from commit (unavailable).|2.4.21
[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 _0x7f08=['rimraf','../../config/environment','./voiceMailMessage.attributes','exports','define','voice_voicemail_messages','lodash','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x244b6a,_0x57c79c){var _0x29f866=function(_0x448ff8){while(--_0x448ff8){_0x244b6a['push'](_0x244b6a['shift']());}};_0x29f866(++_0x57c79c);}(_0x7f08,0xae));var _0x87f0=function(_0x1a164b,_0x3495cc){_0x1a164b=_0x1a164b-0x0;var _0x1ea354=_0x7f08[_0x1a164b];return _0x1ea354;};'use strict';var _=require(_0x87f0('0x0'));var util=require('util');var logger=require(_0x87f0('0x1'))('api');var moment=require(_0x87f0('0x2'));var BPromise=require(_0x87f0('0x3'));var rp=require(_0x87f0('0x4'));var fs=require('fs');var path=require(_0x87f0('0x5'));var rimraf=require(_0x87f0('0x6'));var config=require(_0x87f0('0x7'));var attributes=require(_0x87f0('0x8'));module[_0x87f0('0x9')]=function(_0x3325bb,_0x1c41ba){return _0x3325bb[_0x87f0('0xa')]('VoiceMailMessage',attributes,{'tableName':_0x87f0('0xb'),'paranoid':![],'indexes':[{'name':'dir','fields':['dir']}],'timestamps':![]});};