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 _0x355e=['request-promise','path','rimraf','../../config/environment','./voiceContext.attributes','exports','define','VoiceContext','voice_contexts','lodash','util','../../config/logger','bluebird'];(function(_0x1df185,_0x30a732){var _0x19925d=function(_0x3b826b){while(--_0x3b826b){_0x1df185['push'](_0x1df185['shift']());}};_0x19925d(++_0x30a732);}(_0x355e,0xe6));var _0xe355=function(_0x17875c,_0x20f12f){_0x17875c=_0x17875c-0x0;var _0x9b46ef=_0x355e[_0x17875c];return _0x9b46ef;};'use strict';var _=require(_0xe355('0x0'));var util=require(_0xe355('0x1'));var logger=require(_0xe355('0x2'))('api');var moment=require('moment');var BPromise=require(_0xe355('0x3'));var rp=require(_0xe355('0x4'));var fs=require('fs');var path=require(_0xe355('0x5'));var rimraf=require(_0xe355('0x6'));var config=require(_0xe355('0x7'));var attributes=require(_0xe355('0x8'));module[_0xe355('0x9')]=function(_0x1a16cc,_0x3fbdc3){return _0x1a16cc[_0xe355('0xa')](_0xe355('0xb'),attributes,{'tableName':_0xe355('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};