3d4aa61001ec8854e3ad31fd3dbbcfc221265618
[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 _0x9f01=['path','SquareOdbc','square_odbc','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x41d432,_0x20e878){var _0x1650f9=function(_0x27f177){while(--_0x27f177){_0x41d432['push'](_0x41d432['shift']());}};_0x1650f9(++_0x20e878);}(_0x9f01,0xed));var _0x19f0=function(_0x55e67e,_0x21270b){_0x55e67e=_0x55e67e-0x0;var _0x468041=_0x9f01[_0x55e67e];return _0x468041;};'use strict';var _=require(_0x19f0('0x0'));var util=require(_0x19f0('0x1'));var logger=require(_0x19f0('0x2'))(_0x19f0('0x3'));var moment=require(_0x19f0('0x4'));var BPromise=require(_0x19f0('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x19f0('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./squareOdbc.attributes');module['exports']=function(_0x41e2e1,_0x467a04){return _0x41e2e1['define'](_0x19f0('0x7'),attributes,{'tableName':_0x19f0('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};