Built motion from commit 8271bb6f.|2.6.28
[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 _0x89f2=['util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','define','lodash'];(function(_0x375325,_0x57a850){var _0x228f57=function(_0x2ad744){while(--_0x2ad744){_0x375325['push'](_0x375325['shift']());}};_0x228f57(++_0x57a850);}(_0x89f2,0x81));var _0x289f=function(_0x1abb09,_0x18ee91){_0x1abb09=_0x1abb09-0x0;var _0xea1c07=_0x89f2[_0x1abb09];return _0xea1c07;};'use strict';var _=require(_0x289f('0x0'));var util=require(_0x289f('0x1'));var logger=require(_0x289f('0x2'))(_0x289f('0x3'));var moment=require(_0x289f('0x4'));var BPromise=require(_0x289f('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x289f('0x6'));var rimraf=require(_0x289f('0x7'));var config=require(_0x289f('0x8'));var attributes=require('./userWhatsappQueue.attributes');module['exports']=function(_0x32f915,_0x19f109){return _0x32f915[_0x289f('0x9')]('UserWhatsappQueue',attributes,{'tableName':'user_has_whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};