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 _0x577a=['whatsapp_accounts','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./whatsappAccount.attributes','exports','WhatsappAccount'];(function(_0x33c618,_0xa8cec4){var _0x2e97e3=function(_0x3ccb98){while(--_0x3ccb98){_0x33c618['push'](_0x33c618['shift']());}};_0x2e97e3(++_0xa8cec4);}(_0x577a,0x1e5));var _0xa577=function(_0x36ed48,_0x1ee0d4){_0x36ed48=_0x36ed48-0x0;var _0x51c63a=_0x577a[_0x36ed48];return _0x51c63a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xa577('0x0'))(_0xa577('0x1'));var moment=require(_0xa577('0x2'));var BPromise=require(_0xa577('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa577('0x4'));var rimraf=require(_0xa577('0x5'));var config=require(_0xa577('0x6'));var attributes=require(_0xa577('0x7'));module[_0xa577('0x8')]=function(_0x5d6ffb,_0x58066c){return _0x5d6ffb['define'](_0xa577('0x9'),attributes,{'tableName':_0xa577('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};