Built motion from commit f74363e9.|2.6.34
[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 _0xcf99=['whatsapp_queues','lodash','util','../../config/logger','moment','path','rimraf','../../config/environment','./whatsappQueue.attributes','exports','define','WhatsappQueue'];(function(_0x46aff0,_0x122890){var _0x9d78cf=function(_0x3f14cb){while(--_0x3f14cb){_0x46aff0['push'](_0x46aff0['shift']());}};_0x9d78cf(++_0x122890);}(_0xcf99,0x9d));var _0x9cf9=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xcf99[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x9cf9('0x0'));var util=require(_0x9cf9('0x1'));var logger=require(_0x9cf9('0x2'))('api');var moment=require(_0x9cf9('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x9cf9('0x4'));var rimraf=require(_0x9cf9('0x5'));var config=require(_0x9cf9('0x6'));var attributes=require(_0x9cf9('0x7'));module[_0x9cf9('0x8')]=function(_0x2af79b,_0x505922){return _0x2af79b[_0x9cf9('0x9')](_0x9cf9('0xa'),attributes,{'tableName':_0x9cf9('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};