Built motion from commit (unavailable).|2.5.19
[motion2.git] / server / api / userWhatsappQueue / userWhatsappQueue.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 _0x065e=['moment','bluebird','request-promise','../../config/environment','./userWhatsappQueue.attributes','define','user_has_whatsapp_queues','lodash'];(function(_0x17a327,_0xea7877){var _0x4aa92a=function(_0x1dad90){while(--_0x1dad90){_0x17a327['push'](_0x17a327['shift']());}};_0x4aa92a(++_0xea7877);}(_0x065e,0x1a7));var _0xe065=function(_0x3ab52f,_0x195d89){_0x3ab52f=_0x3ab52f-0x0;var _0x5ee3ca=_0x065e[_0x3ab52f];return _0x5ee3ca;};'use strict';var _=require(_0xe065('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xe065('0x1'));var BPromise=require(_0xe065('0x2'));var rp=require(_0xe065('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xe065('0x4'));var attributes=require(_0xe065('0x5'));module['exports']=function(_0x10b45f,_0x1e7e69){return _0x10b45f[_0xe065('0x6')]('UserWhatsappQueue',attributes,{'tableName':_0xe065('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};