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 _0x050e=['define','WhatsappAccount','lodash','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','./whatsappAccount.attributes','exports'];(function(_0x470f63,_0x48d80b){var _0x4f09e2=function(_0x3aa3a4){while(--_0x3aa3a4){_0x470f63['push'](_0x470f63['shift']());}};_0x4f09e2(++_0x48d80b);}(_0x050e,0xaa));var _0xe050=function(_0x100dab,_0x566447){_0x100dab=_0x100dab-0x0;var _0x3572e4=_0x050e[_0x100dab];return _0x3572e4;};'use strict';var _=require(_0xe050('0x0'));var util=require(_0xe050('0x1'));var logger=require(_0xe050('0x2'))('api');var moment=require(_0xe050('0x3'));var BPromise=require(_0xe050('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe050('0x5'));var rimraf=require(_0xe050('0x6'));var config=require(_0xe050('0x7'));var attributes=require(_0xe050('0x8'));module[_0xe050('0x9')]=function(_0x1fbc3a,_0x1f383a){return _0x1fbc3a[_0xe050('0xa')](_0xe050('0xb'),attributes,{'tableName':'whatsapp_accounts','paranoid':![],'indexes':[],'timestamps':!![]});};