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 _0xffc9=['VoicePrefix','voice_prefixes','lodash','util','../../config/logger','bluebird','path','../../config/environment','./voicePrefix.attributes','exports','define'];(function(_0x491a20,_0x197bc7){var _0xfcd515=function(_0x5b1353){while(--_0x5b1353){_0x491a20['push'](_0x491a20['shift']());}};_0xfcd515(++_0x197bc7);}(_0xffc9,0x18e));var _0x9ffc=function(_0x14703a,_0x952684){_0x14703a=_0x14703a-0x0;var _0x2676a4=_0xffc9[_0x14703a];return _0x2676a4;};'use strict';var _=require(_0x9ffc('0x0'));var util=require(_0x9ffc('0x1'));var logger=require(_0x9ffc('0x2'))('api');var moment=require('moment');var BPromise=require(_0x9ffc('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9ffc('0x4'));var rimraf=require('rimraf');var config=require(_0x9ffc('0x5'));var attributes=require(_0x9ffc('0x6'));module[_0x9ffc('0x7')]=function(_0x45752c,_0x344b94){return _0x45752c[_0x9ffc('0x8')](_0x9ffc('0x9'),attributes,{'tableName':_0x9ffc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};