93b1699ff3677ceb35437e6dcc7af18290c97b30
[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 _0xf720=['bluebird','request-promise','path','./squareOdbc.attributes','define','square_odbc','lodash','util','../../config/logger','api','moment'];(function(_0x1b0bdb,_0x41c282){var _0x9b2bc6=function(_0xa96e55){while(--_0xa96e55){_0x1b0bdb['push'](_0x1b0bdb['shift']());}};_0x9b2bc6(++_0x41c282);}(_0xf720,0x119));var _0x0f72=function(_0x203daa,_0x137737){_0x203daa=_0x203daa-0x0;var _0xb8001e=_0xf720[_0x203daa];return _0xb8001e;};'use strict';var _=require(_0x0f72('0x0'));var util=require(_0x0f72('0x1'));var logger=require(_0x0f72('0x2'))(_0x0f72('0x3'));var moment=require(_0x0f72('0x4'));var BPromise=require(_0x0f72('0x5'));var rp=require(_0x0f72('0x6'));var fs=require('fs');var path=require(_0x0f72('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x0f72('0x8'));module['exports']=function(_0x1e5f27,_0x11dc01){return _0x1e5f27[_0x0f72('0x9')]('SquareOdbc',attributes,{'tableName':_0x0f72('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};