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 _0x3895=['square_odbc','util','moment','bluebird','../../config/environment','exports','SquareOdbc'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x3895,0x112));var _0x5389=function(_0x2f5f97,_0x1665e2){_0x2f5f97=_0x2f5f97-0x0;var _0x164481=_0x3895[_0x2f5f97];return _0x164481;};'use strict';var _=require('lodash');var util=require(_0x5389('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x5389('0x1'));var BPromise=require(_0x5389('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x5389('0x3'));var attributes=require('./squareOdbc.attributes');module[_0x5389('0x4')]=function(_0x572f82,_0x314db7){return _0x572f82['define'](_0x5389('0x5'),attributes,{'tableName':_0x5389('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};