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 _0x6594=['exports','define','team_has_voice_prefixes','moment','bluebird','request-promise','path','rimraf'];(function(_0x139646,_0x15679b){var _0xe03c7c=function(_0x70a09c){while(--_0x70a09c){_0x139646['push'](_0x139646['shift']());}};_0xe03c7c(++_0x15679b);}(_0x6594,0xcb));var _0x4659=function(_0x4271f1,_0xdbdc80){_0x4271f1=_0x4271f1-0x0;var _0x1bc9c9=_0x6594[_0x4271f1];return _0x1bc9c9;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x4659('0x0'));var BPromise=require(_0x4659('0x1'));var rp=require(_0x4659('0x2'));var fs=require('fs');var path=require(_0x4659('0x3'));var rimraf=require(_0x4659('0x4'));var config=require('../../config/environment');var attributes=require('./teamVoicePrefix.attributes');module[_0x4659('0x5')]=function(_0x2f59ce,_0x246729){return _0x2f59ce[_0x4659('0x6')]('TeamVoicePrefix',attributes,{'tableName':_0x4659('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};