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 _0xd2bf=['lodash','moment','bluebird','path','../../config/environment','./teamVoicePrefix.attributes','exports','TeamVoicePrefix','team_has_voice_prefixes'];(function(_0x13473a,_0x3409a0){var _0x71212e=function(_0x67cda0){while(--_0x67cda0){_0x13473a['push'](_0x13473a['shift']());}};_0x71212e(++_0x3409a0);}(_0xd2bf,0x1dd));var _0xfd2b=function(_0x534c8f,_0x500079){_0x534c8f=_0x534c8f-0x0;var _0x5a57f5=_0xd2bf[_0x534c8f];return _0x5a57f5;};'use strict';var _=require(_0xfd2b('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xfd2b('0x1'));var BPromise=require(_0xfd2b('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfd2b('0x3'));var rimraf=require('rimraf');var config=require(_0xfd2b('0x4'));var attributes=require(_0xfd2b('0x5'));module[_0xfd2b('0x6')]=function(_0x1abfd2,_0x443190){return _0x1abfd2['define'](_0xfd2b('0x7'),attributes,{'tableName':_0xfd2b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};