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 _0x63ef=['bluebird','rimraf','../../config/environment','exports','define','TeamVoicePrefix','team_has_voice_prefixes','lodash','util','../../config/logger','moment'];(function(_0x596776,_0x209317){var _0x153c39=function(_0x371fd5){while(--_0x371fd5){_0x596776['push'](_0x596776['shift']());}};_0x153c39(++_0x209317);}(_0x63ef,0x11a));var _0xf63e=function(_0x46f1a6,_0xc7a582){_0x46f1a6=_0x46f1a6-0x0;var _0x38429a=_0x63ef[_0x46f1a6];return _0x38429a;};'use strict';var _=require(_0xf63e('0x0'));var util=require(_0xf63e('0x1'));var logger=require(_0xf63e('0x2'))('api');var moment=require(_0xf63e('0x3'));var BPromise=require(_0xf63e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xf63e('0x5'));var config=require(_0xf63e('0x6'));var attributes=require('./teamVoicePrefix.attributes');module[_0xf63e('0x7')]=function(_0x367f73,_0x519a33){return _0x367f73[_0xf63e('0x8')](_0xf63e('0x9'),attributes,{'tableName':_0xf63e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};