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 _0x366e=['bluebird','request-promise','path','rimraf','./squareMessage.attributes','SquareMessage','lodash','util','api','moment'];(function(_0x310b81,_0x14c079){var _0x5a3258=function(_0x3f7ec4){while(--_0x3f7ec4){_0x310b81['push'](_0x310b81['shift']());}};_0x5a3258(++_0x14c079);}(_0x366e,0xd8));var _0xe366=function(_0xcc2fce,_0x24b95e){_0xcc2fce=_0xcc2fce-0x0;var _0x287b9a=_0x366e[_0xcc2fce];return _0x287b9a;};'use strict';var _=require(_0xe366('0x0'));var util=require(_0xe366('0x1'));var logger=require('../../config/logger')(_0xe366('0x2'));var moment=require(_0xe366('0x3'));var BPromise=require(_0xe366('0x4'));var rp=require(_0xe366('0x5'));var fs=require('fs');var path=require(_0xe366('0x6'));var rimraf=require(_0xe366('0x7'));var config=require('../../config/environment');var attributes=require(_0xe366('0x8'));module['exports']=function(_0x196e71,_0x19e211){return _0x196e71['define'](_0xe366('0x9'),attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};