f51bd0756690d307f0e93294da5b40a518d93882
[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 _0x446a=['../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','define','square_odbc','util'];(function(_0x366bf9,_0xc18730){var _0x1b72a4=function(_0x4ddd3f){while(--_0x4ddd3f){_0x366bf9['push'](_0x366bf9['shift']());}};_0x1b72a4(++_0xc18730);}(_0x446a,0xe6));var _0xa446=function(_0x594f35,_0x4605e1){_0x594f35=_0x594f35-0x0;var _0x193db1=_0x446a[_0x594f35];return _0x193db1;};'use strict';var _=require('lodash');var util=require(_0xa446('0x0'));var logger=require(_0xa446('0x1'))(_0xa446('0x2'));var moment=require(_0xa446('0x3'));var BPromise=require(_0xa446('0x4'));var rp=require(_0xa446('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa446('0x6'));var config=require(_0xa446('0x7'));var attributes=require('./squareOdbc.attributes');module[_0xa446('0x8')]=function(_0x475218,_0x2745c2){return _0x475218[_0xa446('0x9')]('SquareOdbc',attributes,{'tableName':_0xa446('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};