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 _0xe63f=['define','VoiceContext','voice_contexts','lodash','api','path','./voiceContext.attributes','exports'];(function(_0xf92f1f,_0x5c2f65){var _0x35e51d=function(_0x393002){while(--_0x393002){_0xf92f1f['push'](_0xf92f1f['shift']());}};_0x35e51d(++_0x5c2f65);}(_0xe63f,0xcb));var _0xfe63=function(_0x390957,_0x1963ac){_0x390957=_0x390957-0x0;var _0x1adbc8=_0xe63f[_0x390957];return _0x1adbc8;};'use strict';var _=require(_0xfe63('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xfe63('0x1'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xfe63('0x2'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xfe63('0x3'));module[_0xfe63('0x4')]=function(_0x3a72f8,_0x1ddc6d){return _0x3a72f8[_0xfe63('0x5')](_0xfe63('0x6'),attributes,{'tableName':_0xfe63('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};