Built motion from commit (unavailable).|2.5.20
[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 _0x5e63=['../../config/environment','define','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','api','moment','path','rimraf'];(function(_0xa6a92f,_0x43df3b){var _0x3f6938=function(_0x1427fe){while(--_0x1427fe){_0xa6a92f['push'](_0xa6a92f['shift']());}};_0x3f6938(++_0x43df3b);}(_0x5e63,0x10c));var _0x35e6=function(_0x2c7615,_0x184b38){_0x2c7615=_0x2c7615-0x0;var _0x5a4a45=_0x5e63[_0x2c7615];return _0x5a4a45;};'use strict';var _=require(_0x35e6('0x0'));var util=require(_0x35e6('0x1'));var logger=require(_0x35e6('0x2'))(_0x35e6('0x3'));var moment=require(_0x35e6('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x35e6('0x5'));var rimraf=require(_0x35e6('0x6'));var config=require(_0x35e6('0x7'));var attributes=require('./whatsappQueue.attributes');module['exports']=function(_0x58789b,_0x5bab16){return _0x58789b[_0x35e6('0x8')](_0x35e6('0x9'),attributes,{'tableName':_0x35e6('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};