Built motion from commit a61a4a20.|2.5.46
[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 _0x33b5=['path','rimraf','../../config/environment','./squareOdbc.attributes','exports','define','square_odbc','util','../../config/logger','api','bluebird','request-promise'];(function(_0x4073f8,_0x4daaa1){var _0x50048b=function(_0x23982c){while(--_0x23982c){_0x4073f8['push'](_0x4073f8['shift']());}};_0x50048b(++_0x4daaa1);}(_0x33b5,0x1cf));var _0x533b=function(_0x3db99a,_0x387f03){_0x3db99a=_0x3db99a-0x0;var _0x2e3cbf=_0x33b5[_0x3db99a];return _0x2e3cbf;};'use strict';var _=require('lodash');var util=require(_0x533b('0x0'));var logger=require(_0x533b('0x1'))(_0x533b('0x2'));var moment=require('moment');var BPromise=require(_0x533b('0x3'));var rp=require(_0x533b('0x4'));var fs=require('fs');var path=require(_0x533b('0x5'));var rimraf=require(_0x533b('0x6'));var config=require(_0x533b('0x7'));var attributes=require(_0x533b('0x8'));module[_0x533b('0x9')]=function(_0x5b5517,_0x4a485c){return _0x5b5517[_0x533b('0xa')]('SquareOdbc',attributes,{'tableName':_0x533b('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};