Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / voiceExtension / voiceExtension.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xee0c=['api','moment','bluebird','request-promise','./voiceExtension.attributes','exports','define','voice_extensions','lodash'];(function(_0xba7bbc,_0x9b6907){var _0x286a2e=function(_0x1e231f){while(--_0x1e231f){_0xba7bbc['push'](_0xba7bbc['shift']());}};_0x286a2e(++_0x9b6907);}(_0xee0c,0x1c1));var _0xcee0=function(_0x1e53bb,_0x508b22){_0x1e53bb=_0x1e53bb-0x0;var _0x3932ed=_0xee0c[_0x1e53bb];return _0x3932ed;};'use strict';var _=require(_0xcee0('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xcee0('0x1'));var moment=require(_0xcee0('0x2'));var BPromise=require(_0xcee0('0x3'));var rp=require(_0xcee0('0x4'));var attributes=require(_0xcee0('0x5'));module[_0xcee0('0x6')]=function(_0x4a7b53,_0x46f6d1){return _0x4a7b53[_0xcee0('0x7')]('VoiceExtension',attributes,{'tableName':_0xcee0('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};