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 _0xa9f0=['exports','SquareOdbc','square_odbc','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x5e31e2,_0x273090){var _0x294e2c=function(_0x20ab82){while(--_0x20ab82){_0x5e31e2['push'](_0x5e31e2['shift']());}};_0x294e2c(++_0x273090);}(_0xa9f0,0x153));var _0x0a9f=function(_0x3a872c,_0x17718b){_0x3a872c=_0x3a872c-0x0;var _0x2c39d4=_0xa9f0[_0x3a872c];return _0x2c39d4;};'use strict';var _=require(_0x0a9f('0x0'));var util=require('util');var logger=require(_0x0a9f('0x1'))(_0x0a9f('0x2'));var moment=require(_0x0a9f('0x3'));var BPromise=require(_0x0a9f('0x4'));var rp=require(_0x0a9f('0x5'));var fs=require('fs');var path=require(_0x0a9f('0x6'));var rimraf=require(_0x0a9f('0x7'));var config=require(_0x0a9f('0x8'));var attributes=require('./squareOdbc.attributes');module[_0x0a9f('0x9')]=function(_0x54579c,_0x19b209){return _0x54579c['define'](_0x0a9f('0xa'),attributes,{'tableName':_0x0a9f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};