Built motion from commit 42801a18.|2.6.28
[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 _0x0e6e=['api','moment','path','rimraf','../../config/environment','./trunk.attributes','exports','define','tools_trunks','lodash','util','../../config/logger'];(function(_0x884d1f,_0x2229d2){var _0x5be5e2=function(_0x44377f){while(--_0x44377f){_0x884d1f['push'](_0x884d1f['shift']());}};_0x5be5e2(++_0x2229d2);}(_0x0e6e,0x195));var _0xe0e6=function(_0x4519cc,_0x251049){_0x4519cc=_0x4519cc-0x0;var _0x2f0da3=_0x0e6e[_0x4519cc];return _0x2f0da3;};'use strict';var _=require(_0xe0e6('0x0'));var util=require(_0xe0e6('0x1'));var logger=require(_0xe0e6('0x2'))(_0xe0e6('0x3'));var moment=require(_0xe0e6('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xe0e6('0x5'));var rimraf=require(_0xe0e6('0x6'));var config=require(_0xe0e6('0x7'));var attributes=require(_0xe0e6('0x8'));module[_0xe0e6('0x9')]=function(_0x3ad1d2,_0x50c9a0){return _0x3ad1d2[_0xe0e6('0xa')]('Trunk',attributes,{'tableName':_0xe0e6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};