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 _0x596c=['util','../../config/logger','api','moment','request-promise','path','../../config/environment','./voiceMailMessage.attributes','VoiceMailMessage','voice_voicemail_messages','lodash'];(function(_0x193520,_0x5bc39c){var _0x17ed47=function(_0x520547){while(--_0x520547){_0x193520['push'](_0x193520['shift']());}};_0x17ed47(++_0x5bc39c);}(_0x596c,0x1ac));var _0xc596=function(_0x4fef2f,_0x35fb39){_0x4fef2f=_0x4fef2f-0x0;var _0x46423f=_0x596c[_0x4fef2f];return _0x46423f;};'use strict';var _=require(_0xc596('0x0'));var util=require(_0xc596('0x1'));var logger=require(_0xc596('0x2'))(_0xc596('0x3'));var moment=require(_0xc596('0x4'));var BPromise=require('bluebird');var rp=require(_0xc596('0x5'));var fs=require('fs');var path=require(_0xc596('0x6'));var rimraf=require('rimraf');var config=require(_0xc596('0x7'));var attributes=require(_0xc596('0x8'));module['exports']=function(_0x34eb7c,_0x125332){return _0x34eb7c['define'](_0xc596('0x9'),attributes,{'tableName':_0xc596('0xa'),'paranoid':![],'indexes':[{'name':'dir','fields':['dir']}],'timestamps':![]});};