164bb8a9f1a70dafcadfca1f17b510d2edab8879
[motion2.git] / server / api / whatsappQueue / whatsappQueue.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xde16=['./whatsappQueue.attributes','exports','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x49fb1c,_0x113891){var _0x36cc02=function(_0x308d72){while(--_0x308d72){_0x49fb1c['push'](_0x49fb1c['shift']());}};_0x36cc02(++_0x113891);}(_0xde16,0x13c));var _0x6de1=function(_0x4ddf3e,_0x376b4a){_0x4ddf3e=_0x4ddf3e-0x0;var _0x48b9eb=_0xde16[_0x4ddf3e];return _0x48b9eb;};'use strict';var _=require(_0x6de1('0x0'));var util=require(_0x6de1('0x1'));var logger=require(_0x6de1('0x2'))(_0x6de1('0x3'));var moment=require(_0x6de1('0x4'));var BPromise=require(_0x6de1('0x5'));var rp=require(_0x6de1('0x6'));var fs=require('fs');var path=require(_0x6de1('0x7'));var rimraf=require(_0x6de1('0x8'));var config=require('../../config/environment');var attributes=require(_0x6de1('0x9'));module[_0x6de1('0xa')]=function(_0x534440,_0x5d90c0){return _0x534440['define'](_0x6de1('0xb'),attributes,{'tableName':_0x6de1('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};