Built motion from commit (unavailable).|2.5.4
[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 _0x9c94=['lodash','util','api','moment','bluebird','request-promise','path','../../config/environment','./userWhatsappQueue.attributes','exports','define','UserWhatsappQueue','user_has_whatsapp_queues'];(function(_0x126fb9,_0x122c59){var _0xc8a3b1=function(_0x355744){while(--_0x355744){_0x126fb9['push'](_0x126fb9['shift']());}};_0xc8a3b1(++_0x122c59);}(_0x9c94,0x152));var _0x49c9=function(_0x4e9d3c,_0x1f4b98){_0x4e9d3c=_0x4e9d3c-0x0;var _0x2d0825=_0x9c94[_0x4e9d3c];return _0x2d0825;};'use strict';var _=require(_0x49c9('0x0'));var util=require(_0x49c9('0x1'));var logger=require('../../config/logger')(_0x49c9('0x2'));var moment=require(_0x49c9('0x3'));var BPromise=require(_0x49c9('0x4'));var rp=require(_0x49c9('0x5'));var fs=require('fs');var path=require(_0x49c9('0x6'));var rimraf=require('rimraf');var config=require(_0x49c9('0x7'));var attributes=require(_0x49c9('0x8'));module[_0x49c9('0x9')]=function(_0x586888,_0x2b9863){return _0x586888[_0x49c9('0xa')](_0x49c9('0xb'),attributes,{'tableName':_0x49c9('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};