Built motion from commit 497d3d92.|2.5.43
[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 _0xa37e=['path','../../config/environment','exports','square_odbc','lodash','../../config/logger','api','moment','request-promise'];(function(_0x2d657b,_0x54dc46){var _0x323229=function(_0xb708ae){while(--_0xb708ae){_0x2d657b['push'](_0x2d657b['shift']());}};_0x323229(++_0x54dc46);}(_0xa37e,0x9d));var _0xea37=function(_0x46be67,_0x138ed8){_0x46be67=_0x46be67-0x0;var _0x31fc37=_0xa37e[_0x46be67];return _0x31fc37;};'use strict';var _=require(_0xea37('0x0'));var util=require('util');var logger=require(_0xea37('0x1'))(_0xea37('0x2'));var moment=require(_0xea37('0x3'));var BPromise=require('bluebird');var rp=require(_0xea37('0x4'));var fs=require('fs');var path=require(_0xea37('0x5'));var rimraf=require('rimraf');var config=require(_0xea37('0x6'));var attributes=require('./squareOdbc.attributes');module[_0xea37('0x7')]=function(_0x150bcc,_0x16a6a4){return _0x150bcc['define']('SquareOdbc',attributes,{'tableName':_0xea37('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};