Built motion from commit e6806ed6.|2.6.0
[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 _0xe927=['define','square_odbc','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./squareOdbc.attributes','exports'];(function(_0x5b455d,_0xd482bf){var _0x3846b1=function(_0x1b5e25){while(--_0x1b5e25){_0x5b455d['push'](_0x5b455d['shift']());}};_0x3846b1(++_0xd482bf);}(_0xe927,0x64));var _0x7e92=function(_0x280438,_0x1a2b94){_0x280438=_0x280438-0x0;var _0x26c9d6=_0xe927[_0x280438];return _0x26c9d6;};'use strict';var _=require(_0x7e92('0x0'));var util=require(_0x7e92('0x1'));var logger=require(_0x7e92('0x2'))(_0x7e92('0x3'));var moment=require(_0x7e92('0x4'));var BPromise=require(_0x7e92('0x5'));var rp=require(_0x7e92('0x6'));var fs=require('fs');var path=require(_0x7e92('0x7'));var rimraf=require(_0x7e92('0x8'));var config=require(_0x7e92('0x9'));var attributes=require(_0x7e92('0xa'));module[_0x7e92('0xb')]=function(_0x43a9a2,_0x36c3c2){return _0x43a9a2[_0x7e92('0xc')]('SquareOdbc',attributes,{'tableName':_0x7e92('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};