Built motion from commit 14588770.|2.5.38
[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 _0x0b2d=['./trunk.attributes','define','Trunk','util','api','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x1fb6e2,_0x3a22ce){var _0x354690=function(_0x51f968){while(--_0x51f968){_0x1fb6e2['push'](_0x1fb6e2['shift']());}};_0x354690(++_0x3a22ce);}(_0x0b2d,0xe9));var _0xd0b2=function(_0x23e139,_0x986e53){_0x23e139=_0x23e139-0x0;var _0x291ba1=_0x0b2d[_0x23e139];return _0x291ba1;};'use strict';var _=require('lodash');var util=require(_0xd0b2('0x0'));var logger=require('../../config/logger')(_0xd0b2('0x1'));var moment=require(_0xd0b2('0x2'));var BPromise=require(_0xd0b2('0x3'));var rp=require(_0xd0b2('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd0b2('0x5'));var config=require(_0xd0b2('0x6'));var attributes=require(_0xd0b2('0x7'));module['exports']=function(_0x1221c1,_0x1b305f){return _0x1221c1[_0xd0b2('0x8')](_0xd0b2('0x9'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};