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 _0x9a22=['exports','define','SquareMessage','square_messages','lodash','util','../../config/logger','moment','path','rimraf','../../config/environment','./squareMessage.attributes'];(function(_0x29a0fc,_0x1284db){var _0x368d1b=function(_0xc5bc15){while(--_0xc5bc15){_0x29a0fc['push'](_0x29a0fc['shift']());}};_0x368d1b(++_0x1284db);}(_0x9a22,0x118));var _0x29a2=function(_0x4b7b62,_0x4920a9){_0x4b7b62=_0x4b7b62-0x0;var _0x2280df=_0x9a22[_0x4b7b62];return _0x2280df;};'use strict';var _=require(_0x29a2('0x0'));var util=require(_0x29a2('0x1'));var logger=require(_0x29a2('0x2'))('api');var moment=require(_0x29a2('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x29a2('0x4'));var rimraf=require(_0x29a2('0x5'));var config=require(_0x29a2('0x6'));var attributes=require(_0x29a2('0x7'));module[_0x29a2('0x8')]=function(_0x8a8767,_0xc83458){return _0x8a8767[_0x29a2('0x9')](_0x29a2('0xa'),attributes,{'tableName':_0x29a2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};