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 _0x7cc3=['lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','exports','SquareOdbc','square_odbc'];(function(_0x1b91fa,_0x5de629){var _0x3f27b2=function(_0x3adc4b){while(--_0x3adc4b){_0x1b91fa['push'](_0x1b91fa['shift']());}};_0x3f27b2(++_0x5de629);}(_0x7cc3,0x13f));var _0x37cc=function(_0x4e6e0d,_0xa877e3){_0x4e6e0d=_0x4e6e0d-0x0;var _0x78a90=_0x7cc3[_0x4e6e0d];return _0x78a90;};'use strict';var _=require(_0x37cc('0x0'));var util=require(_0x37cc('0x1'));var logger=require(_0x37cc('0x2'))('api');var moment=require(_0x37cc('0x3'));var BPromise=require(_0x37cc('0x4'));var rp=require(_0x37cc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x37cc('0x6'));var config=require(_0x37cc('0x7'));var attributes=require('./squareOdbc.attributes');module[_0x37cc('0x8')]=function(_0xe7b72e,_0x3dbcb8){return _0xe7b72e['define'](_0x37cc('0x9'),attributes,{'tableName':_0x37cc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};