0c842b473e000267aa6b763eed530226f15e359a
[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 _0x9e38=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./squareOdbc.attributes','exports','define','SquareOdbc','square_odbc','lodash','util','../../config/logger','api'];(function(_0x4f8566,_0xcba619){var _0x46ad0f=function(_0xd8b75b){while(--_0xd8b75b){_0x4f8566['push'](_0x4f8566['shift']());}};_0x46ad0f(++_0xcba619);}(_0x9e38,0x155));var _0x89e3=function(_0x2aee2f,_0xad9887){_0x2aee2f=_0x2aee2f-0x0;var _0x19337f=_0x9e38[_0x2aee2f];return _0x19337f;};'use strict';var _=require(_0x89e3('0x0'));var util=require(_0x89e3('0x1'));var logger=require(_0x89e3('0x2'))(_0x89e3('0x3'));var moment=require(_0x89e3('0x4'));var BPromise=require(_0x89e3('0x5'));var rp=require(_0x89e3('0x6'));var fs=require('fs');var path=require(_0x89e3('0x7'));var rimraf=require(_0x89e3('0x8'));var config=require(_0x89e3('0x9'));var attributes=require(_0x89e3('0xa'));module[_0x89e3('0xb')]=function(_0x424668,_0x592c1f){return _0x424668[_0x89e3('0xc')](_0x89e3('0xd'),attributes,{'tableName':_0x89e3('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};