Built motion from commit (unavailable).|2.5.10
[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 _0xb5e3=['moment','request-promise','path','rimraf','../../config/environment','./trunk.attributes','exports','define','Trunk','lodash','util','api'];(function(_0x2424f2,_0x31c430){var _0x415ed9=function(_0x4dc243){while(--_0x4dc243){_0x2424f2['push'](_0x2424f2['shift']());}};_0x415ed9(++_0x31c430);}(_0xb5e3,0x1e9));var _0x3b5e=function(_0x527824,_0xc824a9){_0x527824=_0x527824-0x0;var _0xc8b8ed=_0xb5e3[_0x527824];return _0xc8b8ed;};'use strict';var _=require(_0x3b5e('0x0'));var util=require(_0x3b5e('0x1'));var logger=require('../../config/logger')(_0x3b5e('0x2'));var moment=require(_0x3b5e('0x3'));var BPromise=require('bluebird');var rp=require(_0x3b5e('0x4'));var fs=require('fs');var path=require(_0x3b5e('0x5'));var rimraf=require(_0x3b5e('0x6'));var config=require(_0x3b5e('0x7'));var attributes=require(_0x3b5e('0x8'));module[_0x3b5e('0x9')]=function(_0xd1dc46,_0x75ac57){return _0xd1dc46[_0x3b5e('0xa')](_0x3b5e('0xb'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};