839e2d38040182273c002027fc7c561ac4c5a613
[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 _0x1afa=['SquareOdbc','square_odbc','lodash','util','../../config/logger','api','request-promise','path','rimraf','../../config/environment','./squareOdbc.attributes','exports','define'];(function(_0x299cde,_0x13b449){var _0x54981b=function(_0x3d52bd){while(--_0x3d52bd){_0x299cde['push'](_0x299cde['shift']());}};_0x54981b(++_0x13b449);}(_0x1afa,0x106));var _0xa1af=function(_0x2057cd,_0x2898f6){_0x2057cd=_0x2057cd-0x0;var _0x5545cb=_0x1afa[_0x2057cd];return _0x5545cb;};'use strict';var _=require(_0xa1af('0x0'));var util=require(_0xa1af('0x1'));var logger=require(_0xa1af('0x2'))(_0xa1af('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xa1af('0x4'));var fs=require('fs');var path=require(_0xa1af('0x5'));var rimraf=require(_0xa1af('0x6'));var config=require(_0xa1af('0x7'));var attributes=require(_0xa1af('0x8'));module[_0xa1af('0x9')]=function(_0x53a462,_0x3d8285){return _0x53a462[_0xa1af('0xa')](_0xa1af('0xb'),attributes,{'tableName':_0xa1af('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};