Built motion from commit 9d7072cc.|2.5.39
[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 _0x8ac3=['bluebird','request-promise','path','rimraf','./whatsappQueue.attributes','whatsapp_queues','lodash','util','../../config/logger','api','moment'];(function(_0x51a4d5,_0x39c3c1){var _0x51b948=function(_0x213380){while(--_0x213380){_0x51a4d5['push'](_0x51a4d5['shift']());}};_0x51b948(++_0x39c3c1);}(_0x8ac3,0xb6));var _0x38ac=function(_0x1ca5da,_0x5dc7b1){_0x1ca5da=_0x1ca5da-0x0;var _0x5936cd=_0x8ac3[_0x1ca5da];return _0x5936cd;};'use strict';var _=require(_0x38ac('0x0'));var util=require(_0x38ac('0x1'));var logger=require(_0x38ac('0x2'))(_0x38ac('0x3'));var moment=require(_0x38ac('0x4'));var BPromise=require(_0x38ac('0x5'));var rp=require(_0x38ac('0x6'));var fs=require('fs');var path=require(_0x38ac('0x7'));var rimraf=require(_0x38ac('0x8'));var config=require('../../config/environment');var attributes=require(_0x38ac('0x9'));module['exports']=function(_0x526c9b,_0x14848d){return _0x526c9b['define']('WhatsappQueue',attributes,{'tableName':_0x38ac('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};