0b26814efd1ca2938e1704af36c10bbd0538da37
[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 _0xd3d7=['./squareOdbc.attributes','exports','SquareOdbc','square_odbc','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x138b62,_0x1ae48d){var _0x273b84=function(_0x52adf7){while(--_0x52adf7){_0x138b62['push'](_0x138b62['shift']());}};_0x273b84(++_0x1ae48d);}(_0xd3d7,0x170));var _0x7d3d=function(_0x42feb4,_0x145e8a){_0x42feb4=_0x42feb4-0x0;var _0x332a36=_0xd3d7[_0x42feb4];return _0x332a36;};'use strict';var _=require('lodash');var util=require(_0x7d3d('0x0'));var logger=require(_0x7d3d('0x1'))(_0x7d3d('0x2'));var moment=require(_0x7d3d('0x3'));var BPromise=require(_0x7d3d('0x4'));var rp=require(_0x7d3d('0x5'));var fs=require('fs');var path=require(_0x7d3d('0x6'));var rimraf=require(_0x7d3d('0x7'));var config=require(_0x7d3d('0x8'));var attributes=require(_0x7d3d('0x9'));module[_0x7d3d('0xa')]=function(_0x10137a,_0x38fbd4){return _0x10137a['define'](_0x7d3d('0xb'),attributes,{'tableName':_0x7d3d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};