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 _0xcdd5=['request-promise','define','VoicePrefix','voice_prefixes','lodash','../../config/logger','moment'];(function(_0x33023b,_0x5132d8){var _0x46115c=function(_0x1bd87f){while(--_0x1bd87f){_0x33023b['push'](_0x33023b['shift']());}};_0x46115c(++_0x5132d8);}(_0xcdd5,0xac));var _0x5cdd=function(_0x1d803c,_0x387fa1){_0x1d803c=_0x1d803c-0x0;var _0x981244=_0xcdd5[_0x1d803c];return _0x981244;};'use strict';var _=require(_0x5cdd('0x0'));var util=require('util');var logger=require(_0x5cdd('0x1'))('api');var moment=require(_0x5cdd('0x2'));var BPromise=require('bluebird');var rp=require(_0x5cdd('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./voicePrefix.attributes');module['exports']=function(_0x1e6fdd,_0x1eee26){return _0x1e6fdd[_0x5cdd('0x4')](_0x5cdd('0x5'),attributes,{'tableName':_0x5cdd('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};