a5203c391e4c1a17289dc2e8b56b8d46da170a62
[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 _0x8bc9=['square_odbc','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./squareOdbc.attributes','exports','define','SquareOdbc'];(function(_0x2c1a0e,_0x58b1a2){var _0xaf8d07=function(_0x52fa58){while(--_0x52fa58){_0x2c1a0e['push'](_0x2c1a0e['shift']());}};_0xaf8d07(++_0x58b1a2);}(_0x8bc9,0x1bb));var _0x98bc=function(_0x56a3f5,_0x25a840){_0x56a3f5=_0x56a3f5-0x0;var _0x4434f1=_0x8bc9[_0x56a3f5];return _0x4434f1;};'use strict';var _=require(_0x98bc('0x0'));var util=require(_0x98bc('0x1'));var logger=require(_0x98bc('0x2'))(_0x98bc('0x3'));var moment=require('moment');var BPromise=require(_0x98bc('0x4'));var rp=require(_0x98bc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x98bc('0x6'));var config=require(_0x98bc('0x7'));var attributes=require(_0x98bc('0x8'));module[_0x98bc('0x9')]=function(_0x584a31,_0x1b6597){return _0x584a31[_0x98bc('0xa')](_0x98bc('0xb'),attributes,{'tableName':_0x98bc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};