Built motion from commit (unavailable).|2.5.14
[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 _0xcbe4=['util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','exports','define','VoiceMailMessage','voice_voicemail_messages','dir','lodash'];(function(_0x1ae2b1,_0x5b090c){var _0x417c24=function(_0x233867){while(--_0x233867){_0x1ae2b1['push'](_0x1ae2b1['shift']());}};_0x417c24(++_0x5b090c);}(_0xcbe4,0x1ed));var _0x4cbe=function(_0xd1ade,_0x221a08){_0xd1ade=_0xd1ade-0x0;var _0x15f0c3=_0xcbe4[_0xd1ade];return _0x15f0c3;};'use strict';var _=require(_0x4cbe('0x0'));var util=require(_0x4cbe('0x1'));var logger=require(_0x4cbe('0x2'))(_0x4cbe('0x3'));var moment=require('moment');var BPromise=require(_0x4cbe('0x4'));var rp=require(_0x4cbe('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4cbe('0x6'));var config=require(_0x4cbe('0x7'));var attributes=require('./voiceMailMessage.attributes');module[_0x4cbe('0x8')]=function(_0x587fe0,_0x52ad13){return _0x587fe0[_0x4cbe('0x9')](_0x4cbe('0xa'),attributes,{'tableName':_0x4cbe('0xb'),'paranoid':![],'indexes':[{'name':_0x4cbe('0xc'),'fields':[_0x4cbe('0xc')]}],'timestamps':![]});};