Built motion from commit (unavailable).|2.5.26
[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 _0x57c6=['../../config/environment','./voiceMailMessage.attributes','exports','define','VoiceMailMessage','voice_voicemail_messages','dir','lodash','util','moment','request-promise','path'];(function(_0x2dbde5,_0x1c1df9){var _0x460803=function(_0x5067ec){while(--_0x5067ec){_0x2dbde5['push'](_0x2dbde5['shift']());}};_0x460803(++_0x1c1df9);}(_0x57c6,0xa3));var _0x657c=function(_0x23288c,_0x7bcfcd){_0x23288c=_0x23288c-0x0;var _0x1305a6=_0x57c6[_0x23288c];return _0x1305a6;};'use strict';var _=require(_0x657c('0x0'));var util=require(_0x657c('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x657c('0x2'));var BPromise=require('bluebird');var rp=require(_0x657c('0x3'));var fs=require('fs');var path=require(_0x657c('0x4'));var rimraf=require('rimraf');var config=require(_0x657c('0x5'));var attributes=require(_0x657c('0x6'));module[_0x657c('0x7')]=function(_0x11d062,_0x36f7a2){return _0x11d062[_0x657c('0x8')](_0x657c('0x9'),attributes,{'tableName':_0x657c('0xa'),'paranoid':![],'indexes':[{'name':_0x657c('0xb'),'fields':[_0x657c('0xb')]}],'timestamps':![]});};