d569e60e13be475ec54ec58d94d6ffda41b48cb4
[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 _0xe373=['bluebird','request-promise','path','rimraf','../../config/environment','./voiceMailMessage.attributes','exports','VoiceMailMessage','voice_voicemail_messages','dir','util','../../config/logger','moment'];(function(_0x4f005b,_0x4cc16e){var _0x376c8a=function(_0x7177bb){while(--_0x7177bb){_0x4f005b['push'](_0x4f005b['shift']());}};_0x376c8a(++_0x4cc16e);}(_0xe373,0x183));var _0x3e37=function(_0x2310aa,_0x3b621e){_0x2310aa=_0x2310aa-0x0;var _0x450104=_0xe373[_0x2310aa];return _0x450104;};'use strict';var _=require('lodash');var util=require(_0x3e37('0x0'));var logger=require(_0x3e37('0x1'))('api');var moment=require(_0x3e37('0x2'));var BPromise=require(_0x3e37('0x3'));var rp=require(_0x3e37('0x4'));var fs=require('fs');var path=require(_0x3e37('0x5'));var rimraf=require(_0x3e37('0x6'));var config=require(_0x3e37('0x7'));var attributes=require(_0x3e37('0x8'));module[_0x3e37('0x9')]=function(_0x198822,_0x3fd430){return _0x198822['define'](_0x3e37('0xa'),attributes,{'tableName':_0x3e37('0xb'),'paranoid':![],'indexes':[{'name':_0x3e37('0xc'),'fields':[_0x3e37('0xc')]}],'timestamps':![]});};