Built motion from commit 85328c08.|2.5.50
[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 _0x0c58=['path','rimraf','./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','lodash','util','moment','request-promise'];(function(_0x20185a,_0x3bd0e6){var _0x5a471d=function(_0xc30f14){while(--_0xc30f14){_0x20185a['push'](_0x20185a['shift']());}};_0x5a471d(++_0x3bd0e6);}(_0x0c58,0x1a9));var _0x80c5=function(_0x57e771,_0xa06379){_0x57e771=_0x57e771-0x0;var _0x41049c=_0x0c58[_0x57e771];return _0x41049c;};'use strict';var _=require(_0x80c5('0x0'));var util=require(_0x80c5('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x80c5('0x2'));var BPromise=require('bluebird');var rp=require(_0x80c5('0x3'));var fs=require('fs');var path=require(_0x80c5('0x4'));var rimraf=require(_0x80c5('0x5'));var config=require('../../config/environment');var attributes=require(_0x80c5('0x6'));module[_0x80c5('0x7')]=function(_0x290251,_0x516d5e){return _0x290251[_0x80c5('0x8')](_0x80c5('0x9'),attributes,{'tableName':_0x80c5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};