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 _0xd9a8=['exports','define','VoicePrefix','lodash','util','../../config/logger','moment','bluebird'];(function(_0x3adf42,_0x2618b9){var _0x1a569e=function(_0x290b36){while(--_0x290b36){_0x3adf42['push'](_0x3adf42['shift']());}};_0x1a569e(++_0x2618b9);}(_0xd9a8,0xc3));var _0x8d9a=function(_0x554e9e,_0xcb21e5){_0x554e9e=_0x554e9e-0x0;var _0x1ba47c=_0xd9a8[_0x554e9e];return _0x1ba47c;};'use strict';var _=require(_0x8d9a('0x0'));var util=require(_0x8d9a('0x1'));var logger=require(_0x8d9a('0x2'))('api');var moment=require(_0x8d9a('0x3'));var BPromise=require(_0x8d9a('0x4'));var rp=require('request-promise');var attributes=require('./voicePrefix.attributes');module[_0x8d9a('0x5')]=function(_0x3a40f0,_0x34bbf9){return _0x3a40f0[_0x8d9a('0x6')](_0x8d9a('0x7'),attributes,{'tableName':'voice_prefixes','paranoid':![],'indexes':[],'timestamps':!![]});};