b89eff0e5ba0f8d78b3bb7aa9ee7b31231d7d51a
[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 _0xb8fb=['util','../../config/logger','api','bluebird','request-promise','./trunk.attributes','define','tools_trunks','lodash'];(function(_0x2abca7,_0x3a66f7){var _0x280257=function(_0x548ce5){while(--_0x548ce5){_0x2abca7['push'](_0x2abca7['shift']());}};_0x280257(++_0x3a66f7);}(_0xb8fb,0x18b));var _0xbb8f=function(_0x3c56b6,_0x2a832a){_0x3c56b6=_0x3c56b6-0x0;var _0x2eb6d0=_0xb8fb[_0x3c56b6];return _0x2eb6d0;};'use strict';var _=require(_0xbb8f('0x0'));var util=require(_0xbb8f('0x1'));var logger=require(_0xbb8f('0x2'))(_0xbb8f('0x3'));var moment=require('moment');var BPromise=require(_0xbb8f('0x4'));var rp=require(_0xbb8f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xbb8f('0x6'));module['exports']=function(_0x1d8efc,_0x47a7ee){return _0x1d8efc[_0xbb8f('0x7')]('Trunk',attributes,{'tableName':_0xbb8f('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};