4b35652f919ebbb7f4f569fb2350f6deb6371117
[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 _0xec72=['../../config/environment','./squareOdbc.attributes','exports','define','square_odbc','lodash','util','../../config/logger','api','bluebird','rimraf'];(function(_0x5ae92f,_0x5e2d58){var _0x23e0fe=function(_0x2c9f90){while(--_0x2c9f90){_0x5ae92f['push'](_0x5ae92f['shift']());}};_0x23e0fe(++_0x5e2d58);}(_0xec72,0x165));var _0x2ec7=function(_0x2a30e1,_0x2e6ff4){_0x2a30e1=_0x2a30e1-0x0;var _0xeb8a24=_0xec72[_0x2a30e1];return _0xeb8a24;};'use strict';var _=require(_0x2ec7('0x0'));var util=require(_0x2ec7('0x1'));var logger=require(_0x2ec7('0x2'))(_0x2ec7('0x3'));var moment=require('moment');var BPromise=require(_0x2ec7('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x2ec7('0x5'));var config=require(_0x2ec7('0x6'));var attributes=require(_0x2ec7('0x7'));module[_0x2ec7('0x8')]=function(_0x343d2a,_0x460d82){return _0x343d2a[_0x2ec7('0x9')]('SquareOdbc',attributes,{'tableName':_0x2ec7('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};