Built motion from commit (unavailable).|2.5.4
[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 _0x1f38=['./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x15559f,_0xa4759a){var _0x202e0e=function(_0x23b8bf){while(--_0x23b8bf){_0x15559f['push'](_0x15559f['shift']());}};_0x202e0e(++_0xa4759a);}(_0x1f38,0xd7));var _0x81f3=function(_0x39d38e,_0x3da1f7){_0x39d38e=_0x39d38e-0x0;var _0x18e737=_0x1f38[_0x39d38e];return _0x18e737;};'use strict';var _=require(_0x81f3('0x0'));var util=require(_0x81f3('0x1'));var logger=require(_0x81f3('0x2'))(_0x81f3('0x3'));var moment=require(_0x81f3('0x4'));var BPromise=require(_0x81f3('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x81f3('0x6'));var rimraf=require(_0x81f3('0x7'));var config=require(_0x81f3('0x8'));var attributes=require(_0x81f3('0x9'));module[_0x81f3('0xa')]=function(_0x59e5ae,_0x39633a){return _0x59e5ae[_0x81f3('0xb')](_0x81f3('0xc'),attributes,{'tableName':_0x81f3('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};