01c0e0ce1cd159930c5673a7867727cb1cd55ef8
[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 _0xe6e0=['util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./trunk.attributes','define','Trunk','lodash'];(function(_0x15af6c,_0x47fe2d){var _0x13c017=function(_0x25a621){while(--_0x25a621){_0x15af6c['push'](_0x15af6c['shift']());}};_0x13c017(++_0x47fe2d);}(_0xe6e0,0xf1));var _0x0e6e=function(_0x28947d,_0x4cc9c6){_0x28947d=_0x28947d-0x0;var _0x12d2ee=_0xe6e0[_0x28947d];return _0x12d2ee;};'use strict';var _=require(_0x0e6e('0x0'));var util=require(_0x0e6e('0x1'));var logger=require(_0x0e6e('0x2'))(_0x0e6e('0x3'));var moment=require('moment');var BPromise=require(_0x0e6e('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0e6e('0x5'));var rimraf=require(_0x0e6e('0x6'));var config=require(_0x0e6e('0x7'));var attributes=require(_0x0e6e('0x8'));module['exports']=function(_0x3d4ccd,_0x279333){return _0x3d4ccd[_0x0e6e('0x9')](_0x0e6e('0xa'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};