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 _0xad00=['./squareOdbc.attributes','exports','SquareOdbc','square_odbc','lodash','api','moment','bluebird','path','rimraf'];(function(_0x400096,_0x101dc3){var _0x31755a=function(_0x2d29b4){while(--_0x2d29b4){_0x400096['push'](_0x400096['shift']());}};_0x31755a(++_0x101dc3);}(_0xad00,0x194));var _0x0ad0=function(_0xdc37a1,_0x53ebb9){_0xdc37a1=_0xdc37a1-0x0;var _0x99b4fe=_0xad00[_0xdc37a1];return _0x99b4fe;};'use strict';var _=require(_0x0ad0('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x0ad0('0x1'));var moment=require(_0x0ad0('0x2'));var BPromise=require(_0x0ad0('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0ad0('0x4'));var rimraf=require(_0x0ad0('0x5'));var config=require('../../config/environment');var attributes=require(_0x0ad0('0x6'));module[_0x0ad0('0x7')]=function(_0x3ba08a,_0x9cd7ce){return _0x3ba08a['define'](_0x0ad0('0x8'),attributes,{'tableName':_0x0ad0('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};