7f0ecf34c23be456070dfb32acecb62447253b8c
[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 _0x3a30=['exports','Trunk','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./trunk.attributes'];(function(_0x2f888d,_0x597d3c){var _0x40f285=function(_0x225c27){while(--_0x225c27){_0x2f888d['push'](_0x2f888d['shift']());}};_0x40f285(++_0x597d3c);}(_0x3a30,0x120));var _0x03a3=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x3a30[_0xfae23b];return _0x200640;};'use strict';var _=require(_0x03a3('0x0'));var util=require(_0x03a3('0x1'));var logger=require(_0x03a3('0x2'))(_0x03a3('0x3'));var moment=require(_0x03a3('0x4'));var BPromise=require(_0x03a3('0x5'));var rp=require(_0x03a3('0x6'));var fs=require('fs');var path=require(_0x03a3('0x7'));var rimraf=require(_0x03a3('0x8'));var config=require(_0x03a3('0x9'));var attributes=require(_0x03a3('0xa'));module[_0x03a3('0xb')]=function(_0x39b1e2,_0x562b7f){return _0x39b1e2['define'](_0x03a3('0xc'),attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};