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 _0x6d3f=['util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./whatsappApplication.attributes','exports','define','whatsapp_applications','utf8mb4_unicode_ci'];(function(_0x4ea5d5,_0xd7478f){var _0x4df369=function(_0xd2e341){while(--_0xd2e341){_0x4ea5d5['push'](_0x4ea5d5['shift']());}};_0x4df369(++_0xd7478f);}(_0x6d3f,0x108));var _0xf6d3=function(_0x5bde97,_0x424971){_0x5bde97=_0x5bde97-0x0;var _0x20d044=_0x6d3f[_0x5bde97];return _0x20d044;};'use strict';var _=require('lodash');var util=require(_0xf6d3('0x0'));var logger=require(_0xf6d3('0x1'))('api');var moment=require(_0xf6d3('0x2'));var BPromise=require('bluebird');var rp=require(_0xf6d3('0x3'));var fs=require('fs');var path=require(_0xf6d3('0x4'));var rimraf=require(_0xf6d3('0x5'));var config=require(_0xf6d3('0x6'));var attributes=require(_0xf6d3('0x7'));module[_0xf6d3('0x8')]=function(_0xf1b242,_0x43439a){return _0xf1b242[_0xf6d3('0x9')]('WhatsappApplication',attributes,{'tableName':_0xf6d3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xf6d3('0xb')});};