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 _0x536e=['exports','define','WhatsappAccount','whatsapp_accounts','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./whatsappAccount.attributes'];(function(_0xfae23b,_0x2be4ba){var _0x200640=function(_0x4ae258){while(--_0x4ae258){_0xfae23b['push'](_0xfae23b['shift']());}};_0x200640(++_0x2be4ba);}(_0x536e,0x18a));var _0xe536=function(_0xad08b3,_0x2a3003){_0xad08b3=_0xad08b3-0x0;var _0xb6c9b6=_0x536e[_0xad08b3];return _0xb6c9b6;};'use strict';var _=require(_0xe536('0x0'));var util=require(_0xe536('0x1'));var logger=require(_0xe536('0x2'))('api');var moment=require(_0xe536('0x3'));var BPromise=require(_0xe536('0x4'));var rp=require(_0xe536('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe536('0x6'));var config=require(_0xe536('0x7'));var attributes=require(_0xe536('0x8'));module[_0xe536('0x9')]=function(_0x5a8d3d,_0x5d16c4){return _0x5a8d3d[_0xe536('0xa')](_0xe536('0xb'),attributes,{'tableName':_0xe536('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};