Built motion from commit (unavailable).|2.5.0
[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 _0x6af5=['define','SquareOdbc','square_odbc','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment','./squareOdbc.attributes','exports'];(function(_0x38f5c6,_0x57cf85){var _0xa54f1d=function(_0x46e9f3){while(--_0x46e9f3){_0x38f5c6['push'](_0x38f5c6['shift']());}};_0xa54f1d(++_0x57cf85);}(_0x6af5,0x7b));var _0x56af=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x6af5[_0x4a9fb1];return _0x348672;};'use strict';var _=require('lodash');var util=require(_0x56af('0x0'));var logger=require(_0x56af('0x1'))('api');var moment=require('moment');var BPromise=require(_0x56af('0x2'));var rp=require(_0x56af('0x3'));var fs=require('fs');var path=require(_0x56af('0x4'));var rimraf=require(_0x56af('0x5'));var config=require(_0x56af('0x6'));var attributes=require(_0x56af('0x7'));module[_0x56af('0x8')]=function(_0x432f9d,_0x19528b){return _0x432f9d[_0x56af('0x9')](_0x56af('0xa'),attributes,{'tableName':_0x56af('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};