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 _0x85a4=['lodash','util','../../config/logger','request-promise','path','rimraf','../../config/environment','./squareMessage.attributes','exports','SquareMessage','square_messages'];(function(_0x45d55e,_0x2fede3){var _0x29812a=function(_0x3c6830){while(--_0x3c6830){_0x45d55e['push'](_0x45d55e['shift']());}};_0x29812a(++_0x2fede3);}(_0x85a4,0x1ef));var _0x485a=function(_0x54bf26,_0x4d097a){_0x54bf26=_0x54bf26-0x0;var _0xa865b5=_0x85a4[_0x54bf26];return _0xa865b5;};'use strict';var _=require(_0x485a('0x0'));var util=require(_0x485a('0x1'));var logger=require(_0x485a('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x485a('0x3'));var fs=require('fs');var path=require(_0x485a('0x4'));var rimraf=require(_0x485a('0x5'));var config=require(_0x485a('0x6'));var attributes=require(_0x485a('0x7'));module[_0x485a('0x8')]=function(_0x50501d,_0x321fe6){return _0x50501d['define'](_0x485a('0x9'),attributes,{'tableName':_0x485a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};