Built motion from commit (unavailable).|2.5.4
[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 _0xa14a=['whatsapp_queues','util','../../config/logger','moment','request-promise','rimraf','../../config/environment','define','WhatsappQueue'];(function(_0xce4542,_0xd242f){var _0x3466fc=function(_0x3d24eb){while(--_0x3d24eb){_0xce4542['push'](_0xce4542['shift']());}};_0x3466fc(++_0xd242f);}(_0xa14a,0x121));var _0xaa14=function(_0x4d8ed9,_0x2ae284){_0x4d8ed9=_0x4d8ed9-0x0;var _0x1e2140=_0xa14a[_0x4d8ed9];return _0x1e2140;};'use strict';var _=require('lodash');var util=require(_0xaa14('0x0'));var logger=require(_0xaa14('0x1'))('api');var moment=require(_0xaa14('0x2'));var BPromise=require('bluebird');var rp=require(_0xaa14('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xaa14('0x4'));var config=require(_0xaa14('0x5'));var attributes=require('./whatsappQueue.attributes');module['exports']=function(_0x208930,_0x552c33){return _0x208930[_0xaa14('0x6')](_0xaa14('0x7'),attributes,{'tableName':_0xaa14('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};