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 _0x1db6=['../../config/environment','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x49518a,_0x219d60){var _0x250c06=function(_0x39e0c4){while(--_0x39e0c4){_0x49518a['push'](_0x49518a['shift']());}};_0x250c06(++_0x219d60);}(_0x1db6,0x18f));var _0x61db=function(_0x1d5310,_0x145a3b){_0x1d5310=_0x1d5310-0x0;var _0x567deb=_0x1db6[_0x1d5310];return _0x567deb;};'use strict';var _=require(_0x61db('0x0'));var util=require(_0x61db('0x1'));var logger=require(_0x61db('0x2'))(_0x61db('0x3'));var moment=require(_0x61db('0x4'));var BPromise=require(_0x61db('0x5'));var rp=require(_0x61db('0x6'));var fs=require('fs');var path=require(_0x61db('0x7'));var rimraf=require(_0x61db('0x8'));var config=require(_0x61db('0x9'));var attributes=require('./whatsappQueue.attributes');module['exports']=function(_0x47d14c,_0x1d97b7){return _0x47d14c['define'](_0x61db('0xa'),attributes,{'tableName':_0x61db('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};