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 _0xcf6d=['request-promise','../../config/environment','define','SquareMessage','square_messages','lodash','util','api','moment'];(function(_0x33e154,_0x4fdf62){var _0x178c93=function(_0x55be29){while(--_0x55be29){_0x33e154['push'](_0x33e154['shift']());}};_0x178c93(++_0x4fdf62);}(_0xcf6d,0x10a));var _0xdcf6=function(_0xeb3078,_0x4064fe){_0xeb3078=_0xeb3078-0x0;var _0x2052e4=_0xcf6d[_0xeb3078];return _0x2052e4;};'use strict';var _=require(_0xdcf6('0x0'));var util=require(_0xdcf6('0x1'));var logger=require('../../config/logger')(_0xdcf6('0x2'));var moment=require(_0xdcf6('0x3'));var BPromise=require('bluebird');var rp=require(_0xdcf6('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xdcf6('0x5'));var attributes=require('./squareMessage.attributes');module['exports']=function(_0x5522ee,_0x1fadd9){return _0x5522ee[_0xdcf6('0x6')](_0xdcf6('0x7'),attributes,{'tableName':_0xdcf6('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};