Built motion from commit (unavailable).|2.5.12
[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 _0x0e18=['./squareOdbc.attributes','exports','square_odbc','lodash','util','../../config/logger','api','bluebird','rimraf','../../config/environment'];(function(_0x3bb954,_0x5173dd){var _0x3d96a3=function(_0x16688c){while(--_0x16688c){_0x3bb954['push'](_0x3bb954['shift']());}};_0x3d96a3(++_0x5173dd);}(_0x0e18,0x125));var _0x80e1=function(_0x32f8a4,_0x107c70){_0x32f8a4=_0x32f8a4-0x0;var _0x277210=_0x0e18[_0x32f8a4];return _0x277210;};'use strict';var _=require(_0x80e1('0x0'));var util=require(_0x80e1('0x1'));var logger=require(_0x80e1('0x2'))(_0x80e1('0x3'));var moment=require('moment');var BPromise=require(_0x80e1('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x80e1('0x5'));var config=require(_0x80e1('0x6'));var attributes=require(_0x80e1('0x7'));module[_0x80e1('0x8')]=function(_0x5471b1,_0x38863b){return _0x5471b1['define']('SquareOdbc',attributes,{'tableName':_0x80e1('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};