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 _0x9cec=['moment','bluebird','request-promise','./voiceExtension.attributes','exports','voice_extensions','lodash'];(function(_0x4114d3,_0x3dc638){var _0xeffaf8=function(_0x4be8c7){while(--_0x4be8c7){_0x4114d3['push'](_0x4114d3['shift']());}};_0xeffaf8(++_0x3dc638);}(_0x9cec,0x164));var _0xc9ce=function(_0x52875c,_0x164c01){_0x52875c=_0x52875c-0x0;var _0x13f9d4=_0x9cec[_0x52875c];return _0x13f9d4;};'use strict';var _=require(_0xc9ce('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xc9ce('0x1'));var BPromise=require(_0xc9ce('0x2'));var rp=require(_0xc9ce('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xc9ce('0x4'));module[_0xc9ce('0x5')]=function(_0x24f6db,_0x4ce05a){return _0x24f6db['define']('VoiceExtension',attributes,{'tableName':_0xc9ce('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};