Built motion from commit 87cd5f02.|2.5.48
[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 _0x9bb2=['lodash','../../config/logger','api','moment','bluebird','path','../../config/environment','./userWhatsappQueue.attributes','UserWhatsappQueue'];(function(_0x59bb17,_0x2a1cc5){var _0x57fda3=function(_0x475844){while(--_0x475844){_0x59bb17['push'](_0x59bb17['shift']());}};_0x57fda3(++_0x2a1cc5);}(_0x9bb2,0x99));var _0x29bb=function(_0x1911bc,_0x10c83e){_0x1911bc=_0x1911bc-0x0;var _0x51ec6c=_0x9bb2[_0x1911bc];return _0x51ec6c;};'use strict';var _=require(_0x29bb('0x0'));var util=require('util');var logger=require(_0x29bb('0x1'))(_0x29bb('0x2'));var moment=require(_0x29bb('0x3'));var BPromise=require(_0x29bb('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x29bb('0x5'));var rimraf=require('rimraf');var config=require(_0x29bb('0x6'));var attributes=require(_0x29bb('0x7'));module['exports']=function(_0x2de169,_0x543ce3){return _0x2de169['define'](_0x29bb('0x8'),attributes,{'tableName':'user_has_whatsapp_queues','paranoid':![],'indexes':[],'timestamps':!![]});};