Built motion from commit d1eab355.|2.6.28
[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 _0x066e=['request-promise','path','../../config/environment','./squareOdbc.attributes','exports','square_odbc','lodash','../../config/logger','api','moment'];(function(_0x9cf14e,_0x57d04f){var _0x14877a=function(_0x35e94f){while(--_0x35e94f){_0x9cf14e['push'](_0x9cf14e['shift']());}};_0x14877a(++_0x57d04f);}(_0x066e,0x11e));var _0xe066=function(_0xbca1b1,_0x33f0ce){_0xbca1b1=_0xbca1b1-0x0;var _0x4e1686=_0x066e[_0xbca1b1];return _0x4e1686;};'use strict';var _=require(_0xe066('0x0'));var util=require('util');var logger=require(_0xe066('0x1'))(_0xe066('0x2'));var moment=require(_0xe066('0x3'));var BPromise=require('bluebird');var rp=require(_0xe066('0x4'));var fs=require('fs');var path=require(_0xe066('0x5'));var rimraf=require('rimraf');var config=require(_0xe066('0x6'));var attributes=require(_0xe066('0x7'));module[_0xe066('0x8')]=function(_0x204097,_0x3567f7){return _0x204097['define']('SquareOdbc',attributes,{'tableName':_0xe066('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};