Built motion from commit (unavailable).|2.5.8
[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 _0xa0ed=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./squareOdbc.attributes','define','SquareOdbc','square_odbc','lodash','util'];(function(_0x5ed846,_0x2e0c5c){var _0x47d5f4=function(_0x5f4d4e){while(--_0x5f4d4e){_0x5ed846['push'](_0x5ed846['shift']());}};_0x47d5f4(++_0x2e0c5c);}(_0xa0ed,0x1a2));var _0xda0e=function(_0x27e6e9,_0x179cd5){_0x27e6e9=_0x27e6e9-0x0;var _0x2e878e=_0xa0ed[_0x27e6e9];return _0x2e878e;};'use strict';var _=require(_0xda0e('0x0'));var util=require(_0xda0e('0x1'));var logger=require(_0xda0e('0x2'))(_0xda0e('0x3'));var moment=require(_0xda0e('0x4'));var BPromise=require(_0xda0e('0x5'));var rp=require(_0xda0e('0x6'));var fs=require('fs');var path=require(_0xda0e('0x7'));var rimraf=require(_0xda0e('0x8'));var config=require(_0xda0e('0x9'));var attributes=require(_0xda0e('0xa'));module['exports']=function(_0x3cb928,_0x5a9a4a){return _0x3cb928[_0xda0e('0xb')](_0xda0e('0xc'),attributes,{'tableName':_0xda0e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};