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 _0x8c8f=['bluebird','request-promise','path','rimraf','../../config/environment','./trunk.attributes','define','Trunk','tools_trunks','util','../../config/logger','api'];(function(_0xd612a9,_0x39605c){var _0x32f713=function(_0x7cb6ac){while(--_0x7cb6ac){_0xd612a9['push'](_0xd612a9['shift']());}};_0x32f713(++_0x39605c);}(_0x8c8f,0x75));var _0xf8c8=function(_0x263a74,_0xc31414){_0x263a74=_0x263a74-0x0;var _0x2aa86c=_0x8c8f[_0x263a74];return _0x2aa86c;};'use strict';var _=require('lodash');var util=require(_0xf8c8('0x0'));var logger=require(_0xf8c8('0x1'))(_0xf8c8('0x2'));var moment=require('moment');var BPromise=require(_0xf8c8('0x3'));var rp=require(_0xf8c8('0x4'));var fs=require('fs');var path=require(_0xf8c8('0x5'));var rimraf=require(_0xf8c8('0x6'));var config=require(_0xf8c8('0x7'));var attributes=require(_0xf8c8('0x8'));module['exports']=function(_0x23ffbd,_0xe52f82){return _0x23ffbd[_0xf8c8('0x9')](_0xf8c8('0xa'),attributes,{'tableName':_0xf8c8('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};