Built motion from commit da24aabd.|2.6.20
[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 _0xe202=['request-promise','../../config/environment','./whatsappQueue.attributes','exports','whatsapp_queues','util','../../config/logger','api','moment','bluebird'];(function(_0x4b0491,_0x434f3f){var _0x2c2e37=function(_0x5f2bdd){while(--_0x5f2bdd){_0x4b0491['push'](_0x4b0491['shift']());}};_0x2c2e37(++_0x434f3f);}(_0xe202,0xeb));var _0x2e20=function(_0xedd460,_0x1c1a2f){_0xedd460=_0xedd460-0x0;var _0x3528d5=_0xe202[_0xedd460];return _0x3528d5;};'use strict';var _=require('lodash');var util=require(_0x2e20('0x0'));var logger=require(_0x2e20('0x1'))(_0x2e20('0x2'));var moment=require(_0x2e20('0x3'));var BPromise=require(_0x2e20('0x4'));var rp=require(_0x2e20('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x2e20('0x6'));var attributes=require(_0x2e20('0x7'));module[_0x2e20('0x8')]=function(_0x73560,_0x7122a1){return _0x73560['define']('WhatsappQueue',attributes,{'tableName':_0x2e20('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};