Built motion from commit 3c2ce842.|2.6.31
[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 _0xdde6=['exports','whatsapp_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./whatsappQueue.attributes'];(function(_0x2606bd,_0x3148ea){var _0x1b6f75=function(_0x23f433){while(--_0x23f433){_0x2606bd['push'](_0x2606bd['shift']());}};_0x1b6f75(++_0x3148ea);}(_0xdde6,0x157));var _0x6dde=function(_0x49b4e6,_0x498295){_0x49b4e6=_0x49b4e6-0x0;var _0x47852b=_0xdde6[_0x49b4e6];return _0x47852b;};'use strict';var _=require(_0x6dde('0x0'));var util=require(_0x6dde('0x1'));var logger=require(_0x6dde('0x2'))('api');var moment=require(_0x6dde('0x3'));var BPromise=require(_0x6dde('0x4'));var rp=require(_0x6dde('0x5'));var fs=require('fs');var path=require(_0x6dde('0x6'));var rimraf=require('rimraf');var config=require(_0x6dde('0x7'));var attributes=require(_0x6dde('0x8'));module[_0x6dde('0x9')]=function(_0x5a33c3,_0x31ffed){return _0x5a33c3['define']('WhatsappQueue',attributes,{'tableName':_0x6dde('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};