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 _0xa40f=['./squareMessage.attributes','exports','SquareMessage','../../config/logger','moment','bluebird','request-promise','rimraf'];(function(_0x1443eb,_0x203408){var _0x2b8810=function(_0x48bc4e){while(--_0x48bc4e){_0x1443eb['push'](_0x1443eb['shift']());}};_0x2b8810(++_0x203408);}(_0xa40f,0x18b));var _0xfa40=function(_0x317af3,_0xaf1e9d){_0x317af3=_0x317af3-0x0;var _0x1dbfed=_0xa40f[_0x317af3];return _0x1dbfed;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xfa40('0x0'))('api');var moment=require(_0xfa40('0x1'));var BPromise=require(_0xfa40('0x2'));var rp=require(_0xfa40('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfa40('0x4'));var config=require('../../config/environment');var attributes=require(_0xfa40('0x5'));module[_0xfa40('0x6')]=function(_0x21b01c,_0xac6d9){return _0x21b01c['define'](_0xfa40('0x7'),attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};