Built motion from commit ddca4d0d.|2.5.47
[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 _0x5c0c=['exports','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','moment','bluebird','request-promise','rimraf','./whatsappQueue.attributes'];(function(_0x2e2f70,_0x154202){var _0x3ee0fc=function(_0x3da761){while(--_0x3da761){_0x2e2f70['push'](_0x2e2f70['shift']());}};_0x3ee0fc(++_0x154202);}(_0x5c0c,0x10b));var _0xc5c0=function(_0x4e3723,_0x4e2bc6){_0x4e3723=_0x4e3723-0x0;var _0x91e138=_0x5c0c[_0x4e3723];return _0x91e138;};'use strict';var _=require(_0xc5c0('0x0'));var util=require(_0xc5c0('0x1'));var logger=require(_0xc5c0('0x2'))('api');var moment=require(_0xc5c0('0x3'));var BPromise=require(_0xc5c0('0x4'));var rp=require(_0xc5c0('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc5c0('0x6'));var config=require('../../config/environment');var attributes=require(_0xc5c0('0x7'));module[_0xc5c0('0x8')]=function(_0x55333a,_0x490e01){return _0x55333a['define'](_0xc5c0('0x9'),attributes,{'tableName':_0xc5c0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};