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 _0x96ef=['VoiceContext','voice_contexts','lodash','util','../../config/logger','moment','bluebird','rimraf','./voiceContext.attributes','exports','define'];(function(_0x5c0cba,_0x2315e5){var _0x3c390f=function(_0x37be49){while(--_0x37be49){_0x5c0cba['push'](_0x5c0cba['shift']());}};_0x3c390f(++_0x2315e5);}(_0x96ef,0xf4));var _0xf96e=function(_0x492f39,_0x4f8a22){_0x492f39=_0x492f39-0x0;var _0x2c7dff=_0x96ef[_0x492f39];return _0x2c7dff;};'use strict';var _=require(_0xf96e('0x0'));var util=require(_0xf96e('0x1'));var logger=require(_0xf96e('0x2'))('api');var moment=require(_0xf96e('0x3'));var BPromise=require(_0xf96e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf96e('0x5'));var config=require('../../config/environment');var attributes=require(_0xf96e('0x6'));module[_0xf96e('0x7')]=function(_0x33a86e,_0x1be7bd){return _0x33a86e[_0xf96e('0x8')](_0xf96e('0x9'),attributes,{'tableName':_0xf96e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};