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 _0x0ecd=['moment','request-promise','../../config/environment','Trunk','tools_trunks','lodash','util','../../config/logger','api'];(function(_0x10bfee,_0x34195e){var _0x427cd2=function(_0x5a80e8){while(--_0x5a80e8){_0x10bfee['push'](_0x10bfee['shift']());}};_0x427cd2(++_0x34195e);}(_0x0ecd,0x8c));var _0xd0ec=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0ecd[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xd0ec('0x0'));var util=require(_0xd0ec('0x1'));var logger=require(_0xd0ec('0x2'))(_0xd0ec('0x3'));var moment=require(_0xd0ec('0x4'));var BPromise=require('bluebird');var rp=require(_0xd0ec('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xd0ec('0x6'));var attributes=require('./trunk.attributes');module['exports']=function(_0x8e8e40,_0x3fd909){return _0x8e8e40['define'](_0xd0ec('0x7'),attributes,{'tableName':_0xd0ec('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};