6e6e6d2ad2da2de77d0804f853c890c35387a4a0
[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 _0x69d7=['lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','exports','whatsapp_queues'];(function(_0x13bb4e,_0x3af623){var _0x2a8253=function(_0x115776){while(--_0x115776){_0x13bb4e['push'](_0x13bb4e['shift']());}};_0x2a8253(++_0x3af623);}(_0x69d7,0x129));var _0x769d=function(_0x39f4e1,_0x23fcdf){_0x39f4e1=_0x39f4e1-0x0;var _0x2f74d9=_0x69d7[_0x39f4e1];return _0x2f74d9;};'use strict';var _=require(_0x769d('0x0'));var util=require(_0x769d('0x1'));var logger=require(_0x769d('0x2'))(_0x769d('0x3'));var moment=require(_0x769d('0x4'));var BPromise=require(_0x769d('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x769d('0x6'));var rimraf=require(_0x769d('0x7'));var config=require(_0x769d('0x8'));var attributes=require('./whatsappQueue.attributes');module[_0x769d('0x9')]=function(_0x508e84,_0x4db880){return _0x508e84['define']('WhatsappQueue',attributes,{'tableName':_0x769d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};