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 _0xe97c=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','whatsapp_applications','util'];(function(_0x27fe26,_0x3b8ca7){var _0x4fcb35=function(_0x35e0ae){while(--_0x35e0ae){_0x27fe26['push'](_0x27fe26['shift']());}};_0x4fcb35(++_0x3b8ca7);}(_0xe97c,0x8f));var _0xce97=function(_0x300968,_0x28ef05){_0x300968=_0x300968-0x0;var _0xe2620c=_0xe97c[_0x300968];return _0xe2620c;};'use strict';var _=require('lodash');var util=require(_0xce97('0x0'));var logger=require(_0xce97('0x1'))(_0xce97('0x2'));var moment=require(_0xce97('0x3'));var BPromise=require(_0xce97('0x4'));var rp=require(_0xce97('0x5'));var fs=require('fs');var path=require(_0xce97('0x6'));var rimraf=require(_0xce97('0x7'));var config=require(_0xce97('0x8'));var attributes=require('./whatsappApplication.attributes');module[_0xce97('0x9')]=function(_0x27bd82,_0x2f7d78){return _0x27bd82[_0xce97('0xa')]('WhatsappApplication',attributes,{'tableName':_0xce97('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};