5f3b5f7eb3392337caf04b933a76ce0ce4580a1f
[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 _0xcd5f=['lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappQueue.attributes','whatsapp_queues'];(function(_0xc43e41,_0x2935d3){var _0xdffeb1=function(_0x26a974){while(--_0x26a974){_0xc43e41['push'](_0xc43e41['shift']());}};_0xdffeb1(++_0x2935d3);}(_0xcd5f,0x9a));var _0xfcd5=function(_0x3438cb,_0x861903){_0x3438cb=_0x3438cb-0x0;var _0xe28847=_0xcd5f[_0x3438cb];return _0xe28847;};'use strict';var _=require(_0xfcd5('0x0'));var util=require(_0xfcd5('0x1'));var logger=require('../../config/logger')(_0xfcd5('0x2'));var moment=require(_0xfcd5('0x3'));var BPromise=require(_0xfcd5('0x4'));var rp=require(_0xfcd5('0x5'));var fs=require('fs');var path=require(_0xfcd5('0x6'));var rimraf=require(_0xfcd5('0x7'));var config=require(_0xfcd5('0x8'));var attributes=require(_0xfcd5('0x9'));module['exports']=function(_0x111892,_0x24307d){return _0x111892['define']('WhatsappQueue',attributes,{'tableName':_0xfcd5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};