Built motion from commit (unavailable).|2.3.97
[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 _0xaef0=['../../config/logger','api','bluebird','request-promise','exports','define','tools_trunks','lodash'];(function(_0x52013f,_0x4177fe){var _0x5e360b=function(_0x259e85){while(--_0x259e85){_0x52013f['push'](_0x52013f['shift']());}};_0x5e360b(++_0x4177fe);}(_0xaef0,0x13f));var _0x0aef=function(_0x4e9628,_0x250573){_0x4e9628=_0x4e9628-0x0;var _0x27bc8c=_0xaef0[_0x4e9628];return _0x27bc8c;};'use strict';var _=require(_0x0aef('0x0'));var util=require('util');var logger=require(_0x0aef('0x1'))(_0x0aef('0x2'));var moment=require('moment');var BPromise=require(_0x0aef('0x3'));var rp=require(_0x0aef('0x4'));var attributes=require('./trunk.attributes');module[_0x0aef('0x5')]=function(_0x466783,_0x54be87){return _0x466783[_0x0aef('0x6')]('Trunk',attributes,{'tableName':_0x0aef('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};