Built motion from commit 3e059bc2.|2.5.32
[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 _0x3d3d=['SquareOdbc','lodash','util','api','moment','bluebird','request-promise','path','rimraf','./squareOdbc.attributes','exports'];(function(_0x40538a,_0xedf6c7){var _0x13856f=function(_0x3bb9c1){while(--_0x3bb9c1){_0x40538a['push'](_0x40538a['shift']());}};_0x13856f(++_0xedf6c7);}(_0x3d3d,0xf3));var _0xd3d3=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x3d3d[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xd3d3('0x0'));var util=require(_0xd3d3('0x1'));var logger=require('../../config/logger')(_0xd3d3('0x2'));var moment=require(_0xd3d3('0x3'));var BPromise=require(_0xd3d3('0x4'));var rp=require(_0xd3d3('0x5'));var fs=require('fs');var path=require(_0xd3d3('0x6'));var rimraf=require(_0xd3d3('0x7'));var config=require('../../config/environment');var attributes=require(_0xd3d3('0x8'));module[_0xd3d3('0x9')]=function(_0x36ee6a,_0x855b88){return _0x36ee6a['define'](_0xd3d3('0xa'),attributes,{'tableName':'square_odbc','paranoid':![],'indexes':[],'timestamps':!![]});};