36c97320d5e3907cb2b57cab2bcbed985cfc1565
[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 _0xc537=['define','SquareOdbc','lodash','api','moment','bluebird','path','../../config/environment','./squareOdbc.attributes','exports'];(function(_0x3d42d8,_0x4cffaa){var _0x27fc41=function(_0x3a363b){while(--_0x3a363b){_0x3d42d8['push'](_0x3d42d8['shift']());}};_0x27fc41(++_0x4cffaa);}(_0xc537,0x17e));var _0x7c53=function(_0xa64f6,_0xe5781d){_0xa64f6=_0xa64f6-0x0;var _0x16300f=_0xc537[_0xa64f6];return _0x16300f;};'use strict';var _=require(_0x7c53('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x7c53('0x1'));var moment=require(_0x7c53('0x2'));var BPromise=require(_0x7c53('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7c53('0x4'));var rimraf=require('rimraf');var config=require(_0x7c53('0x5'));var attributes=require(_0x7c53('0x6'));module[_0x7c53('0x7')]=function(_0x7daa8c,_0x5c6082){return _0x7daa8c[_0x7c53('0x8')](_0x7c53('0x9'),attributes,{'tableName':'square_odbc','paranoid':![],'indexes':[],'timestamps':!![]});};