dec2be9a83c836fad86d192e0339fbd6311894d0
[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 _0x992e=['api','bluebird','request-promise','../../config/environment','exports','define','lodash','util','../../config/logger'];(function(_0x4a7ef9,_0x77588){var _0x596ce0=function(_0xbbca34){while(--_0xbbca34){_0x4a7ef9['push'](_0x4a7ef9['shift']());}};_0x596ce0(++_0x77588);}(_0x992e,0x177));var _0xe992=function(_0x51ab83,_0x2721b9){_0x51ab83=_0x51ab83-0x0;var _0x14b6de=_0x992e[_0x51ab83];return _0x14b6de;};'use strict';var _=require(_0xe992('0x0'));var util=require(_0xe992('0x1'));var logger=require(_0xe992('0x2'))(_0xe992('0x3'));var moment=require('moment');var BPromise=require(_0xe992('0x4'));var rp=require(_0xe992('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xe992('0x6'));var attributes=require('./trunk.attributes');module[_0xe992('0x7')]=function(_0xbcd8e1,_0x21c0e3){return _0xbcd8e1[_0xe992('0x8')]('Trunk',attributes,{'tableName':'tools_trunks','paranoid':![],'indexes':[],'timestamps':!![]});};