Built motion from commit 1fa89557.|2.6.10
[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 _0xa931=['UserWhatsappQueue','user_has_whatsapp_queues','lodash','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./userWhatsappQueue.attributes','define'];(function(_0x28313a,_0x353b0c){var _0xce6124=function(_0x323bc2){while(--_0x323bc2){_0x28313a['push'](_0x28313a['shift']());}};_0xce6124(++_0x353b0c);}(_0xa931,0xc2));var _0x1a93=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0xa931[_0x57b54c];return _0x59cc19;};'use strict';var _=require(_0x1a93('0x0'));var util=require('util');var logger=require(_0x1a93('0x1'))(_0x1a93('0x2'));var moment=require(_0x1a93('0x3'));var BPromise=require(_0x1a93('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1a93('0x5'));var rimraf=require(_0x1a93('0x6'));var config=require(_0x1a93('0x7'));var attributes=require(_0x1a93('0x8'));module['exports']=function(_0x6ac91a,_0x507ace){return _0x6ac91a[_0x1a93('0x9')](_0x1a93('0xa'),attributes,{'tableName':_0x1a93('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};