Built motion from commit (unavailable).|2.5.21
[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 _0xf61a=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','VoiceMailMessage','dir'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0xf61a,0x75));var _0xaf61=function(_0x1c77c4,_0x3a9e13){_0x1c77c4=_0x1c77c4-0x0;var _0x18a918=_0xf61a[_0x1c77c4];return _0x18a918;};'use strict';var _=require(_0xaf61('0x0'));var util=require(_0xaf61('0x1'));var logger=require(_0xaf61('0x2'))('api');var moment=require(_0xaf61('0x3'));var BPromise=require(_0xaf61('0x4'));var rp=require(_0xaf61('0x5'));var fs=require('fs');var path=require(_0xaf61('0x6'));var rimraf=require(_0xaf61('0x7'));var config=require(_0xaf61('0x8'));var attributes=require('./voiceMailMessage.attributes');module[_0xaf61('0x9')]=function(_0x280a47,_0x2df7f5){return _0x280a47[_0xaf61('0xa')](_0xaf61('0xb'),attributes,{'tableName':'voice_voicemail_messages','paranoid':![],'indexes':[{'name':_0xaf61('0xc'),'fields':[_0xaf61('0xc')]}],'timestamps':![]});};