Built motion from commit ae138b72.|2.6.28
[motion2.git] / server / api / whatsappQueue / whatsappQueue.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 _0xf319=['request-promise','path','../../config/environment','./whatsappQueue.attributes','exports','define','WhatsappQueue','whatsapp_queues','lodash','util','api','moment','bluebird'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0xf319,0x126));var _0x9f31=function(_0x579f4e,_0x28a2c8){_0x579f4e=_0x579f4e-0x0;var _0x5efd59=_0xf319[_0x579f4e];return _0x5efd59;};'use strict';var _=require(_0x9f31('0x0'));var util=require(_0x9f31('0x1'));var logger=require('../../config/logger')(_0x9f31('0x2'));var moment=require(_0x9f31('0x3'));var BPromise=require(_0x9f31('0x4'));var rp=require(_0x9f31('0x5'));var fs=require('fs');var path=require(_0x9f31('0x6'));var rimraf=require('rimraf');var config=require(_0x9f31('0x7'));var attributes=require(_0x9f31('0x8'));module[_0x9f31('0x9')]=function(_0xcf4a9b,_0x39623c){return _0xcf4a9b[_0x9f31('0xa')](_0x9f31('0xb'),attributes,{'tableName':_0x9f31('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};