03b67feede7cf24ea5707569d5393ad5c6e29853
[motion2.git] / server / api / squareOdbc / squareOdbc.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xeb86=['rimraf','../../config/environment','./squareOdbc.attributes','exports','lodash','moment','bluebird','request-promise','path'];(function(_0x5f4c7b,_0x3fcd3d){var _0x3d6e95=function(_0x14666f){while(--_0x14666f){_0x5f4c7b['push'](_0x5f4c7b['shift']());}};_0x3d6e95(++_0x3fcd3d);}(_0xeb86,0x100));var _0x6eb8=function(_0x172e5d,_0x4db2c8){_0x172e5d=_0x172e5d-0x0;var _0x4fdbda=_0xeb86[_0x172e5d];return _0x4fdbda;};'use strict';var _=require(_0x6eb8('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x6eb8('0x1'));var BPromise=require(_0x6eb8('0x2'));var rp=require(_0x6eb8('0x3'));var fs=require('fs');var path=require(_0x6eb8('0x4'));var rimraf=require(_0x6eb8('0x5'));var config=require(_0x6eb8('0x6'));var attributes=require(_0x6eb8('0x7'));module[_0x6eb8('0x8')]=function(_0x4f77d7,_0x5dbe9b){return _0x4f77d7['define']('SquareOdbc',attributes,{'tableName':'square_odbc','paranoid':![],'indexes':[],'timestamps':!![]});};