Built motion from commit 753c950e.|2.5.42
[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 _0xb719=['whatsapp_queues','lodash','../../config/logger','moment','request-promise','path','rimraf','./whatsappQueue.attributes','exports','define'];(function(_0x65b5e0,_0x1445ff){var _0x47d459=function(_0x4218eb){while(--_0x4218eb){_0x65b5e0['push'](_0x65b5e0['shift']());}};_0x47d459(++_0x1445ff);}(_0xb719,0x1af));var _0x9b71=function(_0x47aa64,_0xfb8a07){_0x47aa64=_0x47aa64-0x0;var _0x549c7a=_0xb719[_0x47aa64];return _0x549c7a;};'use strict';var _=require(_0x9b71('0x0'));var util=require('util');var logger=require(_0x9b71('0x1'))('api');var moment=require(_0x9b71('0x2'));var BPromise=require('bluebird');var rp=require(_0x9b71('0x3'));var fs=require('fs');var path=require(_0x9b71('0x4'));var rimraf=require(_0x9b71('0x5'));var config=require('../../config/environment');var attributes=require(_0x9b71('0x6'));module[_0x9b71('0x7')]=function(_0x327fb7,_0x54f9f4){return _0x327fb7[_0x9b71('0x8')]('WhatsappQueue',attributes,{'tableName':_0x9b71('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};