Built motion from commit 994c64e1.|2.6.1
[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 _0x16e5=['bluebird','request-promise','path','rimraf','./whatsappQueue.attributes','define','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','api','moment'];(function(_0x4fbe43,_0x37d41d){var _0x186862=function(_0x613163){while(--_0x613163){_0x4fbe43['push'](_0x4fbe43['shift']());}};_0x186862(++_0x37d41d);}(_0x16e5,0x19b));var _0x516e=function(_0x24237f,_0x4cf32c){_0x24237f=_0x24237f-0x0;var _0x48298e=_0x16e5[_0x24237f];return _0x48298e;};'use strict';var _=require(_0x516e('0x0'));var util=require(_0x516e('0x1'));var logger=require(_0x516e('0x2'))(_0x516e('0x3'));var moment=require(_0x516e('0x4'));var BPromise=require(_0x516e('0x5'));var rp=require(_0x516e('0x6'));var fs=require('fs');var path=require(_0x516e('0x7'));var rimraf=require(_0x516e('0x8'));var config=require('../../config/environment');var attributes=require(_0x516e('0x9'));module['exports']=function(_0x1c4513,_0x4944f8){return _0x1c4513[_0x516e('0xa')](_0x516e('0xb'),attributes,{'tableName':_0x516e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};