Built motion from commit (unavailable).|2.5.21
[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 _0x1ea8=['rimraf','../../config/environment','./voiceMailMessage.attributes','define','VoiceMailMessage','voice_voicemail_messages','dir','lodash','../../config/logger','api','moment'];(function(_0xb5a041,_0x394f01){var _0x187974=function(_0x404261){while(--_0x404261){_0xb5a041['push'](_0xb5a041['shift']());}};_0x187974(++_0x394f01);}(_0x1ea8,0x1ca));var _0x81ea=function(_0x48fda3,_0x28ae35){_0x48fda3=_0x48fda3-0x0;var _0x321b1f=_0x1ea8[_0x48fda3];return _0x321b1f;};'use strict';var _=require(_0x81ea('0x0'));var util=require('util');var logger=require(_0x81ea('0x1'))(_0x81ea('0x2'));var moment=require(_0x81ea('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x81ea('0x4'));var config=require(_0x81ea('0x5'));var attributes=require(_0x81ea('0x6'));module['exports']=function(_0x2b5e2d,_0x1440f8){return _0x2b5e2d[_0x81ea('0x7')](_0x81ea('0x8'),attributes,{'tableName':_0x81ea('0x9'),'paranoid':![],'indexes':[{'name':_0x81ea('0xa'),'fields':[_0x81ea('0xa')]}],'timestamps':![]});};