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 _0x6669=['moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','SquareMessage','lodash','util','../../config/logger','api'];(function(_0x3e4845,_0x17da6c){var _0x2a2dfc=function(_0x3b067a){while(--_0x3b067a){_0x3e4845['push'](_0x3e4845['shift']());}};_0x2a2dfc(++_0x17da6c);}(_0x6669,0x8b));var _0x9666=function(_0x45d55e,_0x2fede3){_0x45d55e=_0x45d55e-0x0;var _0x29812a=_0x6669[_0x45d55e];return _0x29812a;};'use strict';var _=require(_0x9666('0x0'));var util=require(_0x9666('0x1'));var logger=require(_0x9666('0x2'))(_0x9666('0x3'));var moment=require(_0x9666('0x4'));var BPromise=require(_0x9666('0x5'));var rp=require(_0x9666('0x6'));var fs=require('fs');var path=require(_0x9666('0x7'));var rimraf=require(_0x9666('0x8'));var config=require(_0x9666('0x9'));var attributes=require('./squareMessage.attributes');module[_0x9666('0xa')]=function(_0x15197c,_0x4daa6a){return _0x15197c[_0x9666('0xb')](_0x9666('0xc'),attributes,{'tableName':'square_messages','paranoid':![],'indexes':[],'timestamps':!![]});};