3091eccccac963653d87f5872e3b00f78a8f08e6
[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 _0x0f28=['../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./trunk.attributes','exports','Trunk','lodash','util'];(function(_0x25b068,_0xb6ac60){var _0xb9f40f=function(_0x28880b){while(--_0x28880b){_0x25b068['push'](_0x25b068['shift']());}};_0xb9f40f(++_0xb6ac60);}(_0x0f28,0x8d));var _0x80f2=function(_0x5cd376,_0x163789){_0x5cd376=_0x5cd376-0x0;var _0x57de74=_0x0f28[_0x5cd376];return _0x57de74;};'use strict';var _=require(_0x80f2('0x0'));var util=require(_0x80f2('0x1'));var logger=require(_0x80f2('0x2'))('api');var moment=require(_0x80f2('0x3'));var BPromise=require(_0x80f2('0x4'));var rp=require(_0x80f2('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x80f2('0x6'));var config=require(_0x80f2('0x7'));var attributes=require(_0x80f2('0x8'));module[_0x80f2('0x9')]=function(_0x658905,_0x13c6e6){return _0x658905['define'](_0x80f2('0xa'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};