Built motion from commit 85328c08.|2.5.50
[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 _0x173d=['api','moment','bluebird','path','rimraf','../../config/environment','define','WhatsappQueue','lodash'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x173d,0xf2));var _0xd173=function(_0x6636f0,_0x11cb9e){_0x6636f0=_0x6636f0-0x0;var _0x21e2b3=_0x173d[_0x6636f0];return _0x21e2b3;};'use strict';var _=require(_0xd173('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xd173('0x1'));var moment=require(_0xd173('0x2'));var BPromise=require(_0xd173('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd173('0x4'));var rimraf=require(_0xd173('0x5'));var config=require(_0xd173('0x6'));var attributes=require('./whatsappQueue.attributes');module['exports']=function(_0x526b1c,_0x318b55){return _0x526b1c[_0xd173('0x7')](_0xd173('0x8'),attributes,{'tableName':'whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};