Built motion from commit f74363e9.|2.6.34
[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 _0xadce=['exports','define','SquareOdbc','square_odbc','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./squareOdbc.attributes'];(function(_0x20800a,_0x109874){var _0x4d20c7=function(_0x2c9fda){while(--_0x2c9fda){_0x20800a['push'](_0x20800a['shift']());}};_0x4d20c7(++_0x109874);}(_0xadce,0x118));var _0xeadc=function(_0x456fb1,_0x859a1d){_0x456fb1=_0x456fb1-0x0;var _0x4083d6=_0xadce[_0x456fb1];return _0x4083d6;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xeadc('0x0'))('api');var moment=require(_0xeadc('0x1'));var BPromise=require(_0xeadc('0x2'));var rp=require(_0xeadc('0x3'));var fs=require('fs');var path=require(_0xeadc('0x4'));var rimraf=require(_0xeadc('0x5'));var config=require(_0xeadc('0x6'));var attributes=require(_0xeadc('0x7'));module[_0xeadc('0x8')]=function(_0x351aed,_0x4f358d){return _0x351aed[_0xeadc('0x9')](_0xeadc('0xa'),attributes,{'tableName':_0xeadc('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};