a55e69ebc1639f525cca089e13498a9c7351f555
[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 _0x66f2=['rimraf','../../config/environment','./squareOdbc.attributes','exports','define','SquareOdbc','lodash','../../config/logger','api','request-promise','path'];(function(_0x13c5f3,_0x56c1ff){var _0x4d74e7=function(_0x1a090a){while(--_0x1a090a){_0x13c5f3['push'](_0x13c5f3['shift']());}};_0x4d74e7(++_0x56c1ff);}(_0x66f2,0x1df));var _0x266f=function(_0x55754e,_0x286388){_0x55754e=_0x55754e-0x0;var _0x2e9948=_0x66f2[_0x55754e];return _0x2e9948;};'use strict';var _=require(_0x266f('0x0'));var util=require('util');var logger=require(_0x266f('0x1'))(_0x266f('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x266f('0x3'));var fs=require('fs');var path=require(_0x266f('0x4'));var rimraf=require(_0x266f('0x5'));var config=require(_0x266f('0x6'));var attributes=require(_0x266f('0x7'));module[_0x266f('0x8')]=function(_0x4f1040,_0x36d1a6){return _0x4f1040[_0x266f('0x9')](_0x266f('0xa'),attributes,{'tableName':'square_odbc','paranoid':![],'indexes':[],'timestamps':!![]});};