Built motion from commit (unavailable).|2.5.0
[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 _0x5eb7=['voice_voicemail_messages','dir','lodash','util','../../config/logger','api','moment','path','../../config/environment','./voiceMailMessage.attributes','exports','VoiceMailMessage'];(function(_0x239930,_0x592423){var _0x37ec83=function(_0x2633dd){while(--_0x2633dd){_0x239930['push'](_0x239930['shift']());}};_0x37ec83(++_0x592423);}(_0x5eb7,0x176));var _0x75eb=function(_0x710815,_0x520da8){_0x710815=_0x710815-0x0;var _0x5b3b89=_0x5eb7[_0x710815];return _0x5b3b89;};'use strict';var _=require(_0x75eb('0x0'));var util=require(_0x75eb('0x1'));var logger=require(_0x75eb('0x2'))(_0x75eb('0x3'));var moment=require(_0x75eb('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x75eb('0x5'));var rimraf=require('rimraf');var config=require(_0x75eb('0x6'));var attributes=require(_0x75eb('0x7'));module[_0x75eb('0x8')]=function(_0x3d9ac2,_0x47bd1e){return _0x3d9ac2['define'](_0x75eb('0x9'),attributes,{'tableName':_0x75eb('0xa'),'paranoid':![],'indexes':[{'name':_0x75eb('0xb'),'fields':[_0x75eb('0xb')]}],'timestamps':![]});};