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 _0x9f4d=['rimraf','../../config/environment','./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x45f951,_0x2750c8){var _0x24756c=function(_0x31c931){while(--_0x31c931){_0x45f951['push'](_0x45f951['shift']());}};_0x24756c(++_0x2750c8);}(_0x9f4d,0x7f));var _0xd9f4=function(_0x2833fd,_0x28c021){_0x2833fd=_0x2833fd-0x0;var _0x3331a0=_0x9f4d[_0x2833fd];return _0x3331a0;};'use strict';var _=require('lodash');var util=require(_0xd9f4('0x0'));var logger=require(_0xd9f4('0x1'))('api');var moment=require(_0xd9f4('0x2'));var BPromise=require(_0xd9f4('0x3'));var rp=require(_0xd9f4('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd9f4('0x5'));var config=require(_0xd9f4('0x6'));var attributes=require(_0xd9f4('0x7'));module[_0xd9f4('0x8')]=function(_0x49069f,_0x269dcc){return _0x49069f[_0xd9f4('0x9')](_0xd9f4('0xa'),attributes,{'tableName':_0xd9f4('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};