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 _0x1a83=['bluebird','request-promise','path','rimraf','./squareMessage.attributes','exports','define','SquareMessage','square_messages','lodash','../../config/logger','api','moment'];(function(_0xe6f4ef,_0x4e34cc){var _0x4f3447=function(_0x1538ff){while(--_0x1538ff){_0xe6f4ef['push'](_0xe6f4ef['shift']());}};_0x4f3447(++_0x4e34cc);}(_0x1a83,0x1c3));var _0x31a8=function(_0x4b792b,_0x57289f){_0x4b792b=_0x4b792b-0x0;var _0x5a33c1=_0x1a83[_0x4b792b];return _0x5a33c1;};'use strict';var _=require(_0x31a8('0x0'));var util=require('util');var logger=require(_0x31a8('0x1'))(_0x31a8('0x2'));var moment=require(_0x31a8('0x3'));var BPromise=require(_0x31a8('0x4'));var rp=require(_0x31a8('0x5'));var fs=require('fs');var path=require(_0x31a8('0x6'));var rimraf=require(_0x31a8('0x7'));var config=require('../../config/environment');var attributes=require(_0x31a8('0x8'));module[_0x31a8('0x9')]=function(_0x172645,_0x34ba01){return _0x172645[_0x31a8('0xa')](_0x31a8('0xb'),attributes,{'tableName':_0x31a8('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};