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 _0xcecc=['exports','define','TeamVoicePrefix','lodash','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x1d87fc,_0x1e5321){var _0x492b56=function(_0x4c6b16){while(--_0x4c6b16){_0x1d87fc['push'](_0x1d87fc['shift']());}};_0x492b56(++_0x1e5321);}(_0xcecc,0x186));var _0xccec=function(_0x4b5d5d,_0xf04f9b){_0x4b5d5d=_0x4b5d5d-0x0;var _0x263388=_0xcecc[_0x4b5d5d];return _0x263388;};'use strict';var _=require(_0xccec('0x0'));var util=require('util');var logger=require(_0xccec('0x1'))('api');var moment=require('moment');var BPromise=require(_0xccec('0x2'));var rp=require(_0xccec('0x3'));var fs=require('fs');var path=require(_0xccec('0x4'));var rimraf=require(_0xccec('0x5'));var config=require('../../config/environment');var attributes=require('./teamVoicePrefix.attributes');module[_0xccec('0x6')]=function(_0x5822af,_0x455556){return _0x5822af[_0xccec('0x7')](_0xccec('0x8'),attributes,{'tableName':'team_has_voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};