b58a5fb9918c17796b1ce3418ebe8767d6df0002
[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 _0x836f=['bluebird','request-promise','path','rimraf','../../config/environment','./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','lodash','util','../../config/logger','api','moment'];(function(_0x457bf8,_0x209a0a){var _0x919f94=function(_0x4fc50c){while(--_0x4fc50c){_0x457bf8['push'](_0x457bf8['shift']());}};_0x919f94(++_0x209a0a);}(_0x836f,0x91));var _0xf836=function(_0x4f6365,_0x15b25a){_0x4f6365=_0x4f6365-0x0;var _0x5cc7db=_0x836f[_0x4f6365];return _0x5cc7db;};'use strict';var _=require(_0xf836('0x0'));var util=require(_0xf836('0x1'));var logger=require(_0xf836('0x2'))(_0xf836('0x3'));var moment=require(_0xf836('0x4'));var BPromise=require(_0xf836('0x5'));var rp=require(_0xf836('0x6'));var fs=require('fs');var path=require(_0xf836('0x7'));var rimraf=require(_0xf836('0x8'));var config=require(_0xf836('0x9'));var attributes=require(_0xf836('0xa'));module[_0xf836('0xb')]=function(_0x5d46f9,_0x5701aa){return _0x5d46f9[_0xf836('0xc')](_0xf836('0xd'),attributes,{'tableName':_0xf836('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};