Built motion from commit (unavailable).|2.2.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 _0x4ea3=['./squareOdbc.attributes','define','SquareOdbc','square_odbc','lodash','util','../../config/logger','api','bluebird'];(function(_0x8a6faa,_0x2a6db1){var _0x5b70cc=function(_0x3e8bb8){while(--_0x3e8bb8){_0x8a6faa['push'](_0x8a6faa['shift']());}};_0x5b70cc(++_0x2a6db1);}(_0x4ea3,0x70));var _0x34ea=function(_0x1ac595,_0x5d2081){_0x1ac595=_0x1ac595-0x0;var _0x455fff=_0x4ea3[_0x1ac595];return _0x455fff;};'use strict';var _=require(_0x34ea('0x0'));var util=require(_0x34ea('0x1'));var logger=require(_0x34ea('0x2'))(_0x34ea('0x3'));var moment=require('moment');var BPromise=require(_0x34ea('0x4'));var rp=require('request-promise');var attributes=require(_0x34ea('0x5'));module['exports']=function(_0x5e5a84,_0x2ce955){return _0x5e5a84[_0x34ea('0x6')](_0x34ea('0x7'),attributes,{'tableName':_0x34ea('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};