Built motion from commit (unavailable).|2.5.16
[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 _0x53b1=['bluebird','request-promise','path','../../config/environment','./voiceMailMessage.attributes','exports','VoiceMailMessage','voice_voicemail_messages','dir','lodash','util','../../config/logger','api'];(function(_0x1b4002,_0x5b4094){var _0x1716f3=function(_0x47cfd1){while(--_0x47cfd1){_0x1b4002['push'](_0x1b4002['shift']());}};_0x1716f3(++_0x5b4094);}(_0x53b1,0xf3));var _0x153b=function(_0xdcdbde,_0x4e6f20){_0xdcdbde=_0xdcdbde-0x0;var _0x43664a=_0x53b1[_0xdcdbde];return _0x43664a;};'use strict';var _=require(_0x153b('0x0'));var util=require(_0x153b('0x1'));var logger=require(_0x153b('0x2'))(_0x153b('0x3'));var moment=require('moment');var BPromise=require(_0x153b('0x4'));var rp=require(_0x153b('0x5'));var fs=require('fs');var path=require(_0x153b('0x6'));var rimraf=require('rimraf');var config=require(_0x153b('0x7'));var attributes=require(_0x153b('0x8'));module[_0x153b('0x9')]=function(_0x26fc9f,_0x28eea3){return _0x26fc9f['define'](_0x153b('0xa'),attributes,{'tableName':_0x153b('0xb'),'paranoid':![],'indexes':[{'name':_0x153b('0xc'),'fields':[_0x153b('0xc')]}],'timestamps':![]});};