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 _0x09b7=['moment','request-promise','path','rimraf','../../config/environment','define','SquareMessage','square_messages','lodash','../../config/logger'];(function(_0x3c9ff9,_0x3255a0){var _0x34a960=function(_0x36e310){while(--_0x36e310){_0x3c9ff9['push'](_0x3c9ff9['shift']());}};_0x34a960(++_0x3255a0);}(_0x09b7,0x1c0));var _0x709b=function(_0xa64da9,_0x549be6){_0xa64da9=_0xa64da9-0x0;var _0x2e5f3a=_0x09b7[_0xa64da9];return _0x2e5f3a;};'use strict';var _=require(_0x709b('0x0'));var util=require('util');var logger=require(_0x709b('0x1'))('api');var moment=require(_0x709b('0x2'));var BPromise=require('bluebird');var rp=require(_0x709b('0x3'));var fs=require('fs');var path=require(_0x709b('0x4'));var rimraf=require(_0x709b('0x5'));var config=require(_0x709b('0x6'));var attributes=require('./squareMessage.attributes');module['exports']=function(_0x13812c,_0x4dc2d2){return _0x13812c[_0x709b('0x7')](_0x709b('0x8'),attributes,{'tableName':_0x709b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};