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 _0xf657=['path','rimraf','./voicePrefix.attributes','exports','define','VoicePrefix','voice_prefixes','lodash','../../config/logger','moment','bluebird'];(function(_0x3c984e,_0x164d5b){var _0x547f7=function(_0xebe7aa){while(--_0xebe7aa){_0x3c984e['push'](_0x3c984e['shift']());}};_0x547f7(++_0x164d5b);}(_0xf657,0x146));var _0x7f65=function(_0x6eac03,_0x41d4a0){_0x6eac03=_0x6eac03-0x0;var _0x1c5c4a=_0xf657[_0x6eac03];return _0x1c5c4a;};'use strict';var _=require(_0x7f65('0x0'));var util=require('util');var logger=require(_0x7f65('0x1'))('api');var moment=require(_0x7f65('0x2'));var BPromise=require(_0x7f65('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7f65('0x4'));var rimraf=require(_0x7f65('0x5'));var config=require('../../config/environment');var attributes=require(_0x7f65('0x6'));module[_0x7f65('0x7')]=function(_0x255be8,_0x29591e){return _0x255be8[_0x7f65('0x8')](_0x7f65('0x9'),attributes,{'tableName':_0x7f65('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};