Built motion from commit 598073ad.|2.5.44
[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 _0x07c1=['request-promise','rimraf','../../config/environment','exports','define','tools_trunks','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x3421c6,_0x260d60){var _0x15c30c=function(_0x3ea3fb){while(--_0x3ea3fb){_0x3421c6['push'](_0x3421c6['shift']());}};_0x15c30c(++_0x260d60);}(_0x07c1,0x1e6));var _0x107c=function(_0x370116,_0x335221){_0x370116=_0x370116-0x0;var _0x3cc116=_0x07c1[_0x370116];return _0x3cc116;};'use strict';var _=require(_0x107c('0x0'));var util=require(_0x107c('0x1'));var logger=require(_0x107c('0x2'))(_0x107c('0x3'));var moment=require(_0x107c('0x4'));var BPromise=require(_0x107c('0x5'));var rp=require(_0x107c('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x107c('0x7'));var config=require(_0x107c('0x8'));var attributes=require('./trunk.attributes');module[_0x107c('0x9')]=function(_0x450ff8,_0x5be7b3){return _0x450ff8[_0x107c('0xa')]('Trunk',attributes,{'tableName':_0x107c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};