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 _0x65ec=['util','api','bluebird','request-promise','rimraf','exports','define','lodash'];(function(_0x2f71f6,_0x3a1f4d){var _0x2b23ea=function(_0x285980){while(--_0x285980){_0x2f71f6['push'](_0x2f71f6['shift']());}};_0x2b23ea(++_0x3a1f4d);}(_0x65ec,0x1ef));var _0xc65e=function(_0x2ad18f,_0x396fc7){_0x2ad18f=_0x2ad18f-0x0;var _0x249390=_0x65ec[_0x2ad18f];return _0x249390;};'use strict';var _=require(_0xc65e('0x0'));var util=require(_0xc65e('0x1'));var logger=require('../../config/logger')(_0xc65e('0x2'));var moment=require('moment');var BPromise=require(_0xc65e('0x3'));var rp=require(_0xc65e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc65e('0x5'));var config=require('../../config/environment');var attributes=require('./squareMessage.attributes');module[_0xc65e('0x6')]=function(_0x177a87,_0x22d5b3){return _0x177a87[_0xc65e('0x7')]('SquareMessage',attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};