Built motion from commit (unavailable).|2.5.31
[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 _0xdf06=['../../config/environment','./voiceExtension.attributes','exports','define','VoiceExtension','voice_extensions','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x17a09d,_0x20f410){var _0x3f6cf4=function(_0x1c5bea){while(--_0x1c5bea){_0x17a09d['push'](_0x17a09d['shift']());}};_0x3f6cf4(++_0x20f410);}(_0xdf06,0xbc));var _0x6df0=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xdf06[_0x502c7d];return _0x30b7ed;};'use strict';var _=require(_0x6df0('0x0'));var util=require(_0x6df0('0x1'));var logger=require(_0x6df0('0x2'))(_0x6df0('0x3'));var moment=require(_0x6df0('0x4'));var BPromise=require(_0x6df0('0x5'));var rp=require(_0x6df0('0x6'));var fs=require('fs');var path=require(_0x6df0('0x7'));var rimraf=require('rimraf');var config=require(_0x6df0('0x8'));var attributes=require(_0x6df0('0x9'));module[_0x6df0('0xa')]=function(_0x49cf56,_0x5be6f0){return _0x49cf56[_0x6df0('0xb')](_0x6df0('0xc'),attributes,{'tableName':_0x6df0('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};