Built motion from commit 896e83a8.|2.6.30
[motion2.git] / server / api / trunk / trunk.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 _0xec0b=['rimraf','../../config/environment','./trunk.attributes','exports','define','tools_trunks','lodash','util','../../config/logger','api','bluebird','request-promise','path'];(function(_0x2e0ec5,_0x4496a7){var _0x5ca5cd=function(_0x3ae985){while(--_0x3ae985){_0x2e0ec5['push'](_0x2e0ec5['shift']());}};_0x5ca5cd(++_0x4496a7);}(_0xec0b,0xf0));var _0xbec0=function(_0x1902e2,_0x2de9df){_0x1902e2=_0x1902e2-0x0;var _0x47213f=_0xec0b[_0x1902e2];return _0x47213f;};'use strict';var _=require(_0xbec0('0x0'));var util=require(_0xbec0('0x1'));var logger=require(_0xbec0('0x2'))(_0xbec0('0x3'));var moment=require('moment');var BPromise=require(_0xbec0('0x4'));var rp=require(_0xbec0('0x5'));var fs=require('fs');var path=require(_0xbec0('0x6'));var rimraf=require(_0xbec0('0x7'));var config=require(_0xbec0('0x8'));var attributes=require(_0xbec0('0x9'));module[_0xbec0('0xa')]=function(_0x369267,_0xf7794d){return _0x369267[_0xbec0('0xb')]('Trunk',attributes,{'tableName':_0xbec0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};