Built motion from commit (unavailable).|2.5.17
[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 _0x45e2=['request-promise','rimraf','./trunk.attributes','define','tools_trunks','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x407651,_0x1c52df){var _0x5ae72b=function(_0x393241){while(--_0x393241){_0x407651['push'](_0x407651['shift']());}};_0x5ae72b(++_0x1c52df);}(_0x45e2,0x12e));var _0x245e=function(_0x2b5cc1,_0x23dacf){_0x2b5cc1=_0x2b5cc1-0x0;var _0x2f8f6d=_0x45e2[_0x2b5cc1];return _0x2f8f6d;};'use strict';var _=require(_0x245e('0x0'));var util=require(_0x245e('0x1'));var logger=require(_0x245e('0x2'))(_0x245e('0x3'));var moment=require(_0x245e('0x4'));var BPromise=require(_0x245e('0x5'));var rp=require(_0x245e('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x245e('0x7'));var config=require('../../config/environment');var attributes=require(_0x245e('0x8'));module['exports']=function(_0x17865b,_0x48adc6){return _0x17865b[_0x245e('0x9')]('Trunk',attributes,{'tableName':_0x245e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};