Built motion from commit 9d7072cc.|2.5.39
[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 _0xec84=['./voiceMailMessage.attributes','exports','VoiceMailMessage','voice_voicemail_messages','dir','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x1ee9a1,_0x5f1434){var _0x21270f=function(_0x303251){while(--_0x303251){_0x1ee9a1['push'](_0x1ee9a1['shift']());}};_0x21270f(++_0x5f1434);}(_0xec84,0xbb));var _0x4ec8=function(_0x393870,_0x1db899){_0x393870=_0x393870-0x0;var _0x423420=_0xec84[_0x393870];return _0x423420;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x4ec8('0x0'))(_0x4ec8('0x1'));var moment=require(_0x4ec8('0x2'));var BPromise=require(_0x4ec8('0x3'));var rp=require(_0x4ec8('0x4'));var fs=require('fs');var path=require(_0x4ec8('0x5'));var rimraf=require(_0x4ec8('0x6'));var config=require(_0x4ec8('0x7'));var attributes=require(_0x4ec8('0x8'));module[_0x4ec8('0x9')]=function(_0x18376b,_0x268d85){return _0x18376b['define'](_0x4ec8('0xa'),attributes,{'tableName':_0x4ec8('0xb'),'paranoid':![],'indexes':[{'name':_0x4ec8('0xc'),'fields':['dir']}],'timestamps':![]});};