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 _0x18e9=['moment','request-promise','path','rimraf','../../config/environment','exports','define','WhatsappAccount','lodash','../../config/logger','api'];(function(_0xa3699f,_0x1d3aeb){var _0x4e8749=function(_0x1ee70f){while(--_0x1ee70f){_0xa3699f['push'](_0xa3699f['shift']());}};_0x4e8749(++_0x1d3aeb);}(_0x18e9,0x13c));var _0x918e=function(_0x5d07ff,_0x1f976f){_0x5d07ff=_0x5d07ff-0x0;var _0x5226ad=_0x18e9[_0x5d07ff];return _0x5226ad;};'use strict';var _=require(_0x918e('0x0'));var util=require('util');var logger=require(_0x918e('0x1'))(_0x918e('0x2'));var moment=require(_0x918e('0x3'));var BPromise=require('bluebird');var rp=require(_0x918e('0x4'));var fs=require('fs');var path=require(_0x918e('0x5'));var rimraf=require(_0x918e('0x6'));var config=require(_0x918e('0x7'));var attributes=require('./whatsappAccount.attributes');module[_0x918e('0x8')]=function(_0x10b2f3,_0x2b8666){return _0x10b2f3[_0x918e('0x9')](_0x918e('0xa'),attributes,{'tableName':'whatsapp_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};