Built motion from commit (unavailable).|2.4.18
[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 _0xb6ae=['path','rimraf','./voiceExtension.attributes','exports','VoiceExtension','voice_extensions','lodash','util','api','moment','bluebird','request-promise'];(function(_0x342baa,_0x4a110f){var _0x1208f3=function(_0x56a645){while(--_0x56a645){_0x342baa['push'](_0x342baa['shift']());}};_0x1208f3(++_0x4a110f);}(_0xb6ae,0x1e6));var _0xeb6a=function(_0x9c3c56,_0x169b56){_0x9c3c56=_0x9c3c56-0x0;var _0x2dd782=_0xb6ae[_0x9c3c56];return _0x2dd782;};'use strict';var _=require(_0xeb6a('0x0'));var util=require(_0xeb6a('0x1'));var logger=require('../../config/logger')(_0xeb6a('0x2'));var moment=require(_0xeb6a('0x3'));var BPromise=require(_0xeb6a('0x4'));var rp=require(_0xeb6a('0x5'));var fs=require('fs');var path=require(_0xeb6a('0x6'));var rimraf=require(_0xeb6a('0x7'));var config=require('../../config/environment');var attributes=require(_0xeb6a('0x8'));module[_0xeb6a('0x9')]=function(_0xfc5f56,_0x3e53a2){return _0xfc5f56['define'](_0xeb6a('0xa'),attributes,{'tableName':_0xeb6a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};