f3d8f76f5dd01fd1ea2c81ed8d6a2d4850c4dfa9
[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 _0x854f=['util','api','moment','request-promise','path','rimraf','../../config/environment','./trunk.attributes','define','Trunk','tools_trunks','lodash'];(function(_0x1e05c1,_0x3cffa3){var _0x15f1ca=function(_0x3a9594){while(--_0x3a9594){_0x1e05c1['push'](_0x1e05c1['shift']());}};_0x15f1ca(++_0x3cffa3);}(_0x854f,0x1c7));var _0xf854=function(_0x32d7ff,_0x55c1a5){_0x32d7ff=_0x32d7ff-0x0;var _0x61bcbb=_0x854f[_0x32d7ff];return _0x61bcbb;};'use strict';var _=require(_0xf854('0x0'));var util=require(_0xf854('0x1'));var logger=require('../../config/logger')(_0xf854('0x2'));var moment=require(_0xf854('0x3'));var BPromise=require('bluebird');var rp=require(_0xf854('0x4'));var fs=require('fs');var path=require(_0xf854('0x5'));var rimraf=require(_0xf854('0x6'));var config=require(_0xf854('0x7'));var attributes=require(_0xf854('0x8'));module['exports']=function(_0x17f2ed,_0x37e6d2){return _0x17f2ed[_0xf854('0x9')](_0xf854('0xa'),attributes,{'tableName':_0xf854('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};