Built motion from commit (unavailable).|2.3.3
[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 _0xb58b=['SquareOdbc','util','../../config/logger','api','bluebird','request-promise','exports','define'];(function(_0x37bc62,_0x3d2fb2){var _0x15d029=function(_0x51b276){while(--_0x51b276){_0x37bc62['push'](_0x37bc62['shift']());}};_0x15d029(++_0x3d2fb2);}(_0xb58b,0x1f1));var _0xbb58=function(_0x490662,_0x1611bd){_0x490662=_0x490662-0x0;var _0x5b2ffc=_0xb58b[_0x490662];return _0x5b2ffc;};'use strict';var _=require('lodash');var util=require(_0xbb58('0x0'));var logger=require(_0xbb58('0x1'))(_0xbb58('0x2'));var moment=require('moment');var BPromise=require(_0xbb58('0x3'));var rp=require(_0xbb58('0x4'));var attributes=require('./squareOdbc.attributes');module[_0xbb58('0x5')]=function(_0x546510,_0x2edb10){return _0x546510[_0xbb58('0x6')](_0xbb58('0x7'),attributes,{'tableName':'square_odbc','paranoid':![],'indexes':[],'timestamps':!![]});};