4744041f5b6394125f2c79f619830249eeee4495
[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 _0x3310=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./whatsappQueue.attributes','WhatsappQueue','whatsapp_queues','lodash','../../config/logger'];(function(_0x35362c,_0xecf0de){var _0x28add3=function(_0x6ac4ef){while(--_0x6ac4ef){_0x35362c['push'](_0x35362c['shift']());}};_0x28add3(++_0xecf0de);}(_0x3310,0xe2));var _0x0331=function(_0x4f276e,_0x1001d0){_0x4f276e=_0x4f276e-0x0;var _0x2fa2a2=_0x3310[_0x4f276e];return _0x2fa2a2;};'use strict';var _=require(_0x0331('0x0'));var util=require('util');var logger=require(_0x0331('0x1'))(_0x0331('0x2'));var moment=require(_0x0331('0x3'));var BPromise=require(_0x0331('0x4'));var rp=require(_0x0331('0x5'));var fs=require('fs');var path=require(_0x0331('0x6'));var rimraf=require(_0x0331('0x7'));var config=require(_0x0331('0x8'));var attributes=require(_0x0331('0x9'));module['exports']=function(_0x56b931,_0x336fd2){return _0x56b931['define'](_0x0331('0xa'),attributes,{'tableName':_0x0331('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};