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 _0x6df9=['./voiceContext.attributes','define','VoiceContext','voice_contexts','lodash','moment','bluebird'];(function(_0xde43c2,_0x4f6a35){var _0x37a763=function(_0x87d988){while(--_0x87d988){_0xde43c2['push'](_0xde43c2['shift']());}};_0x37a763(++_0x4f6a35);}(_0x6df9,0x13f));var _0x96df=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0x6df9[_0x167cc1];return _0x10bc4b;};'use strict';var _=require(_0x96df('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x96df('0x1'));var BPromise=require(_0x96df('0x2'));var rp=require('request-promise');var attributes=require(_0x96df('0x3'));module['exports']=function(_0x5ccf80,_0x6d5c4a){return _0x5ccf80[_0x96df('0x4')](_0x96df('0x5'),attributes,{'tableName':_0x96df('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};