Built motion from commit 753c950e.|2.5.42
[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 _0x9218=['define','voice_voicemail_messages','dir','lodash','api','moment','bluebird','request-promise','path','../../config/environment','./voiceMailMessage.attributes','exports'];(function(_0x2e345e,_0x177e34){var _0x5b6d03=function(_0x204db0){while(--_0x204db0){_0x2e345e['push'](_0x2e345e['shift']());}};_0x5b6d03(++_0x177e34);}(_0x9218,0x13b));var _0x8921=function(_0x475564,_0x41345b){_0x475564=_0x475564-0x0;var _0x145208=_0x9218[_0x475564];return _0x145208;};'use strict';var _=require(_0x8921('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x8921('0x1'));var moment=require(_0x8921('0x2'));var BPromise=require(_0x8921('0x3'));var rp=require(_0x8921('0x4'));var fs=require('fs');var path=require(_0x8921('0x5'));var rimraf=require('rimraf');var config=require(_0x8921('0x6'));var attributes=require(_0x8921('0x7'));module[_0x8921('0x8')]=function(_0x12c256,_0x51861e){return _0x12c256[_0x8921('0x9')]('VoiceMailMessage',attributes,{'tableName':_0x8921('0xa'),'paranoid':![],'indexes':[{'name':_0x8921('0xb'),'fields':['dir']}],'timestamps':![]});};