Built motion from commit (unavailable).|2.5.14
[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 _0x7bb6=['tools_trunks','lodash','util','../../config/logger','api','moment','request-promise','../../config/environment','./trunk.attributes','exports','define','Trunk'];(function(_0x3e32b1,_0x487a75){var _0x419327=function(_0x6ad6a3){while(--_0x6ad6a3){_0x3e32b1['push'](_0x3e32b1['shift']());}};_0x419327(++_0x487a75);}(_0x7bb6,0x9d));var _0x67bb=function(_0xf94b75,_0x3cbe25){_0xf94b75=_0xf94b75-0x0;var _0x387fd7=_0x7bb6[_0xf94b75];return _0x387fd7;};'use strict';var _=require(_0x67bb('0x0'));var util=require(_0x67bb('0x1'));var logger=require(_0x67bb('0x2'))(_0x67bb('0x3'));var moment=require(_0x67bb('0x4'));var BPromise=require('bluebird');var rp=require(_0x67bb('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x67bb('0x6'));var attributes=require(_0x67bb('0x7'));module[_0x67bb('0x8')]=function(_0x2cd500,_0x363e62){return _0x2cd500[_0x67bb('0x9')](_0x67bb('0xa'),attributes,{'tableName':_0x67bb('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};