Built motion from commit 775e2a94.|2.6.3
[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 _0xdf73=['path','rimraf','./squareOdbc.attributes','define','square_odbc','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x4d3835,_0x4f5f50){var _0x823439=function(_0x25a5c6){while(--_0x25a5c6){_0x4d3835['push'](_0x4d3835['shift']());}};_0x823439(++_0x4f5f50);}(_0xdf73,0x9f));var _0x3df7=function(_0x571ae8,_0x13ed2d){_0x571ae8=_0x571ae8-0x0;var _0x5e8250=_0xdf73[_0x571ae8];return _0x5e8250;};'use strict';var _=require(_0x3df7('0x0'));var util=require('util');var logger=require(_0x3df7('0x1'))(_0x3df7('0x2'));var moment=require(_0x3df7('0x3'));var BPromise=require(_0x3df7('0x4'));var rp=require(_0x3df7('0x5'));var fs=require('fs');var path=require(_0x3df7('0x6'));var rimraf=require(_0x3df7('0x7'));var config=require('../../config/environment');var attributes=require(_0x3df7('0x8'));module['exports']=function(_0x1366ff,_0x3e9ef7){return _0x1366ff[_0x3df7('0x9')]('SquareOdbc',attributes,{'tableName':_0x3df7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};