32b9b7cdb9562f41f7450ac7122e9ab3d05a6996
[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 _0x3e89=['./trunk.attributes','exports','define','util','../../config/logger','api','bluebird','request-promise','../../config/environment'];(function(_0x48fda1,_0x50cacc){var _0xa92b04=function(_0x5016e5){while(--_0x5016e5){_0x48fda1['push'](_0x48fda1['shift']());}};_0xa92b04(++_0x50cacc);}(_0x3e89,0x11a));var _0x93e8=function(_0x5afc68,_0x1f908d){_0x5afc68=_0x5afc68-0x0;var _0x4e609e=_0x3e89[_0x5afc68];return _0x4e609e;};'use strict';var _=require('lodash');var util=require(_0x93e8('0x0'));var logger=require(_0x93e8('0x1'))(_0x93e8('0x2'));var moment=require('moment');var BPromise=require(_0x93e8('0x3'));var rp=require(_0x93e8('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x93e8('0x5'));var attributes=require(_0x93e8('0x6'));module[_0x93e8('0x7')]=function(_0x1fbb58,_0x1c08ee){return _0x1fbb58[_0x93e8('0x8')]('Trunk',attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};