Built motion from commit e6806ed6.|2.6.0
[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 _0x902e=['api','moment','request-promise','path','./userWhatsappQueue.attributes','exports','define','UserWhatsappQueue','lodash'];(function(_0x4f7958,_0x2067c1){var _0x99808d=function(_0x53a7e1){while(--_0x53a7e1){_0x4f7958['push'](_0x4f7958['shift']());}};_0x99808d(++_0x2067c1);}(_0x902e,0x98));var _0xe902=function(_0x1be3de,_0x4ab0c3){_0x1be3de=_0x1be3de-0x0;var _0x13f133=_0x902e[_0x1be3de];return _0x13f133;};'use strict';var _=require(_0xe902('0x0'));var util=require('util');var logger=require('../../config/logger')(_0xe902('0x1'));var moment=require(_0xe902('0x2'));var BPromise=require('bluebird');var rp=require(_0xe902('0x3'));var fs=require('fs');var path=require(_0xe902('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xe902('0x5'));module[_0xe902('0x6')]=function(_0x31d64a,_0x43d774){return _0x31d64a[_0xe902('0x7')](_0xe902('0x8'),attributes,{'tableName':'user_has_whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};