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 _0xc6e3=['api','moment','request-promise','rimraf','../../config/environment','./squareMessage.attributes','exports','define','square_messages','lodash','util','../../config/logger'];(function(_0x4ab99,_0x219ed2){var _0x29e39c=function(_0x2dd986){while(--_0x2dd986){_0x4ab99['push'](_0x4ab99['shift']());}};_0x29e39c(++_0x219ed2);}(_0xc6e3,0x195));var _0x3c6e=function(_0x533733,_0x4a1b62){_0x533733=_0x533733-0x0;var _0x126b48=_0xc6e3[_0x533733];return _0x126b48;};'use strict';var _=require(_0x3c6e('0x0'));var util=require(_0x3c6e('0x1'));var logger=require(_0x3c6e('0x2'))(_0x3c6e('0x3'));var moment=require(_0x3c6e('0x4'));var BPromise=require('bluebird');var rp=require(_0x3c6e('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3c6e('0x6'));var config=require(_0x3c6e('0x7'));var attributes=require(_0x3c6e('0x8'));module[_0x3c6e('0x9')]=function(_0xa931de,_0x63df86){return _0xa931de[_0x3c6e('0xa')]('SquareMessage',attributes,{'tableName':_0x3c6e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};