Built motion from commit 9e1399f3.|2.5.37
[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 _0xfbfc=['SquareOdbc','square_odbc','lodash','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./squareOdbc.attributes','exports','define'];(function(_0x10e865,_0x32b9e5){var _0xf49753=function(_0x3b8d7a){while(--_0x3b8d7a){_0x10e865['push'](_0x10e865['shift']());}};_0xf49753(++_0x32b9e5);}(_0xfbfc,0x1be));var _0xcfbf=function(_0x41d1b6,_0x258ab8){_0x41d1b6=_0x41d1b6-0x0;var _0xe0a00d=_0xfbfc[_0x41d1b6];return _0xe0a00d;};'use strict';var _=require(_0xcfbf('0x0'));var util=require('util');var logger=require(_0xcfbf('0x1'))(_0xcfbf('0x2'));var moment=require(_0xcfbf('0x3'));var BPromise=require(_0xcfbf('0x4'));var rp=require(_0xcfbf('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xcfbf('0x6'));var attributes=require(_0xcfbf('0x7'));module[_0xcfbf('0x8')]=function(_0x599344,_0xa7952f){return _0x599344[_0xcfbf('0x9')](_0xcfbf('0xa'),attributes,{'tableName':_0xcfbf('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};