3bd3b34ad82eb503ad7106ca7f1a528f90031430
[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 _0xdf5d=['define','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment'];(function(_0x36caa6,_0x38f175){var _0xbc4c36=function(_0x1a1aa7){while(--_0x1a1aa7){_0x36caa6['push'](_0x36caa6['shift']());}};_0xbc4c36(++_0x38f175);}(_0xdf5d,0x172));var _0xddf5=function(_0x38ba71,_0x19fa27){_0x38ba71=_0x38ba71-0x0;var _0x29398b=_0xdf5d[_0x38ba71];return _0x29398b;};'use strict';var _=require(_0xddf5('0x0'));var util=require(_0xddf5('0x1'));var logger=require(_0xddf5('0x2'))(_0xddf5('0x3'));var moment=require(_0xddf5('0x4'));var BPromise=require(_0xddf5('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xddf5('0x6'));var config=require(_0xddf5('0x7'));var attributes=require('./squareOdbc.attributes');module['exports']=function(_0x5a7b37,_0x51ee28){return _0x5a7b37[_0xddf5('0x8')]('SquareOdbc',attributes,{'tableName':'square_odbc','paranoid':![],'indexes':[],'timestamps':!![]});};