Built motion from commit (unavailable).|2.5.3
[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 _0x38df=['bluebird','request-promise','path','rimraf','./whatsappQueue.attributes','exports','WhatsappQueue','lodash','util','../../config/logger','api'];(function(_0x2d48b0,_0x124495){var _0x3a2595=function(_0x1d5532){while(--_0x1d5532){_0x2d48b0['push'](_0x2d48b0['shift']());}};_0x3a2595(++_0x124495);}(_0x38df,0x19e));var _0xf38d=function(_0x3ba924,_0x3b99f0){_0x3ba924=_0x3ba924-0x0;var _0x4cc1df=_0x38df[_0x3ba924];return _0x4cc1df;};'use strict';var _=require(_0xf38d('0x0'));var util=require(_0xf38d('0x1'));var logger=require(_0xf38d('0x2'))(_0xf38d('0x3'));var moment=require('moment');var BPromise=require(_0xf38d('0x4'));var rp=require(_0xf38d('0x5'));var fs=require('fs');var path=require(_0xf38d('0x6'));var rimraf=require(_0xf38d('0x7'));var config=require('../../config/environment');var attributes=require(_0xf38d('0x8'));module[_0xf38d('0x9')]=function(_0xe54b9c,_0x2a3d54){return _0xe54b9c['define'](_0xf38d('0xa'),attributes,{'tableName':'whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};