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 _0x70ac=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','SquareMessage','square_messages','lodash','../../config/logger'];(function(_0x96f74c,_0xfc30a4){var _0x379222=function(_0x1bbde9){while(--_0x1bbde9){_0x96f74c['push'](_0x96f74c['shift']());}};_0x379222(++_0xfc30a4);}(_0x70ac,0x1de));var _0xc70a=function(_0x55f8b4,_0x43f30d){_0x55f8b4=_0x55f8b4-0x0;var _0x2475f9=_0x70ac[_0x55f8b4];return _0x2475f9;};'use strict';var _=require(_0xc70a('0x0'));var util=require('util');var logger=require(_0xc70a('0x1'))('api');var moment=require(_0xc70a('0x2'));var BPromise=require(_0xc70a('0x3'));var rp=require(_0xc70a('0x4'));var fs=require('fs');var path=require(_0xc70a('0x5'));var rimraf=require(_0xc70a('0x6'));var config=require(_0xc70a('0x7'));var attributes=require('./squareMessage.attributes');module[_0xc70a('0x8')]=function(_0x169329,_0x36e1f8){return _0x169329[_0xc70a('0x9')](_0xc70a('0xa'),attributes,{'tableName':_0xc70a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};