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 _0xbdeb=['path','../../config/environment','define','SquareMessage','lodash','util','../../config/logger','api','bluebird','request-promise'];(function(_0x50cd41,_0x4874a7){var _0x399475=function(_0x1946da){while(--_0x1946da){_0x50cd41['push'](_0x50cd41['shift']());}};_0x399475(++_0x4874a7);}(_0xbdeb,0x194));var _0xbbde=function(_0x422361,_0x67879e){_0x422361=_0x422361-0x0;var _0x113124=_0xbdeb[_0x422361];return _0x113124;};'use strict';var _=require(_0xbbde('0x0'));var util=require(_0xbbde('0x1'));var logger=require(_0xbbde('0x2'))(_0xbbde('0x3'));var moment=require('moment');var BPromise=require(_0xbbde('0x4'));var rp=require(_0xbbde('0x5'));var fs=require('fs');var path=require(_0xbbde('0x6'));var rimraf=require('rimraf');var config=require(_0xbbde('0x7'));var attributes=require('./squareMessage.attributes');module['exports']=function(_0x3fd827,_0xcec023){return _0x3fd827[_0xbbde('0x8')](_0xbbde('0x9'),attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};