a06d6b2001625327563c94ab35a62cd6ce183104
[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 _0x8ac9=['../../config/environment','./whatsappQueue.attributes','exports','WhatsappQueue','whatsapp_queues','lodash','moment','bluebird','request-promise','path','rimraf'];(function(_0x19652f,_0x2524fd){var _0x6faae1=function(_0x1e931b){while(--_0x1e931b){_0x19652f['push'](_0x19652f['shift']());}};_0x6faae1(++_0x2524fd);}(_0x8ac9,0x191));var _0x98ac=function(_0x12bf9b,_0x17fdd7){_0x12bf9b=_0x12bf9b-0x0;var _0x28256d=_0x8ac9[_0x12bf9b];return _0x28256d;};'use strict';var _=require(_0x98ac('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x98ac('0x1'));var BPromise=require(_0x98ac('0x2'));var rp=require(_0x98ac('0x3'));var fs=require('fs');var path=require(_0x98ac('0x4'));var rimraf=require(_0x98ac('0x5'));var config=require(_0x98ac('0x6'));var attributes=require(_0x98ac('0x7'));module[_0x98ac('0x8')]=function(_0x4d0cc1,_0x955a9e){return _0x4d0cc1['define'](_0x98ac('0x9'),attributes,{'tableName':_0x98ac('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};