b518bb5be7684e39d29838cb4442ca4a046234d0
[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 _0x722c=['define','VoiceMailMessage','voice_voicemail_messages','dir','lodash','../../config/logger','bluebird','request-promise','path','rimraf','./voiceMailMessage.attributes'];(function(_0x50221f,_0x59ef1a){var _0x5ed563=function(_0x2464b2){while(--_0x2464b2){_0x50221f['push'](_0x50221f['shift']());}};_0x5ed563(++_0x59ef1a);}(_0x722c,0x122));var _0xc722=function(_0x241044,_0x41c81b){_0x241044=_0x241044-0x0;var _0x50b4b8=_0x722c[_0x241044];return _0x50b4b8;};'use strict';var _=require(_0xc722('0x0'));var util=require('util');var logger=require(_0xc722('0x1'))('api');var moment=require('moment');var BPromise=require(_0xc722('0x2'));var rp=require(_0xc722('0x3'));var fs=require('fs');var path=require(_0xc722('0x4'));var rimraf=require(_0xc722('0x5'));var config=require('../../config/environment');var attributes=require(_0xc722('0x6'));module['exports']=function(_0x1bfdc9,_0x1de671){return _0x1bfdc9[_0xc722('0x7')](_0xc722('0x8'),attributes,{'tableName':_0xc722('0x9'),'paranoid':![],'indexes':[{'name':_0xc722('0xa'),'fields':[_0xc722('0xa')]}],'timestamps':![]});};