649ac9b226c41a99ce72dd43ba2a6c777984da63
[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 _0x8d4b=['bluebird','request-promise','path','rimraf','../../config/environment','./whatsappQueue.attributes','WhatsappQueue','whatsapp_queues','lodash','util','api'];(function(_0x494507,_0x16e694){var _0x1a4b6b=function(_0x59d09b){while(--_0x59d09b){_0x494507['push'](_0x494507['shift']());}};_0x1a4b6b(++_0x16e694);}(_0x8d4b,0xef));var _0xb8d4=function(_0x113850,_0x40f486){_0x113850=_0x113850-0x0;var _0x4d1176=_0x8d4b[_0x113850];return _0x4d1176;};'use strict';var _=require(_0xb8d4('0x0'));var util=require(_0xb8d4('0x1'));var logger=require('../../config/logger')(_0xb8d4('0x2'));var moment=require('moment');var BPromise=require(_0xb8d4('0x3'));var rp=require(_0xb8d4('0x4'));var fs=require('fs');var path=require(_0xb8d4('0x5'));var rimraf=require(_0xb8d4('0x6'));var config=require(_0xb8d4('0x7'));var attributes=require(_0xb8d4('0x8'));module['exports']=function(_0x1a4d5b,_0xbc277c){return _0x1a4d5b['define'](_0xb8d4('0x9'),attributes,{'tableName':_0xb8d4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};