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 _0x5379=['square_messages','lodash','moment','bluebird','request-promise','path','rimraf','../../config/environment','./squareMessage.attributes','exports','define','SquareMessage'];(function(_0x5c17d8,_0x51cc20){var _0x1841de=function(_0x128311){while(--_0x128311){_0x5c17d8['push'](_0x5c17d8['shift']());}};_0x1841de(++_0x51cc20);}(_0x5379,0x85));var _0x9537=function(_0x5809f9,_0x1159ec){_0x5809f9=_0x5809f9-0x0;var _0x2f562a=_0x5379[_0x5809f9];return _0x2f562a;};'use strict';var _=require(_0x9537('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x9537('0x1'));var BPromise=require(_0x9537('0x2'));var rp=require(_0x9537('0x3'));var fs=require('fs');var path=require(_0x9537('0x4'));var rimraf=require(_0x9537('0x5'));var config=require(_0x9537('0x6'));var attributes=require(_0x9537('0x7'));module[_0x9537('0x8')]=function(_0x7a3337,_0x24fc44){return _0x7a3337[_0x9537('0x9')](_0x9537('0xa'),attributes,{'tableName':_0x9537('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};