b329c5b4f34bbb025bfa65eef52ef4fc1d7c3a4d
[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 _0x6c28=['rimraf','./trunk.attributes','define','Trunk','tools_trunks','lodash','api','moment','path'];(function(_0x5ec256,_0x386647){var _0x48953d=function(_0x5c5491){while(--_0x5c5491){_0x5ec256['push'](_0x5ec256['shift']());}};_0x48953d(++_0x386647);}(_0x6c28,0x113));var _0x86c2=function(_0x400096,_0x2c31f0){_0x400096=_0x400096-0x0;var _0x2cf4fc=_0x6c28[_0x400096];return _0x2cf4fc;};'use strict';var _=require(_0x86c2('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x86c2('0x1'));var moment=require(_0x86c2('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x86c2('0x3'));var rimraf=require(_0x86c2('0x4'));var config=require('../../config/environment');var attributes=require(_0x86c2('0x5'));module['exports']=function(_0x5e885f,_0x376667){return _0x5e885f[_0x86c2('0x6')](_0x86c2('0x7'),attributes,{'tableName':_0x86c2('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};