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 _0x635f=['WhatsappAccount','whatsapp_accounts','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','exports','define'];(function(_0x17cde1,_0x454ce4){var _0x218678=function(_0x1fdca4){while(--_0x1fdca4){_0x17cde1['push'](_0x17cde1['shift']());}};_0x218678(++_0x454ce4);}(_0x635f,0x86));var _0xf635=function(_0x27a803,_0x40ee45){_0x27a803=_0x27a803-0x0;var _0x35cc1c=_0x635f[_0x27a803];return _0x35cc1c;};'use strict';var _=require(_0xf635('0x0'));var util=require(_0xf635('0x1'));var logger=require(_0xf635('0x2'))(_0xf635('0x3'));var moment=require('moment');var BPromise=require(_0xf635('0x4'));var rp=require(_0xf635('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf635('0x6'));var config=require(_0xf635('0x7'));var attributes=require('./whatsappAccount.attributes');module[_0xf635('0x8')]=function(_0x39a1d9,_0x143561){return _0x39a1d9[_0xf635('0x9')](_0xf635('0xa'),attributes,{'tableName':_0xf635('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};