1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x5f5d=['lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','exports','tools_trunks'];(function(_0x912e61,_0x2b0dd1){var _0x423d61=function(_0x3e241c){while(--_0x3e241c){_0x912e61['push'](_0x912e61['shift']());}};_0x423d61(++_0x2b0dd1);}(_0x5f5d,0x190));var _0xd5f5=function(_0x120e02,_0x1fe30e){_0x120e02=_0x120e02-0x0;var _0x1fd88f=_0x5f5d[_0x120e02];return _0x1fd88f;};'use strict';var _=require(_0xd5f5('0x0'));var util=require(_0xd5f5('0x1'));var logger=require(_0xd5f5('0x2'))(_0xd5f5('0x3'));var moment=require(_0xd5f5('0x4'));var BPromise=require(_0xd5f5('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xd5f5('0x6'));var config=require(_0xd5f5('0x7'));var attributes=require('./trunk.attributes');module[_0xd5f5('0x8')]=function(_0x182169,_0x2ed210){return _0x182169['define']('Trunk',attributes,{'tableName':_0xd5f5('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};