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 _0xf274=['moment','bluebird','request-promise','rimraf','../../config/environment','./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','util','../../config/logger','api'];(function(_0x3bfef9,_0x231a0d){var _0xffdc3=function(_0x3ce0ba){while(--_0x3ce0ba){_0x3bfef9['push'](_0x3bfef9['shift']());}};_0xffdc3(++_0x231a0d);}(_0xf274,0x99));var _0x4f27=function(_0x4b2436,_0x452299){_0x4b2436=_0x4b2436-0x0;var _0x4f5ab2=_0xf274[_0x4b2436];return _0x4f5ab2;};'use strict';var _=require('lodash');var util=require(_0x4f27('0x0'));var logger=require(_0x4f27('0x1'))(_0x4f27('0x2'));var moment=require(_0x4f27('0x3'));var BPromise=require(_0x4f27('0x4'));var rp=require(_0x4f27('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4f27('0x6'));var config=require(_0x4f27('0x7'));var attributes=require(_0x4f27('0x8'));module[_0x4f27('0x9')]=function(_0x4d5c3c,_0x4dba4e){return _0x4d5c3c[_0x4f27('0xa')](_0x4f27('0xb'),attributes,{'tableName':_0x4f27('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};