Built motion from commit b0a9a629.|2.6.33
[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 _0x69ce=['../../config/environment','./userWhatsappQueue.attributes','define','UserWhatsappQueue','user_has_whatsapp_queues','lodash','util','api','moment','bluebird','request-promise','rimraf'];(function(_0x360276,_0x5abedd){var _0x2e6eb1=function(_0x16debf){while(--_0x16debf){_0x360276['push'](_0x360276['shift']());}};_0x2e6eb1(++_0x5abedd);}(_0x69ce,0x191));var _0xe69c=function(_0x209941,_0x5c9988){_0x209941=_0x209941-0x0;var _0x1e8729=_0x69ce[_0x209941];return _0x1e8729;};'use strict';var _=require(_0xe69c('0x0'));var util=require(_0xe69c('0x1'));var logger=require('../../config/logger')(_0xe69c('0x2'));var moment=require(_0xe69c('0x3'));var BPromise=require(_0xe69c('0x4'));var rp=require(_0xe69c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe69c('0x6'));var config=require(_0xe69c('0x7'));var attributes=require(_0xe69c('0x8'));module['exports']=function(_0x3e72c8,_0x50e812){return _0x3e72c8[_0xe69c('0x9')](_0xe69c('0xa'),attributes,{'tableName':_0xe69c('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};