Built motion from commit (unavailable).|2.5.2
[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 _0x9e76=['define','VoiceMailMessage','dir','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceMailMessage.attributes','exports'];(function(_0x22d342,_0x7b0719){var _0xdbbe5a=function(_0x7c4bf4){while(--_0x7c4bf4){_0x22d342['push'](_0x22d342['shift']());}};_0xdbbe5a(++_0x7b0719);}(_0x9e76,0xac));var _0x69e7=function(_0xaa1b3e,_0x47d976){_0xaa1b3e=_0xaa1b3e-0x0;var _0x454d7d=_0x9e76[_0xaa1b3e];return _0x454d7d;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x69e7('0x0'))(_0x69e7('0x1'));var moment=require(_0x69e7('0x2'));var BPromise=require(_0x69e7('0x3'));var rp=require(_0x69e7('0x4'));var fs=require('fs');var path=require(_0x69e7('0x5'));var rimraf=require(_0x69e7('0x6'));var config=require(_0x69e7('0x7'));var attributes=require(_0x69e7('0x8'));module[_0x69e7('0x9')]=function(_0x5a61e9,_0x147221){return _0x5a61e9[_0x69e7('0xa')](_0x69e7('0xb'),attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0x69e7('0xc'),'fields':[_0x69e7('0xc')]}],'timestamps':![]});};