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 _0xeff6=['bluebird','request-promise','../../config/environment','./voicePrefix.attributes','exports','VoicePrefix','voice_prefixes','../../config/logger'];(function(_0x2edd6d,_0xf1d38){var _0x55a79b=function(_0x205b9c){while(--_0x205b9c){_0x2edd6d['push'](_0x2edd6d['shift']());}};_0x55a79b(++_0xf1d38);}(_0xeff6,0x127));var _0x6eff=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xeff6[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x6eff('0x0'))('api');var moment=require('moment');var BPromise=require(_0x6eff('0x1'));var rp=require(_0x6eff('0x2'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6eff('0x3'));var attributes=require(_0x6eff('0x4'));module[_0x6eff('0x5')]=function(_0x2093f1,_0x4cde54){return _0x2093f1['define'](_0x6eff('0x6'),attributes,{'tableName':_0x6eff('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};