Built motion from commit (unavailable).|2.6.0
[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 _0x8f3b=['bluebird','path','rimraf','../../config/environment','./whatsappQueue.attributes','exports','define','WhatsappQueue','whatsapp_queues','lodash','util','../../config/logger','api','moment'];(function(_0x5d3683,_0x28340c){var _0x137b54=function(_0x5c4bb3){while(--_0x5c4bb3){_0x5d3683['push'](_0x5d3683['shift']());}};_0x137b54(++_0x28340c);}(_0x8f3b,0x1e5));var _0xb8f3=function(_0x3057dc,_0x3319b6){_0x3057dc=_0x3057dc-0x0;var _0x6c6c6=_0x8f3b[_0x3057dc];return _0x6c6c6;};'use strict';var _=require(_0xb8f3('0x0'));var util=require(_0xb8f3('0x1'));var logger=require(_0xb8f3('0x2'))(_0xb8f3('0x3'));var moment=require(_0xb8f3('0x4'));var BPromise=require(_0xb8f3('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb8f3('0x6'));var rimraf=require(_0xb8f3('0x7'));var config=require(_0xb8f3('0x8'));var attributes=require(_0xb8f3('0x9'));module[_0xb8f3('0xa')]=function(_0x5ba2e3,_0x3d356b){return _0x5ba2e3[_0xb8f3('0xb')](_0xb8f3('0xc'),attributes,{'tableName':_0xb8f3('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};