Built motion from commit 9e1399f3.|2.5.37
[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 _0xd3e1=['request-promise','path','rimraf','../../config/environment','lodash','util','../../config/logger','api','moment'];(function(_0x10620,_0x423d1c){var _0x5ed94f=function(_0x15fb08){while(--_0x15fb08){_0x10620['push'](_0x10620['shift']());}};_0x5ed94f(++_0x423d1c);}(_0xd3e1,0xee));var _0x1d3e=function(_0x40017b,_0x29ae62){_0x40017b=_0x40017b-0x0;var _0x41d9fa=_0xd3e1[_0x40017b];return _0x41d9fa;};'use strict';var _=require(_0x1d3e('0x0'));var util=require(_0x1d3e('0x1'));var logger=require(_0x1d3e('0x2'))(_0x1d3e('0x3'));var moment=require(_0x1d3e('0x4'));var BPromise=require('bluebird');var rp=require(_0x1d3e('0x5'));var fs=require('fs');var path=require(_0x1d3e('0x6'));var rimraf=require(_0x1d3e('0x7'));var config=require(_0x1d3e('0x8'));var attributes=require('./trunk.attributes');module['exports']=function(_0x284d4b,_0x469860){return _0x284d4b['define']('Trunk',attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};