Built motion from commit 64a6f4bc.|2.6.26
[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 _0xd085=['../../config/logger','moment','request-promise','rimraf','../../config/environment','./userWhatsappQueue.attributes','UserWhatsappQueue','user_has_whatsapp_queues','lodash','util'];(function(_0x1365e4,_0x10a5e5){var _0x18b586=function(_0xde079b){while(--_0xde079b){_0x1365e4['push'](_0x1365e4['shift']());}};_0x18b586(++_0x10a5e5);}(_0xd085,0x1a2));var _0x5d08=function(_0x4191af,_0x5783da){_0x4191af=_0x4191af-0x0;var _0x27bebf=_0xd085[_0x4191af];return _0x27bebf;};'use strict';var _=require(_0x5d08('0x0'));var util=require(_0x5d08('0x1'));var logger=require(_0x5d08('0x2'))('api');var moment=require(_0x5d08('0x3'));var BPromise=require('bluebird');var rp=require(_0x5d08('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5d08('0x5'));var config=require(_0x5d08('0x6'));var attributes=require(_0x5d08('0x7'));module['exports']=function(_0xa4d3c1,_0x34b080){return _0xa4d3c1['define'](_0x5d08('0x8'),attributes,{'tableName':_0x5d08('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};