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 _0x1ab0=['request-promise','path','rimraf','define','whatsapp_accounts','lodash','util','../../config/logger','moment'];(function(_0x5f4f34,_0x45345b){var _0x30311b=function(_0x1c08c0){while(--_0x1c08c0){_0x5f4f34['push'](_0x5f4f34['shift']());}};_0x30311b(++_0x45345b);}(_0x1ab0,0x1eb));var _0x01ab=function(_0x1b76cf,_0x526b7b){_0x1b76cf=_0x1b76cf-0x0;var _0x1b448b=_0x1ab0[_0x1b76cf];return _0x1b448b;};'use strict';var _=require(_0x01ab('0x0'));var util=require(_0x01ab('0x1'));var logger=require(_0x01ab('0x2'))('api');var moment=require(_0x01ab('0x3'));var BPromise=require('bluebird');var rp=require(_0x01ab('0x4'));var fs=require('fs');var path=require(_0x01ab('0x5'));var rimraf=require(_0x01ab('0x6'));var config=require('../../config/environment');var attributes=require('./whatsappAccount.attributes');module['exports']=function(_0x18220e,_0x77bb40){return _0x18220e[_0x01ab('0x7')]('WhatsappAccount',attributes,{'tableName':_0x01ab('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};