6012e337718a54b2af18c34154496581d0a3cb17
[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 _0x9bef=['moment','bluebird','request-promise','path','rimraf','./squareOdbc.attributes','define','SquareOdbc','lodash','util','api'];(function(_0x1670e8,_0x5488ea){var _0x11fe3=function(_0x19c667){while(--_0x19c667){_0x1670e8['push'](_0x1670e8['shift']());}};_0x11fe3(++_0x5488ea);}(_0x9bef,0xfa));var _0xf9be=function(_0x4e7516,_0x30eacf){_0x4e7516=_0x4e7516-0x0;var _0x4fd321=_0x9bef[_0x4e7516];return _0x4fd321;};'use strict';var _=require(_0xf9be('0x0'));var util=require(_0xf9be('0x1'));var logger=require('../../config/logger')(_0xf9be('0x2'));var moment=require(_0xf9be('0x3'));var BPromise=require(_0xf9be('0x4'));var rp=require(_0xf9be('0x5'));var fs=require('fs');var path=require(_0xf9be('0x6'));var rimraf=require(_0xf9be('0x7'));var config=require('../../config/environment');var attributes=require(_0xf9be('0x8'));module['exports']=function(_0x3bfdb1,_0x24bd89){return _0x3bfdb1[_0xf9be('0x9')](_0xf9be('0xa'),attributes,{'tableName':'square_odbc','paranoid':![],'indexes':[],'timestamps':!![]});};