4d6163d7ff21c3d33a4a5624b61c944ced64f5ea
[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 _0xf4e7=['path','rimraf','./squareOdbc.attributes','exports','define','lodash','util','../../config/logger','api','moment','request-promise'];(function(_0x185d1e,_0x5ad33b){var _0x211a49=function(_0x4903ac){while(--_0x4903ac){_0x185d1e['push'](_0x185d1e['shift']());}};_0x211a49(++_0x5ad33b);}(_0xf4e7,0x139));var _0x7f4e=function(_0x28de54,_0x5ea11a){_0x28de54=_0x28de54-0x0;var _0x3b59d8=_0xf4e7[_0x28de54];return _0x3b59d8;};'use strict';var _=require(_0x7f4e('0x0'));var util=require(_0x7f4e('0x1'));var logger=require(_0x7f4e('0x2'))(_0x7f4e('0x3'));var moment=require(_0x7f4e('0x4'));var BPromise=require('bluebird');var rp=require(_0x7f4e('0x5'));var fs=require('fs');var path=require(_0x7f4e('0x6'));var rimraf=require(_0x7f4e('0x7'));var config=require('../../config/environment');var attributes=require(_0x7f4e('0x8'));module[_0x7f4e('0x9')]=function(_0x5d989d,_0x41666d){return _0x5d989d[_0x7f4e('0xa')]('SquareOdbc',attributes,{'tableName':'square_odbc','paranoid':![],'indexes':[],'timestamps':!![]});};