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 _0xab33=['bluebird','request-promise','path','rimraf','../../config/environment','./squareMessage.attributes','exports','square_messages','util','api','moment'];(function(_0xc18afe,_0x2e94a0){var _0x1b6c13=function(_0x7d87b5){while(--_0x7d87b5){_0xc18afe['push'](_0xc18afe['shift']());}};_0x1b6c13(++_0x2e94a0);}(_0xab33,0x8c));var _0x3ab3=function(_0x61f043,_0x596bbf){_0x61f043=_0x61f043-0x0;var _0x2685f5=_0xab33[_0x61f043];return _0x2685f5;};'use strict';var _=require('lodash');var util=require(_0x3ab3('0x0'));var logger=require('../../config/logger')(_0x3ab3('0x1'));var moment=require(_0x3ab3('0x2'));var BPromise=require(_0x3ab3('0x3'));var rp=require(_0x3ab3('0x4'));var fs=require('fs');var path=require(_0x3ab3('0x5'));var rimraf=require(_0x3ab3('0x6'));var config=require(_0x3ab3('0x7'));var attributes=require(_0x3ab3('0x8'));module[_0x3ab3('0x9')]=function(_0x19839b,_0x23906a){return _0x19839b['define']('SquareMessage',attributes,{'tableName':_0x3ab3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};