Built motion from commit (unavailable).|2.2.5
[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 _0xc469=['./trunk.attributes','define','Trunk','tools_trunks','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x46428c,_0x20ab75){var _0x16a677=function(_0x2b0817){while(--_0x2b0817){_0x46428c['push'](_0x46428c['shift']());}};_0x16a677(++_0x20ab75);}(_0xc469,0xfe));var _0x9c46=function(_0x249e96,_0x3ea39d){_0x249e96=_0x249e96-0x0;var _0x17444c=_0xc469[_0x249e96];return _0x17444c;};'use strict';var _=require('lodash');var util=require(_0x9c46('0x0'));var logger=require(_0x9c46('0x1'))(_0x9c46('0x2'));var moment=require(_0x9c46('0x3'));var BPromise=require(_0x9c46('0x4'));var rp=require(_0x9c46('0x5'));var attributes=require(_0x9c46('0x6'));module['exports']=function(_0x16f507,_0x5553c6){return _0x16f507[_0x9c46('0x7')](_0x9c46('0x8'),attributes,{'tableName':_0x9c46('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};