Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / userWhatsappQueue / userWhatsappQueue.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 _0x6f8a=['user_has_whatsapp_queues','lodash','../../config/logger','api','moment','path','rimraf','./userWhatsappQueue.attributes','exports','define','UserWhatsappQueue'];(function(_0x106ae5,_0x42fe77){var _0x3c68d8=function(_0x1e91ae){while(--_0x1e91ae){_0x106ae5['push'](_0x106ae5['shift']());}};_0x3c68d8(++_0x42fe77);}(_0x6f8a,0x109));var _0xa6f8=function(_0x40afbd,_0x37f47a){_0x40afbd=_0x40afbd-0x0;var _0x21b2ed=_0x6f8a[_0x40afbd];return _0x21b2ed;};'use strict';var _=require(_0xa6f8('0x0'));var util=require('util');var logger=require(_0xa6f8('0x1'))(_0xa6f8('0x2'));var moment=require(_0xa6f8('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xa6f8('0x4'));var rimraf=require(_0xa6f8('0x5'));var config=require('../../config/environment');var attributes=require(_0xa6f8('0x6'));module[_0xa6f8('0x7')]=function(_0x4fe464,_0x53a23d){return _0x4fe464[_0xa6f8('0x8')](_0xa6f8('0x9'),attributes,{'tableName':_0xa6f8('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};