Built motion from commit 9d1906d1.|2.5.40
[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 _0x5f57=['rimraf','../../config/environment','./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','util','../../config/logger','moment','path'];(function(_0x406b8e,_0x256913){var _0xea4682=function(_0x51d31e){while(--_0x51d31e){_0x406b8e['push'](_0x406b8e['shift']());}};_0xea4682(++_0x256913);}(_0x5f57,0x8b));var _0x75f5=function(_0x2078ff,_0x1c38f4){_0x2078ff=_0x2078ff-0x0;var _0x530c2a=_0x5f57[_0x2078ff];return _0x530c2a;};'use strict';var _=require('lodash');var util=require(_0x75f5('0x0'));var logger=require(_0x75f5('0x1'))('api');var moment=require(_0x75f5('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x75f5('0x3'));var rimraf=require(_0x75f5('0x4'));var config=require(_0x75f5('0x5'));var attributes=require(_0x75f5('0x6'));module[_0x75f5('0x7')]=function(_0xf38a97,_0x548462){return _0xf38a97[_0x75f5('0x8')](_0x75f5('0x9'),attributes,{'tableName':_0x75f5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};