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 _0x4d88=['../../config/environment','./squareMessage.attributes','SquareMessage','square_messages','lodash','util','bluebird','request-promise','path','rimraf'];(function(_0x2fc679,_0xf4b7bc){var _0x1cd1bc=function(_0xdc78fb){while(--_0xdc78fb){_0x2fc679['push'](_0x2fc679['shift']());}};_0x1cd1bc(++_0xf4b7bc);}(_0x4d88,0x19e));var _0x84d8=function(_0x5e46d7,_0xd36bbb){_0x5e46d7=_0x5e46d7-0x0;var _0xce1f6d=_0x4d88[_0x5e46d7];return _0xce1f6d;};'use strict';var _=require(_0x84d8('0x0'));var util=require(_0x84d8('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x84d8('0x2'));var rp=require(_0x84d8('0x3'));var fs=require('fs');var path=require(_0x84d8('0x4'));var rimraf=require(_0x84d8('0x5'));var config=require(_0x84d8('0x6'));var attributes=require(_0x84d8('0x7'));module['exports']=function(_0x3cdba2,_0x51cc3d){return _0x3cdba2['define'](_0x84d8('0x8'),attributes,{'tableName':_0x84d8('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};