Built motion from commit 355702c8.|2.5.41
[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 _0xb44b=['moment','bluebird','request-promise','rimraf','./voiceMailMessage.attributes','exports','define','VoiceMailMessage','dir','lodash','util','../../config/logger'];(function(_0x4f4107,_0x2781ec){var _0x136018=function(_0x1ab24f){while(--_0x1ab24f){_0x4f4107['push'](_0x4f4107['shift']());}};_0x136018(++_0x2781ec);}(_0xb44b,0x111));var _0xbb44=function(_0x7ed1f,_0xe724d3){_0x7ed1f=_0x7ed1f-0x0;var _0x58d101=_0xb44b[_0x7ed1f];return _0x58d101;};'use strict';var _=require(_0xbb44('0x0'));var util=require(_0xbb44('0x1'));var logger=require(_0xbb44('0x2'))('api');var moment=require(_0xbb44('0x3'));var BPromise=require(_0xbb44('0x4'));var rp=require(_0xbb44('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbb44('0x6'));var config=require('../../config/environment');var attributes=require(_0xbb44('0x7'));module[_0xbb44('0x8')]=function(_0x10343c,_0x1f3620){return _0x10343c[_0xbb44('0x9')](_0xbb44('0xa'),attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0xbb44('0xb'),'fields':['dir']}],'timestamps':![]});};