Built motion from commit (unavailable).|2.5.11
[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 _0xc706=['request-promise','../../config/environment','./whatsappQueue.attributes','exports','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x4f6afc,_0x4dfa88){var _0x256eeb=function(_0x216559){while(--_0x216559){_0x4f6afc['push'](_0x4f6afc['shift']());}};_0x256eeb(++_0x4dfa88);}(_0xc706,0x186));var _0x6c70=function(_0x546b26,_0x46e7e1){_0x546b26=_0x546b26-0x0;var _0x3c96ec=_0xc706[_0x546b26];return _0x3c96ec;};'use strict';var _=require(_0x6c70('0x0'));var util=require(_0x6c70('0x1'));var logger=require(_0x6c70('0x2'))(_0x6c70('0x3'));var moment=require(_0x6c70('0x4'));var BPromise=require(_0x6c70('0x5'));var rp=require(_0x6c70('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6c70('0x7'));var attributes=require(_0x6c70('0x8'));module[_0x6c70('0x9')]=function(_0x573346,_0xbc1f49){return _0x573346['define'](_0x6c70('0xa'),attributes,{'tableName':_0x6c70('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};