1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xd07d=['../../config/logger','moment','bluebird','rimraf','../../config/environment','./squareMessage.attributes','exports','define','SquareMessage','square_messages','lodash','util'];(function(_0x564821,_0x4d037e){var _0x2b604d=function(_0x26fabf){while(--_0x26fabf){_0x564821['push'](_0x564821['shift']());}};_0x2b604d(++_0x4d037e);}(_0xd07d,0x136));var _0xdd07=function(_0x1e79b9,_0x223ef3){_0x1e79b9=_0x1e79b9-0x0;var _0x2c2d29=_0xd07d[_0x1e79b9];return _0x2c2d29;};'use strict';var _=require(_0xdd07('0x0'));var util=require(_0xdd07('0x1'));var logger=require(_0xdd07('0x2'))('api');var moment=require(_0xdd07('0x3'));var BPromise=require(_0xdd07('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xdd07('0x5'));var config=require(_0xdd07('0x6'));var attributes=require(_0xdd07('0x7'));module[_0xdd07('0x8')]=function(_0x22738e,_0x2288f0){return _0x22738e[_0xdd07('0x9')](_0xdd07('0xa'),attributes,{'tableName':_0xdd07('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};