Built motion from commit 896e83a8.|2.6.30
[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 _0xec9e=['../../config/environment','./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','lodash','../../config/logger','api','moment','request-promise','rimraf'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xec9e,0x102));var _0xeec9=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xec9e[_0x321bb2];return _0x9c12ed;};'use strict';var _=require(_0xeec9('0x0'));var util=require('util');var logger=require(_0xeec9('0x1'))(_0xeec9('0x2'));var moment=require(_0xeec9('0x3'));var BPromise=require('bluebird');var rp=require(_0xeec9('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xeec9('0x5'));var config=require(_0xeec9('0x6'));var attributes=require(_0xeec9('0x7'));module[_0xeec9('0x8')]=function(_0x4bcfa7,_0x4accdf){return _0x4bcfa7[_0xeec9('0x9')](_0xeec9('0xa'),attributes,{'tableName':_0xeec9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};