1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x3180=['define','VoiceMail','voice_voicemail','mailbox_context','mailbox','context','lodash','util','request-promise'];(function(_0x305b20,_0x5e57e9){var _0x26d64a=function(_0x2e17f0){while(--_0x2e17f0){_0x305b20['push'](_0x305b20['shift']());}};_0x26d64a(++_0x5e57e9);}(_0x3180,0x1a4));var _0x0318=function(_0x46519d,_0xbf0495){_0x46519d=_0x46519d-0x0;var _0x2ea21e=_0x3180[_0x46519d];return _0x2ea21e;};'use strict';var _=require(_0x0318('0x0'));var util=require(_0x0318('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x0318('0x2'));var attributes=require('./voiceMail.attributes');module['exports']=function(_0x44c195,_0x22c7d7){return _0x44c195[_0x0318('0x3')](_0x0318('0x4'),attributes,{'tableName':_0x0318('0x5'),'paranoid':![],'indexes':[{'name':_0x0318('0x6'),'fields':[_0x0318('0x7'),_0x0318('0x8')]}],'timestamps':!![]});};