Built motion from commit c738b9ac.|2.6.25
[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 _0xf3e3=['lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./voiceMailMessage.attributes','VoiceMailMessage','voice_voicemail_messages','dir'];(function(_0x208c01,_0x2dd63d){var _0x54a5fc=function(_0x35120d){while(--_0x35120d){_0x208c01['push'](_0x208c01['shift']());}};_0x54a5fc(++_0x2dd63d);}(_0xf3e3,0x78));var _0x3f3e=function(_0x1cdba8,_0x5f1104){_0x1cdba8=_0x1cdba8-0x0;var _0x1f8b83=_0xf3e3[_0x1cdba8];return _0x1f8b83;};'use strict';var _=require(_0x3f3e('0x0'));var util=require(_0x3f3e('0x1'));var logger=require(_0x3f3e('0x2'))(_0x3f3e('0x3'));var moment=require(_0x3f3e('0x4'));var BPromise=require(_0x3f3e('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x3f3e('0x6'));var config=require(_0x3f3e('0x7'));var attributes=require(_0x3f3e('0x8'));module['exports']=function(_0x21d169,_0x3e866d){return _0x21d169['define'](_0x3f3e('0x9'),attributes,{'tableName':_0x3f3e('0xa'),'paranoid':![],'indexes':[{'name':_0x3f3e('0xb'),'fields':[_0x3f3e('0xb')]}],'timestamps':![]});};