Built motion from commit 9d0783e6.|2.6.13
[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 _0x592d=['./trunk.attributes','exports','define','tools_trunks','lodash','util','api','request-promise','rimraf'];(function(_0x9edfd5,_0x286486){var _0x330738=function(_0x4aceb3){while(--_0x4aceb3){_0x9edfd5['push'](_0x9edfd5['shift']());}};_0x330738(++_0x286486);}(_0x592d,0xa6));var _0xd592=function(_0xd5255f,_0x225f0e){_0xd5255f=_0xd5255f-0x0;var _0x32123f=_0x592d[_0xd5255f];return _0x32123f;};'use strict';var _=require(_0xd592('0x0'));var util=require(_0xd592('0x1'));var logger=require('../../config/logger')(_0xd592('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xd592('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd592('0x4'));var config=require('../../config/environment');var attributes=require(_0xd592('0x5'));module[_0xd592('0x6')]=function(_0x4b859,_0x59cf7c){return _0x4b859[_0xd592('0x7')]('Trunk',attributes,{'tableName':_0xd592('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};