65e205fc2031e020abef0a6e6231469e71b83b05
[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 _0xfd68=['lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./squareOdbc.attributes','SquareOdbc','square_odbc'];(function(_0x136290,_0x3e6b8f){var _0x290e92=function(_0x4095d6){while(--_0x4095d6){_0x136290['push'](_0x136290['shift']());}};_0x290e92(++_0x3e6b8f);}(_0xfd68,0xfd));var _0x8fd6=function(_0xf703dc,_0x3795f0){_0xf703dc=_0xf703dc-0x0;var _0x30beb2=_0xfd68[_0xf703dc];return _0x30beb2;};'use strict';var _=require(_0x8fd6('0x0'));var util=require(_0x8fd6('0x1'));var logger=require(_0x8fd6('0x2'))('api');var moment=require(_0x8fd6('0x3'));var BPromise=require(_0x8fd6('0x4'));var rp=require(_0x8fd6('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8fd6('0x6'));var config=require(_0x8fd6('0x7'));var attributes=require(_0x8fd6('0x8'));module['exports']=function(_0x3577f2,_0x506c79){return _0x3577f2['define'](_0x8fd6('0x9'),attributes,{'tableName':_0x8fd6('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};