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 _0xab2e=['Trunk','tools_trunks','lodash','util','../../config/logger','bluebird','request-promise','rimraf','../../config/environment','define'];(function(_0x3170da,_0x38d32b){var _0x275645=function(_0x3c60c5){while(--_0x3c60c5){_0x3170da['push'](_0x3170da['shift']());}};_0x275645(++_0x38d32b);}(_0xab2e,0xca));var _0xeab2=function(_0x5b50a8,_0x3c22c1){_0x5b50a8=_0x5b50a8-0x0;var _0x573b78=_0xab2e[_0x5b50a8];return _0x573b78;};'use strict';var _=require(_0xeab2('0x0'));var util=require(_0xeab2('0x1'));var logger=require(_0xeab2('0x2'))('api');var moment=require('moment');var BPromise=require(_0xeab2('0x3'));var rp=require(_0xeab2('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xeab2('0x5'));var config=require(_0xeab2('0x6'));var attributes=require('./trunk.attributes');module['exports']=function(_0x58241f,_0x1cded8){return _0x58241f[_0xeab2('0x7')](_0xeab2('0x8'),attributes,{'tableName':_0xeab2('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};