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 _0x24b3=['../../config/environment','exports','TeamVoicePrefix','team_has_voice_prefixes','lodash','util','../../config/logger','moment','rimraf'];(function(_0x31a67e,_0xd626fb){var _0x2fea8b=function(_0x4c96c5){while(--_0x4c96c5){_0x31a67e['push'](_0x31a67e['shift']());}};_0x2fea8b(++_0xd626fb);}(_0x24b3,0xd3));var _0x324b=function(_0x523522,_0x4c162a){_0x523522=_0x523522-0x0;var _0xcc3178=_0x24b3[_0x523522];return _0xcc3178;};'use strict';var _=require(_0x324b('0x0'));var util=require(_0x324b('0x1'));var logger=require(_0x324b('0x2'))('api');var moment=require(_0x324b('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x324b('0x4'));var config=require(_0x324b('0x5'));var attributes=require('./teamVoicePrefix.attributes');module[_0x324b('0x6')]=function(_0x4ff65e,_0x5a244c){return _0x4ff65e['define'](_0x324b('0x7'),attributes,{'tableName':_0x324b('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};