Built motion from commit 10af8726.|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 _0x36a6=['../../config/environment','./whatsappQueue.attributes','exports','define','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','api','request-promise','rimraf'];(function(_0x41c49e,_0x4e9e2c){var _0x648a67=function(_0xfd5118){while(--_0xfd5118){_0x41c49e['push'](_0x41c49e['shift']());}};_0x648a67(++_0x4e9e2c);}(_0x36a6,0xba));var _0x636a=function(_0x4c2e17,_0x5aa5d9){_0x4c2e17=_0x4c2e17-0x0;var _0x26a6c3=_0x36a6[_0x4c2e17];return _0x26a6c3;};'use strict';var _=require(_0x636a('0x0'));var util=require(_0x636a('0x1'));var logger=require(_0x636a('0x2'))(_0x636a('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x636a('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x636a('0x5'));var config=require(_0x636a('0x6'));var attributes=require(_0x636a('0x7'));module[_0x636a('0x8')]=function(_0x4e7113,_0x5aa8dd){return _0x4e7113[_0x636a('0x9')](_0x636a('0xa'),attributes,{'tableName':_0x636a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};