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 _0x4c75=['../../config/environment','./whatsappAccount.attributes','exports','define','WhatsappAccount','whatsapp_accounts','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x24c6ed,_0x18a00d){var _0x4a7fd6=function(_0x1ca0cc){while(--_0x1ca0cc){_0x24c6ed['push'](_0x24c6ed['shift']());}};_0x4a7fd6(++_0x18a00d);}(_0x4c75,0x19c));var _0x54c7=function(_0x53efa4,_0x1e673b){_0x53efa4=_0x53efa4-0x0;var _0x276274=_0x4c75[_0x53efa4];return _0x276274;};'use strict';var _=require(_0x54c7('0x0'));var util=require(_0x54c7('0x1'));var logger=require(_0x54c7('0x2'))('api');var moment=require(_0x54c7('0x3'));var BPromise=require(_0x54c7('0x4'));var rp=require(_0x54c7('0x5'));var fs=require('fs');var path=require(_0x54c7('0x6'));var rimraf=require(_0x54c7('0x7'));var config=require(_0x54c7('0x8'));var attributes=require(_0x54c7('0x9'));module[_0x54c7('0xa')]=function(_0x4513ea,_0xf4a632){return _0x4513ea[_0x54c7('0xb')](_0x54c7('0xc'),attributes,{'tableName':_0x54c7('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};