1637a5fe1150f8b07d5d50cff79300320a5f9a37
[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 _0xb7b4=['api','moment','request-promise','path','rimraf','../../config/environment','./whatsappQueue.attributes','exports','define','WhatsappQueue','whatsapp_queues','lodash','../../config/logger'];(function(_0x36c87d,_0x2ab247){var _0x54dc55=function(_0x2b4112){while(--_0x2b4112){_0x36c87d['push'](_0x36c87d['shift']());}};_0x54dc55(++_0x2ab247);}(_0xb7b4,0x150));var _0x4b7b=function(_0x10971c,_0x4286dd){_0x10971c=_0x10971c-0x0;var _0x3e579f=_0xb7b4[_0x10971c];return _0x3e579f;};'use strict';var _=require(_0x4b7b('0x0'));var util=require('util');var logger=require(_0x4b7b('0x1'))(_0x4b7b('0x2'));var moment=require(_0x4b7b('0x3'));var BPromise=require('bluebird');var rp=require(_0x4b7b('0x4'));var fs=require('fs');var path=require(_0x4b7b('0x5'));var rimraf=require(_0x4b7b('0x6'));var config=require(_0x4b7b('0x7'));var attributes=require(_0x4b7b('0x8'));module[_0x4b7b('0x9')]=function(_0x38bbd9,_0x4b8df9){return _0x38bbd9[_0x4b7b('0xa')](_0x4b7b('0xb'),attributes,{'tableName':_0x4b7b('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};