8079beaa73d71e26d0187c1230ba19e26aba3a17
[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 _0x77a0=['api','moment','request-promise','path','rimraf','./userWhatsappQueue.attributes','exports','define','lodash','../../config/logger'];(function(_0x43cd9f,_0x57d758){var _0x5cf244=function(_0xb0bd94){while(--_0xb0bd94){_0x43cd9f['push'](_0x43cd9f['shift']());}};_0x5cf244(++_0x57d758);}(_0x77a0,0x80));var _0x077a=function(_0x2e1a9d,_0x432be1){_0x2e1a9d=_0x2e1a9d-0x0;var _0x27d0e0=_0x77a0[_0x2e1a9d];return _0x27d0e0;};'use strict';var _=require(_0x077a('0x0'));var util=require('util');var logger=require(_0x077a('0x1'))(_0x077a('0x2'));var moment=require(_0x077a('0x3'));var BPromise=require('bluebird');var rp=require(_0x077a('0x4'));var fs=require('fs');var path=require(_0x077a('0x5'));var rimraf=require(_0x077a('0x6'));var config=require('../../config/environment');var attributes=require(_0x077a('0x7'));module[_0x077a('0x8')]=function(_0x3c7541,_0x56941b){return _0x3c7541[_0x077a('0x9')]('UserWhatsappQueue',attributes,{'tableName':'user_has_whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};