ba439866effbf5026d6e2c87b3e3b09ad08f92f5
[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 _0xce2f=['api','moment','bluebird','request-promise','rimraf','./squareOdbc.attributes','define','SquareOdbc','square_odbc','util','../../config/logger'];(function(_0x1fc1f9,_0x454fb2){var _0x4987ca=function(_0x5e90dd){while(--_0x5e90dd){_0x1fc1f9['push'](_0x1fc1f9['shift']());}};_0x4987ca(++_0x454fb2);}(_0xce2f,0x18a));var _0xfce2=function(_0x39fb38,_0x3e38cb){_0x39fb38=_0x39fb38-0x0;var _0x4ee8bf=_0xce2f[_0x39fb38];return _0x4ee8bf;};'use strict';var _=require('lodash');var util=require(_0xfce2('0x0'));var logger=require(_0xfce2('0x1'))(_0xfce2('0x2'));var moment=require(_0xfce2('0x3'));var BPromise=require(_0xfce2('0x4'));var rp=require(_0xfce2('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfce2('0x6'));var config=require('../../config/environment');var attributes=require(_0xfce2('0x7'));module['exports']=function(_0x22efae,_0xeffde2){return _0x22efae[_0xfce2('0x8')](_0xfce2('0x9'),attributes,{'tableName':_0xfce2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};